axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Gainty <>
Subject RE: RPC in DOCUMENT Out
Date Thu, 14 Aug 2008 23:03:33 GMT

try ..

call the RPC service 
<service name="Version">
        This service is to get the running Axis version
    <parameter name="ServiceClass">sample.axisversion.Version</parameter>
    <operation name="getVersion">
    <messageReceiver  class="org.apache.axis2.rpc.receivers.RPCMessageReceiver" />

..write to DB...
then redirect to DocumentOut

<service name="DocumentOut">
            <messageReceiver mep="" class="org.example.www.wsdltest.DocumentUnwrappingTestServiceMessageReceiverInOnly"/>
            <messageReceiver mep="" class="org.example.www.wsdltest.DocumentUnwrappingTestServiceMessageReceiverInOut"/>
            <messageReceiver mep="" class="org.example.www.wsdltest.DocumentUnwrappingTestServiceMessageReceiverRobustInOnly"/>
other ideas?
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business of Sender.
This transmission is of a confidential nature and Sender does not endorse distribution to
any party other than intended recipient. Sender does not necessarily endorse content contained
within this transmission. 

Subject: RPC in DOCUMENT Out
Date: Thu, 14 Aug 2008 15:38:37 -0400

Axis 2 question


Is there an off the shelf solution for a web service client
to bind and invoke a RPC style method with a DOCUMENT style return?


XMLDocument myDoc = a.getData( “test” ); //
pseudo client code


Standard message receiver, services.xml WSDL, stuff.


Thanks for reading and considering





Get Windows Live and get whatever you need, wherever you are.  Start here.
View raw message