C
Christopher Dancy
I'm a noob when it comes to soap so forgive me if the solution is
completely obvious: I'm trying to implement a basic soap call like so
namespace = 'country.asmx?WSDL'
url = 'http://www.webservicex.net/'
begin
driver = SOAP::RPC:river.new(url,namespace)
driver.add_method('GetCurrencies')
puts driver.GetCurrencies
rescue => err
puts err.message
end
but whenever I run it I get: " 405:method not allowed " the wsdl is as
follows:
<wsdlperation name="GetCurrencies">
<soapperation
soapAction="http://www.webserviceX.NET/GetCurrencies" style="document"
/>
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdlutput>
<soap:body use="literal" />
</wsdlutput>
</wsdlperation>
Someone let me know what I'm doing wrong. Please understand I've not
done anything soap related before.
completely obvious: I'm trying to implement a basic soap call like so
namespace = 'country.asmx?WSDL'
url = 'http://www.webservicex.net/'
begin
driver = SOAP::RPC:river.new(url,namespace)
driver.add_method('GetCurrencies')
puts driver.GetCurrencies
rescue => err
puts err.message
end
but whenever I run it I get: " 405:method not allowed " the wsdl is as
follows:
<wsdlperation name="GetCurrencies">
<soapperation
soapAction="http://www.webserviceX.NET/GetCurrencies" style="document"
/>
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdlutput>
<soap:body use="literal" />
</wsdlutput>
</wsdlperation>
Someone let me know what I'm doing wrong. Please understand I've not
done anything soap related before.