axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tevoi Andrea" <>
Subject RPC/Literal Web Service in Axis
Date Tue, 14 Jan 2003 15:29:34 GMT

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:


<soap:binding xmlns:soap="" style="rpc" 	transport=""/>
	<operation name="Method01">
		<soap:operation xmlns:soap=""/>
		<input name="ServiceInput">
			<soap:body xmlns:soap="" use="literal"/>
		<output name="ServiceOutput">
			<soap:body xmlns:soap="" use="literal"/>

Soap Message:

<soapenv:Envelope xmlns:soapenv="" xmlns:xsd=""
  <DOCUMENT xmlns="">
     <IN xsi:type="ns1:IN01" xmlns:ns1="">
      <SELA xmlns="">E</SELA>
      <COPRDA xmlns="">a</COPRDA>
      <COPRA xmlns="">z</COPRA>

DOCUMENT tag is duplicated... I suppose that I find <Method01> instead. Is this an Axis

Andrea Tevoi

View raw message