Has anyone done this / have some example code?
3 Answers
#use .wsdl file to initialize an RPC driver
driver = SOAP::WSDLDriverFactory.new('dotnetwebservice.wsdl').create_rpc_driver
#useful debugging call
driver.wiredump_dev = STDERR
#Set the enconding style to ASP.NET
driver.default_encodingstyle = SOAP::EncodingStyle::ASPDotNetHandler::Namespace
#call method defined in .wsdl
result = driver.serviceMethod()
For more info: http://dev.ctor.org/soap4r
Comments
Good starting point in this thread Ruby SOAP client communication with Microsoft .NET webservice