From: Roland Schmitt Date: 2004-11-12T23:09:08+09:00 Subject: Re: Using .NET web service with soap4r Hi, David Ross wrote: > I've never used soap4r with ASP.NET services, but I believe there might I would be lucky, if i could say the same... > be a missing encoding setting for ASPDotNet. > > try.. > > require "soap/rpc/driver" > > include SOAP::RPC > > class Test > def initialize() > driver = > SOAP::RPC::Driver.new('http://localhost:8070/PingService/PingService.asmx','http://localhost/PingService/') > > driver.default_encodingstyle = > SOAP::EncodingStyle::ASPDotNetHandler::Namespace I have tried this, but the result was the same. Also the generated xml was the same... > driver.allow_unqualified_element=true > > driver.add_method_with_soapaction('SayHello','http://localhost/PingService/SayHello','name') > > puts("Ergebnis: ", driver.SayHello("Roland")) > end end > Test.new Thank you, Roland