This is how I am creating a a client:
@client = Savon::Client.new do
wsdl.document = my_document
wsdl.endpoint = my_endpoint
end
and this is how I'm getting a response:
@response = @client.request :the_action do
soap.body = xml
soap.body = {"applicationId" => my_application_id }
end
However, this generates the following xml:
"<ins5:applicationId>XXXXXXXXXXXXXX</ins5:applicationId>"
My soap service errors out because of the prefix. If I do this instead, it works:
@response = @client.request :the_action do
soap.body = "<applicationId>#{my_application_id}</applicationId>"
end
However this is a pain for various reasons. Is there a way to stop savon from attaching the prefix?
Using savon 0.9.6.