From: tsumeruby@... Date: 2005-12-11T07:30:16+09:00 Subject: Re: Ruby SOAP client communication with Microsoft .NET webservice On Sunday 11 December 2005 03:32 am, Kishore wrote: When using SOAP4R with .NET web services, you must use the ASPDotNetHander. @my_client.default_encodingstyle = SOAP::EncodingStyle::ASPDotNetHandler::Namespace Tsume > Hi Kero: > > Thanks a lot. That worked out. Would you know how to pass an array of > strings as argument? I am trying to the following: > > Request = Struct.new(:request_id, :names, :values) > result = soap_client.stopGenerate(Request.new("1", ["POWER", "FREQ"], > ["-15", "5.18GHz"])) > puts result.inspect > > This should generate the following SOAP request: > > > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> > > > string > > string > string > > > string > string > > > > > > However, it creates the following: > > > xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > > > 1 > > > > > > > > > > > Thanks, > Kishore