When supplying savon with:
hash = {
"Objects" => { //stuff here },
:attributes! => { "Objects" => {"xsi:type" => "Something"}}
}
I get:
...
When supplying savon with anything else i get the…
I am successfully using Ruby with Savon to communicate with a set of SOAP services, but it turns out that in order to send and receive attachments the service expects them to use DIME encapsulation. Has anyone managed this using Ruby? If not, what…
I am developing on Rails 3 and using Savon(savonrb.com)
I need to connect to Web Services via SOAP
Web Services require authentication
I can connect but can't get authonticated...
I used SOAP UI for testing & all works fine.
Here how my Rails code…
In Savon how to creating an array of tags based on number of elements in item_id? Any other way for this?
item_id = "abc, def, xyz"
n = item_id.split(,).length
#ItemList shall be of n times by creating ItemList for each
soap.body = {
…
I have a class that uses savon as a gem to speak with a SOAP API. And from times to times the server is unreachable so the methods that implement the soap methods throw a Timeout::Error. Its not a problem to implement a rescue like this:
begin
…
I've this code that uses Savon that I'm trying get to work.
require "savon"
require "time"
Gyoku.configure do |config|
config.convert_symbols_to(&:tap)
end
client =…
I'm using savon to communicate with a soap web service.
It all works well, and I now need to get the ruby code into production where we have to go through a proxy server.
This proxy server requires authentication.
So my question is, how can I go…
I have some working PHP example (see below) for accessing a secure webservice. I am trying to access the webservice with Savon. First, I tried:
>> client = Savon::Client.new("https://secure.service.com/soa/soap/?WSDL")
=> #
BACKGROUND: I am attempting to create a relatively simple Ruby script to create issues in a Jira instance. I am using the Savon gem (http://savonrb.com/) to create the SOAP service.
ISSUE: When attempting to create an an issue that includes a…
How do I format the XML that Savon outputs to the (OSX) terminal?
I currently get everything mangled up in a single line, which is hard to read.
I want something like this, formatted on multiple lines:
DEBUG -- :
I have a rails app which calls a SOAP service inside one of my controllers. The problem is that when the user submits the page and the app sends out the SOAP request, the user ends up having to wait for the SOAP response because the Savon gem is…
I try to send soap request. I use wsdl: http://soap.direct.yandex.ru/wsdl/v4/. But savon don't put attributes based on wsdl to request.
When I use php SoapClient, attributes inserted automatically into request
$client = new SoapClient($wsdlurl,
…
I have this (working) example in php:
$usernameToken = new SoapHeaderUsernameToken( $password, $username );
$soapHeaders[] = new SoapHeader("urn:localhost-catalog", 'UsernameToken', $usernameToken);
$client = new…
I'm using the Savon gem to interact with a WSDL. For some reason, Savon is using env as a namespace instead of soapenv.
How do I make Savon generate requests with the soapenv namespace, rather than the env namespace?