From: Emil Marceta Date: 2006-03-23T14:48:59+09:00 Subject: Re: help with a simple SOAP WSDL client? unknown wrote: > anyone? Here is the example. The service is doc literal and for those services pass the arguments as a hash. ------------------------------ require 'soap/wsdlDriver' WSDL_URL = "http://www.webservicex.net/CurrencyConvertor.asmx?WSDL" soap = SOAP::WSDLDriverFactory.new(WSDL_URL).create_rpc_driver # soap.wiredump_dev = STDOUT result = soap.ConversionRate(:FromCurrency => "USD", :ToCurrency => "CAD") puts result.conversionRateResult -------------------------------- The messages : ignored element: {http://schemas.xmlsoap.org/wsdl/http/}binding ignored element: {http://schemas.xmlsoap.org/wsdl/http/}operation ignored element: {http://schemas.xmlsoap.org/wsdl/http/}urlEncoded ignored element: {http://schemas.xmlsoap.org/wsdl/mime/}mimeXml ignored element: {http://schemas.xmlsoap.org/wsdl/mime/}content ignored element: {http://schemas.xmlsoap.org/wsdl/http/}address are for unsupported bindings in soap4r. .NET services often include bindings for as urlEncoded, http GET and http POST in addition to SOAP. cheers, emil -- Posted via http://www.ruby-forum.com/.