From: Matt Su Date: 2007-08-01T00:21:06+09:00 Subject: Re: Problem creating SOAP Request > When you use a Hash as a parameter, you need to start from a parameter > name. > > result = driver.searchFree( > {:RequestHeader => {:Map24ID => "1"}}, > {:MapSearchFreeRequest => {:SearchText => "London, UK"}} > ) > > Generating stub files with wsdl2ruby.rb should be easier to use for this > kind of service which has complex request. Thanks for your response I really appreciate it. I tried your modification, however I still see the following SOAP Request being generated: Why are the RequestHeader and MapSearchFreeRequest xsi:nil attributes true: should they not be filled with whatever I pass in the call driver.searchFree? I have used the SOAP and Driver Generator before for a simpler request for a different service and it worked perfectly. Does the WSDLDriverFactory and the create_rpc_driver method not always work for complex WSDLs?? Thanks again in advance :) -- Posted via http://www.ruby-forum.com/.