axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wei Jiang <_weijia...@yahoo.com>
Subject Axis2 client: how to get parameters before call operation
Date Tue, 09 May 2006 21:28:18 GMT
Hi,

I have a WSDL. I would like to get parameter information of it then invoke an
operation.
How to do it?

All the client example programs (under userguide) do like:

            OMElement payload = ClientUtil.getEchoOMElement();
            Options options = new Options();
            options.setTo(targetEPR);

            //Blocking invocation
            ServiceClient sender = new ServiceClient();
            sender.setOptions(options);
            OMElement result = sender.sendReceive(payload);

The information of WSDL is passed to ServiceClient when it is invoked.
Is there a way to init ServerClient then get parameters before invoke?
Is there any examples?

Any information would be appreciated. Thanks in advance.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Mime
View raw message