I am trying to do a soap request to the Mapping Service Map24.
They have a WSDL for their webservice:
I am attempting to do the Free Geocode operation: 'searchFree'. It
appears this takes a RequestHeader and a MapSearchFreeRequest. I use
the following code to create my request:
I am attempting to do the Free Geocode operation: 'searchFree'. It
appears this takes a RequestHeader and a MapSearchFreeRequest. I use
the following code to create my request:
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??
What version of soap4r are you using? As Andre wrote in soap4r-ml, it
should generate request elements with earlier soap4r versions.
% ruby -rsoap/soap -e 'p SOAP::Version'
I tried soap4r-1.5.5 which is bundled with ruby-1.8.X and found that it
fails to parse the WSDL you pointed. If you are using soap4r-1.5.5,
please update to soap4r-1.5.7 from http://dev.ctor.org/soap4r
Matt Su wrote:
When you use a Hash as a parameter, you need to start from a parameter
name.
It's wrong. It works but not needed. Sorry for confusing you. The
client program you posted at first should work with soap4r-1.5.7.