axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From susan...@apache.org
Subject cvs commit: ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal BeanParamWriter.java
Date Wed, 18 Feb 2004 09:24:48 GMT
susantha    2004/02/18 01:24:48

  Modified:    c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp
                        BeanParamWriter.java
               c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal
                        BeanParamWriter.java
  Log:
  Applying few patches submitted by Jean-Yves
  
  Revision  Changes    Path
  1.16      +2 -2      ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/BeanParamWriter.java
  
  Index: BeanParamWriter.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/BeanParamWriter.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- BeanParamWriter.java	13 Feb 2004 07:00:29 -0000	1.15
  +++ BeanParamWriter.java	18 Feb 2004 09:24:48 -0000	1.16
  @@ -155,10 +155,10 @@
   				if (attribs[i].isAttribute()){
   					if (attribs[i].isOptional()){
   						writer.write("\tif (0 != param->"+attribs[i].getParamName()+")\n");
  -						writer.write("\t\tpSZ->SerializeAsAttribute(\""+attribs[i].getParamName()+"\",
(void*)(param->"+attribs[i].getParamName()+"), "+ CUtils.getXSDTypeForBasicType(attribs[i].getTypeName())+");\n");
  +						writer.write("\t\tpSZ->SerializeAsAttribute(\""+attribs[i].getParamName()+"\",
0, (void*)(param->"+attribs[i].getParamName()+"), "+ CUtils.getXSDTypeForBasicType(attribs[i].getTypeName())+");\n");
   					}
   					else{
  -						writer.write("\tpSZ->SerializeAsAttribute(\""+attribs[i].getParamName()+"\", (void*)&(param->"+attribs[i].getParamName()+"),
"+ CUtils.getXSDTypeForBasicType(attribs[i].getTypeName())+");\n");				
  +						writer.write("\tpSZ->SerializeAsAttribute(\""+attribs[i].getParamName()+"\", 0,
(void*)&(param->"+attribs[i].getParamName()+"), "+ CUtils.getXSDTypeForBasicType(attribs[i].getTypeName())+");\n");
			
   					}
   				}
   				else
  
  
  
  1.8       +2 -2      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.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- BeanParamWriter.java	13 Feb 2004 07:00:30 -0000	1.7
  +++ BeanParamWriter.java	18 Feb 2004 09:24:48 -0000	1.8
  @@ -134,10 +134,10 @@
   			else{
   				if (attribs[i].isOptional()){
   					writer.write("\tif (0 != param->"+attribs[i].getParamName()+")\n");
  -					writer.write("\t\tpSZ->SerializeAsAttribute(\""+attribs[i].getElementName().getLocalPart()+"\",
(void*)(param->"+attribs[i].getParamName()+"), "+ CUtils.getXSDTypeForBasicType(attribs[i].getTypeName())+");\n");
  +					writer.write("\t\tpSZ->SerializeAsAttribute(\""+attribs[i].getElementName().getLocalPart()+"\",
0, (void*)(param->"+attribs[i].getParamName()+"), "+ CUtils.getXSDTypeForBasicType(attribs[i].getTypeName())+");\n");
   				}
   				else{
  -					writer.write("\tpSZ->SerializeAsAttribute(\""+attribs[i].getElementName().getLocalPart()+"\",
(void*)&(param->"+attribs[i].getParamName()+"), "+ CUtils.getXSDTypeForBasicType(attribs[i].getTypeName())+");\n");
			
  +					writer.write("\tpSZ->SerializeAsAttribute(\""+attribs[i].getElementName().getLocalPart()+"\",
0, (void*)&(param->"+attribs[i].getParamName()+"), "+ CUtils.getXSDTypeForBasicType(attribs[i].getTypeName())+");\n");
			
   				}
   			}
   		}
  
  
  

Mime
View raw message