Hi,

I wrote the following little test Web Service using document style SOAP. 
I generated the wsdl file and the sources with java2wsdl and wsdl2java.
The SOAP request looked like this:

<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>
  <in0 xmlns="http://test";>
   <x xmlns="">2</x>
   <y xmlns="">0</y>
  </in0>
 </soapenv:Body>
</soapenv:Envelope>

Are the namespaces within the body correct? Or does it have to be:

<in0 xmlns="http://test";>
   <x>2</x>
   <y>0</y>
</in0>

thanks,
Daniel



Reply via email to