Est-ce que quelqu'un a fait cela/a un exemple de code?Appel de services Web MS .Net avec Ruby
2
A
Répondre
4
#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()
Pour plus d'informations: http://dev.ctor.org/soap4r
0
Apparemment Ruby a intégré wsdl driver.
0
Bon point de départ dans ce fil Ruby communication SOAP client avec webservice Microsoft .NET