axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nadira...@apache.org
Subject svn commit: r490413 - /webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/ClientStubWriter.java
Date Wed, 27 Dec 2006 00:26:13 GMT
Author: nadiramra
Date: Tue Dec 26 16:26:12 2006
New Revision: 490413

URL: http://svn.apache.org/viewvc?view=rev&rev=490413
Log:
AXISCPP-898 simple problem with simpleTypes.

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

Modified: webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/ClientStubWriter.java
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/ClientStubWriter.java?view=diff&rev=490413&r1=490412&r2=490413
==============================================================================
--- webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/ClientStubWriter.java
(original)
+++ webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/ClientStubWriter.java
Tue Dec 26 16:26:12 2006
@@ -369,9 +369,9 @@
                 String initValue = CUtils.getInitValue(outparamType);
                 if (initValue != null)
                     writer.write(outparamType + " Ret = " + initValue + ";\n");
-                else if (outparamType.equals("xsdc__dateTime")
-                        || outparamType.equals("xsdc__date")
-                        || outparamType.equals("xsdc__time"))
+                else if (CUtils.getXSDTypeForBasicType( outparamType).equals("XSDC_DATETIME")
+                        || CUtils.getXSDTypeForBasicType( outparamType).equals("XSDC_DATE")
+                        || CUtils.getXSDTypeForBasicType( outparamType).equals("XSDC_TIME"))
                 {
                     writer.write(outparamType + " Ret;\n");
                     writer.write("\tmemset(&Ret,0,sizeof(" + outparamType + "));\n");



---------------------------------------------------------------------
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