Hi,

i use 'invoke' method to call WS(1 parameter input) created in axis2.
this.result = (String)call.invoke( new Object[] { msg } ); 

how to call WS taking 2 parameters using the same method, 

thanks



code client
---------------------------------------------------------------------------
Service service = new Service();
Call call = (Call) service.createCall();
call.setTargetEndpointAddress( new java.net.URL(uri) );
call.addParameter(new QName("http://www.intalio.com/";, "start"), new
QName("http://www.w3.org/2001/XMLSchema";, "string"), String.class,
ParameterMode.IN);
call.setOperationName(method);
call.setOperationStyle(org.apache.axis.constants.Style.DOCUMENT);
call.setOperationUse(org.apache.axis.constants.Use.LITERAL);
call.setReturnType(org.apache.axis.Constants.XSD_STRING);
this.result = (String)call.invoke( new Object[] { msg } ); 

-- 
View this message in context: 
http://www.nabble.com/call-Axis2--Ws-taking-multiple-parameters-tf4055873.html#a11520978
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to