Closed coding-bunny closed 6 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue is now closed due to inactivity. If you believe this needs further action, please re-open to discuss.
Okay,
I'll be careful with this issue, as I do not know yet if this is a problem with Savon generating wrong XML for my Soap request or the remote API acting weird.
Description
Let me describe the issue first. I need to make 3 requests to a remote SOAP api.
The first two calls are being generated properly, and I'm getting the information back from the API without issue. The last call however fails.
Details
The WSDL for the SOAP API can be found here: https://orbis.bvdinfo.com/orbisneo/scripts/webservices/remoteaccess.asmx?WSDL
The method I'm trying to call is GetData
The error the Savon client receives is: Savon::SOAPFault: (soap:Receiver) Server was unable to process request. ---> selectionToken must be provided
Browser Request
When using my chrome plugin, the following request is being generated:
However, when I try to call the same logic with Savon, it generates the following request instead:
So the difference for me is the namespace. I've tried playing around with the settings hash when creating my client, but I cannot get the generated response to actually look like what I am using in my browser.
Would it be possible to do this? Or am I looking in the wrong direction to get this problem resolved?
Source Code