You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Saehoon Cheon <sa...@gmail.com> on 2006/06/07 00:06:47 UTC
"InvokeOneway" method
I want to pass the parameter to the services, but as far as I know all the
"invoke" method has a return value. So I used "invokeOneway" method.
call.addParameter( "op1", XMLType.XSD_INT, ParameterMode.IN );
call.addParameter( "op2", XMLType.XSD_INT, ParameterMode.IN );
call.invokeOneWay(new Object[] {i1, i2});
In this case, I didn't set the return type. So it caused the errors. The
error message is like this.
"No returnType was specified to the Call object! You must call
setReturnType() if you have called addParameter()"
But actually, I don't need a return value, but pass the parameter.
How can I just pass the parameter?
--
Saehoon Cheon
The University of Arizona
Dept.Electrical and Computer Engineering