Hi, I use WSDL2Java to generate stub client classes to invoke a Web Service that use style RPC with encoding LITERAL. I suppose that serializers create a soap message that contains a tag which name is the method invoked after soap body tag. Instead soap message contains a DUPLICATED tag that is the parameter passed to the Web Service:
WSDL: ... <soap:binding xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> <operation name="Method01"> <soap:operation xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/> <input name="ServiceInput"> <soap:body xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" use="literal"/> </input> <output name="ServiceOutput"> <soap:body xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" use="literal"/> </output> </operation> ... Soap Message: <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> <DOCUMENT xmlns="http://www.cadit.it/xas/city/servizi"> <DOCUMENT> <DATA> <IN xsi:type="ns1:IN01" xmlns:ns1="http://www.cadit.it/city/servizi/ZZ/ZZGWOPR"> <SELA xmlns="">E</SELA> <COPRDA xmlns="">a</COPRDA> <COPRA xmlns="">z</COPRA> </IN> </DATA> ... DOCUMENT tag is duplicated... I suppose that I find <Method01> instead. Is this an Axis bug? Andrea Tevoi