You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2003/03/12 09:31:38 UTC
DO NOT REPLY [Bug 17909] New: -
org.apache.axis.client.call.addParameter - Problem with INOUT Parameter
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17909>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17909
org.apache.axis.client.call.addParameter - Problem with INOUT Parameter
Summary: org.apache.axis.client.call.addParameter - Problem with
INOUT Parameter
Product: Axis
Version: 1.1rc2
Platform: All
OS/Version: All
Status: NEW
Severity: Major
Priority: Other
Component: Basic Architecture
AssignedTo: axis-dev@ws.apache.org
ReportedBy: thomas.rothfuss@homag.de
org.apache.axis.client.call.java code snippet:
01 ParameterDesc param = new
ParameterDesc();
02 param.setQName( paramName );
03 param.setTypeQName( xmlType );
04
param.setJavaType( javaType );
05 byte mode = ParameterDesc.IN;
06 if (parameterMode ==
ParameterMode.INOUT) {
07 mode = ParameterDesc.INOUT;
08 } else if (parameterMode ==
ParameterMode.OUT) {
09 mode = ParameterDesc.OUT;
10 }
11
param.setMode(mode);
line 04: within setJavaType the mode is checked but the mode is set in
line 11
this causes the exception IllegalArgumentException