Hi all,
I am using Axis 1.1 final as a client to call a web service implemented in Blue Martini. I have what appears to be a configuration problem. When I use the stub generated by wsdl2java to call the web service I get a fault from the web service. My request from TCPMon looks like:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<getAddressForAddressId>
<addressId xsi:type="xsd:long">21</addressId>
</getAddressForAddressId>
</soapenv:Body>
</soapenv:Envelope>
(This request works fine when I use the client against a test Axis web service.)
If I tweak the envelope slightly as below:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<m:getAddressForAddressId xmlns:m="urn:soap.amsoe.c.com">
<addressId xsi:type="xsd:long">21</addressId>
</m:getAddressForAddressId>
</soapenv:Body>
</soapenv:Envelope>
And send it with a post everything works as it should. (There is now a namespace on the message name.)
SO, my qestion is how do I get the generated stub to produce the second envelope?
I've searched all the documentation I can find but don't really know what to look for, sorry. Thanks for any help.
Cheers,
Matthew Denson