axis-java-user mailing list archives

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

try ..

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

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

<service name="DocumentOut">
        <messageReceivers>
            <messageReceiver mep="http://www.w3.org/ns/wsdl/in-only" class="org.example.www.wsdltest.DocumentUnwrappingTestServiceMessageReceiverInOnly"/>
            <messageReceiver mep="http://www.w3.org/ns/wsdl/in-out" class="org.example.www.wsdltest.DocumentUnwrappingTestServiceMessageReceiverInOut"/>
            <messageReceiver mep="http://www.w3.org/ns/wsdl/robust-in-only" class="org.example.www.wsdltest.DocumentUnwrappingTestServiceMessageReceiverRobustInOnly"/>
    
other ideas?
Martin 
______________________________________________ 
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
From: kkavanaugh@teletrol.com
To: axis-user@ws.apache.org
















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

 

Kurt

 

-







_________________________________________________________________
Get Windows Live and get whatever you need, wherever you are.  Start here.
http://www.windowslive.com/default.html?ocid=TXT_TAGLM_WL_Home_082008
Mime
View raw message