axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 17909] New: - org.apache.axis.client.call.addParameter - Problem with INOUT Parameter
Date Wed, 12 Mar 2003 08:31:38 GMT
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

Mime
View raw message