WSDL2Java can only run from ... a WSDL !
A "sample" XML message doesn't describe a web service.
WSDL is a service description language (itself beeing an XML document).

If your are web-service client, you have to ask your service for it's WSDL.
Some web service serveurs (as axis) follow the unofficial rule to generate WSDL for request : http://server/services/myService?wsdl,
perhaps it may give you the expected WSDL.

Nico.

Andy Foster a écrit :

Hi all,

If you have the XML representation of your axis response message already how
can you use the WSDL2Java generated classes to deserialise your XML(which is
currently a String) into those generated java classes.

The XML is only the body XML not the full soap message.

Regards

Andy Foster

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.

Reply via email to