axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Detelin Yordanov" <>
Subject Re: RPC encoded wsdl example in axis2
Date Thu, 21 Aug 2008 15:16:46 GMT
Hi Shovan,
  I think that Axis2 does not support rpc-encoded. It supports rpc-literal
WSDLs, but converts them to doc-lit wrapped on deploy.
However, we have found out that it is possible to deploy a service with
rpc-encoded WSDL on Axis2 1.4.
But you will need to write your own message receiver to do the
serialization/deserialization of SOAP-enc types.
You can create an aar containing the service and the rpc-encoded WSDL, and
instruct Axis2 to return your WSDL when clients ask for it (using the
"useOriginalwsdl" parameter in the services.xml).

However, the tricky part is writing the message receiver which should be
able to handle SOAP-encoding types and convert them to Java types (and vice


On Thu, Aug 21, 2008 at 5:49 PM, Shovan Kanjilal

> Can anybody point me to an example of rpc encoded sample wsdl and how stub
> is generated
> from that and an example client written?
> I see all the examples are document type?
> Does axis2 not support rpc-encoded?

View raw message