axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prest...@apache.org
Subject cvs commit: ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal BeanParamWriter.java ParmHeaderFileWriter.java
Date Thu, 16 Jun 2005 16:26:06 GMT
prestonf    2005/06/16 09:26:06

  Modified:    c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal
                        BeanParamWriter.java ParmHeaderFileWriter.java
  Log:
  This cures AXISCPP-697
  
  Revision  Changes    Path
  1.76      +1 -5      ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/BeanParamWriter.java
  
  Index: BeanParamWriter.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/BeanParamWriter.java,v
  retrieving revision 1.75
  retrieving revision 1.76
  diff -u -r1.75 -r1.76
  --- BeanParamWriter.java	15 Jun 2005 14:08:54 -0000	1.75
  +++ BeanParamWriter.java	16 Jun 2005 16:26:05 -0000	1.76
  @@ -1296,11 +1296,7 @@
           ElementInfo ei = type.getElementForElementName(attribs[index].getParamName());
           boolean bNillable = false;
   
  -        if (ei != null
  -                && !("xsd__string".equalsIgnoreCase(attribs[index].getTypeName()))
  -                || "xsd__anyURI".equalsIgnoreCase(attribs[index].getTypeName())
  -                || "xsd__QName".equalsIgnoreCase(attribs[index].getTypeName())
  -                || "xsd__notation".equalsIgnoreCase(attribs[index].getTypeName()))
  +        if (ei != null && attribs[index].isSimpleType() && !CUtils.isPointerType(attribs[index].getTypeName()))
           {
               bNillable = ei.getNillable() & ei.getType().isSimpleType();
           }
  
  
  
  1.38      +1 -7      ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/ParmHeaderFileWriter.java
  
  Index: ParmHeaderFileWriter.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/ParmHeaderFileWriter.java,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- ParmHeaderFileWriter.java	15 Jun 2005 14:08:54 -0000	1.37
  +++ ParmHeaderFileWriter.java	16 Jun 2005 16:26:06 -0000	1.38
  @@ -477,13 +477,7 @@
                   .getParamName());
           boolean bNillable = false;
   
  -        if (ei != null
  -                && !("xsd__string".equalsIgnoreCase(attribs[index]
  -                        .getTypeName()))
  -                || "xsd__anyURI".equalsIgnoreCase(attribs[index].getTypeName())
  -                || "xsd__QName".equalsIgnoreCase(attribs[index].getTypeName())
  -                || "xsd__notation".equalsIgnoreCase(attribs[index]
  -                        .getTypeName()))
  +        if (ei != null && attribs[index].isSimpleType() && !CUtils.isPointerType(attribs[index].getTypeName()))
           {
               bNillable = ei.getNillable() & ei.getType().isSimpleType();
           }
  
  
  

Mime
View raw message