So I have this complicated XML and want it to parse it to array and send by Savon to the server. The question is how can I parse parameters?
sdhuf78dd67-8932
…
I am learning the Web Service API, so I'm using Savon for SOAP on my rails app. I cant seem to do a simple operation as getting a list of languages from the provider. What am I doing wrong?
Here is a link to SOAP request GetLanguages
Below is my…
I'm trying to integrate with BankId (it's a common authentication and signing service in Sweden). I'm using Savon Ruby SOAP client and trying to make requests to the BankId's testing API following their guidelines. When making a call to an…
I'm looking at the testing docs for Savon here and i don't understand what's going on. I'm fairly new to testing with mocks and stubbing and maybe that's the issue. Here is the example:
require "spec_helper"
# require the helper module
require…
Currently I'm using Savon to work with WebService in ruby.
It works pretty well but I have difficulty to pass parameter for
argument of SOAP array type. Following code doesn't work properly:
ids = [0,1,2]
client.do_get_items { |soap| soap.body = {
…
I am trying to consume a SOAP service using the Savon gem but having difficulty. I have accessed the SOAP service using soapUI and it works fine.
My code:
require 'rubygems'
require 'savon'
# Client instance with a WSDL endpoint
client =…
I can see in the Savon log that my SOAP faults contain XML like this:
666some evil error
Does anyone know how to parse the error code and description out of the response? Sorry if this is…
I would like to get the service, operations and per operation the request and the response messages from a wsdl file. This without making an actual call to a webservice.
I managed to get the service, operations and the request messages but the…
Im using savon 2.0 and the soap action url in the wsdl file is wrong.
can i manually override the url for this action.
client = Savon.client do
wsdl "http://something.com/someservice/aname.asmx?wsdl"
convert_request_keys_to :camelcase
…
I have been trying to know how to build a SOAP XML request having different tags with different namespaces through Savon - as that shown below - but haven't been able to do it yet. Could anybody please help me? The request written below was…
I am using Savon 2.6 to implement a client for a SOAP service.
I have to save raw requests and raw responses in the database.
To get raw XML response isn't a problem, but how can I get a raw XML request?
I use Savon in the following way:
client =…
I'm consuming a web-service and using Savon to do +-1000 (paid) requests and parse the requests to a csv file.
I save the xml.hash response in a file if the parsing failed.
How can I initialize an hash that was saved to a file? (or should I save in…
Basically im trying to call a method to authenticate a player using Savon. And im getting the following error:
Procedure or function 'CORE_INCOMING_ValidateSource' expects parameter '@SourceId', which was not supplied.
Yes it IS in the methods…