On Jul 31, 12:56 pm, Matt Su <matthewjsumm... / googlemail.com> wrote: > Hi there, > > I am trying to do a soap request to the Mapping Service Map24. > > They have a WSDL for their webservice: > > http://maptp11.map24.com/map24/webservices1.5?soap=Map24Geocoder51 > > 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: > > factory = > SOAP::WSDLDriverFactory.new("http://maptp11.map24.com/map24/webservices1.5?soap=Map24Geocoder51") > driver = factory.create_rpc_driver > result = driver.searchFree( {:Map24ID => "1"}, {:SearchText => > "London, UK"} ) > > However, this only ever generates the following SOAP Request: > > <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > <env:Body> > <n1:searchFree xmlns:n1="urn:Map24Geocoder51" > env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> > <RequestHeader xsi:nil="true"></RequestHeader> > <MapSearchFreeRequest xsi:nil="true"></MapSearchFreeRequest> > </n1:searchFree> > </env:Body> > </env:Envelope> > > The RequestHeader and MapSearchFreeRequest parts are ALWAYS empty..? > > Can anyone help? > > Thanks in advance :) > -- > Posted viahttp://www.ruby-forum.com/. You should post your question on http://groups.google.com/group/soap4r