My guess is that the WSDL doesn't accurately reflect what's expected.
Please post it. You can edit the WSDL so that WSDL2Java generates the
right proxy.

Anne

On 8/17/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote:

Hello,
I'm writing a client for a web service. The WSDL2java generated code
works fine using a service simulator based on Axis, but I get errors
running the target system (webmethod).

The SOAP sent is :
<?xml version="1.0" encoding="UTF-8"?>
<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>
    <*subscribeOptionalService
*xmlns="http://localhost:5555/soap/linkback/";>
      <transaction_id xmlns="">1234</transaction_id>
      ...
    </subscribeOptionalService>
  </soapenv:Body>
</soapenv:Envelope>

The target server support team says it expect the root element in the
body to be the method name. subscribeOptionalService is the name of the
method parameter (input document). The SOAPAction is present so the
server may find the target service, but I can't make any change to the
target server,
So, is there any way to force Axis to use the operation name as root
element for the document ?

Nico.


This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to