axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas De Loof <>
Subject Name of the root element for a Document style service
Date Thu, 17 Aug 2006 13:10:16 GMT

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=""
      <transaction_id xmlns="">1234</transaction_id>

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 ?


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:
For additional commands, e-mail:

View raw message