axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nadira...@apache.org
Subject svn commit: r493975 - /webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/BeanParamWriter.java
Date Mon, 08 Jan 2007 07:57:01 GMT
Author: nadiramra
Date: Sun Jan  7 23:56:54 2007
New Revision: 493975

URL: http://svn.apache.org/viewvc?view=rev&rev=493975
Log:
AXISCPP-716 Support for the attribute construct 'use'

Modified:
    webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/BeanParamWriter.java

Modified: webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/BeanParamWriter.java
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/BeanParamWriter.java?view=diff&rev=493975&r1=493974&r2=493975
==============================================================================
--- webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/BeanParamWriter.java
(original)
+++ webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/BeanParamWriter.java
Sun Jan  7 23:56:54 2007
@@ -160,7 +160,7 @@
                 if (attribs[i].isOptional())
                     writer.write("\tif (0 != param->" + attribs[i].getParamNameAsMember()
+ ")\n");
 
-                if (CUtils.isPointerType(basicType))
+                if (CUtils.isPointerType(basicType) || attribs[i].isOptional())
                 {
                     writer.write("\t\taxiscSoapSerializerSerializeAsAttribute(pSZ,\""
                             + soapTagName + "\", 0, (void*)(param->"



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message