Hi,
how can i call web service taking complexetype using call.invoke(..)
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
try
{
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( obj );
System.out.println("Got result : " + this.result);
}
catch(Exception Ex)
{
System.out.println(Ex.toString());
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
thanks
--
View this message in context:
http://www.nabble.com/call-WS-taking-complexeType-tf4066579.html#a11555203
Sent from the Axis - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]