axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: ws-axis/java/src/org/apache/axis/client Call.java
Date Thu, 27 Jan 2005 03:19:04 GMT
dims        2005/01/26 19:19:04

  Modified:    java/src/org/apache/axis/client Call.java
  Log:
  Fix for AXIS-1785 - DII doesn't allow you to register IN/OUT parameters
  from daryoush mehrtash (dmehrtas@bea.com)
  
  URL: http://issues.apache.org/jira/browse/AXIS-1785
  
  Revision  Changes    Path
  1.237     +3 -13     ws-axis/java/src/org/apache/axis/client/Call.java
  
  Index: Call.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/client/Call.java,v
  retrieving revision 1.236
  retrieving revision 1.237
  diff -u -r1.236 -r1.237
  --- Call.java	21 Jan 2005 16:52:40 -0000	1.236
  +++ Call.java	27 Jan 2005 03:19:04 -0000	1.237
  @@ -947,16 +947,7 @@
           if (operation == null)
               operation = new OperationDesc();
   
  -        // In order to allow any Call to be re-used, Axis
  -        // chooses to allow parameters to be added when
  -        // parmAndRetReq==false.  This does not conflict with
  -        // JSR 101 which indicates an exception MAY be thrown.
  -
  -        //if (parmAndRetReq) {
           ParameterDesc param = new ParameterDesc();
  -        param.setQName(new QName(paramName.getNamespaceURI(),Utils.getLastLocalPart(paramName.getLocalPart())));
  -        param.setTypeQName( xmlType );
  -        param.setJavaType( javaType );
           byte mode = ParameterDesc.IN;
           if (parameterMode == ParameterMode.INOUT) {
               mode = ParameterDesc.INOUT;
  @@ -964,13 +955,12 @@
               mode = ParameterDesc.OUT;
           }
           param.setMode(mode);
  +        param.setQName(new QName(paramName.getNamespaceURI(),Utils.getLastLocalPart(paramName.getLocalPart())));
  +        param.setTypeQName( xmlType );
  +        param.setJavaType( javaType );
   
           operation.addParameter(param);
           parmAndRetReq = true;
  -        //}
  -        //else {
  -        //throw new JAXRPCException(Messages.getMessage("noParmAndRetReq"));
  -        //}
       }
   
       /**
  
  
  

Mime
View raw message