ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nadira...@apache.org
Subject svn commit: r391770 - in /webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c: BeanParamWriter.java ParamCFileWriter.java
Date Wed, 05 Apr 2006 20:05:56 GMT
Author: nadiramra
Date: Wed Apr  5 13:05:54 2006
New Revision: 391770

URL: http://svn.apache.org/viewcvs?rev=391770&view=rev
Log:
C support fixes/enhancements.

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

Modified: webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/BeanParamWriter.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/BeanParamWriter.java?rev=391770&r1=391769&r2=391770&view=diff
==============================================================================
--- 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
Wed Apr  5 13:05:54 2006
@@ -56,7 +56,7 @@
     protected void writeGlobalCodes() throws WrapperFault
     {
         try
-        {           
+        {
             writeSerializeGlobalMethod();
             writeDeSerializeGlobalMethod();
             writeCreateGlobalMethod();
@@ -74,6 +74,7 @@
      */
     protected void writeGetSizeGlobalMethod() throws IOException
     {
+        writer.write("\n");
         writer.write("/**\n");
         writer.write(" * This static method gives the size of " + classname + " type of object\n");
         writer.write(" */\n");
@@ -86,6 +87,7 @@
      */
     private void writeSerializeGlobalMethod() throws IOException, WrapperFault
     {
+        writer.write("\n");
         writer.write("/**\n");
         writer.write(" * This static method serializes a " + classname + " type of object\n");
         writer.write(" */\n");
@@ -410,7 +412,7 @@
         writer.write("\t\taxiscRemoveNamespacePrefix(pSZ, Axis_URI_" + classname + ");\n\n");
         
         writer.write("\treturn AXISC_SUCCESS;\n");
-        writer.write("}\n\n");     
+        writer.write("}\n");
     }
 
     /**
@@ -419,6 +421,7 @@
      */
     private void writeDeSerializeGlobalMethod() throws IOException, WrapperFault
     {
+        writer.write("\n");
         writer.write("/**\n");
         writer.write(" * This static method deserializes a " + classname + " type of object\n");
         writer.write(" */\n");
@@ -687,6 +690,7 @@
      */
     private void writeCreateGlobalMethod() throws IOException
     {
+        writer.write("\n");
         writer.write("/**\n");
         writer.write(" * This static method to deallocate a " + classname + " type of object\n");
         writer.write(" */\n");
@@ -713,6 +717,7 @@
      */
     private void writeDeleteGlobalMethod() throws IOException
     {
+        writer.write("\n");
         writer.write("/**\n");
         writer.write(" * This static method to deallocate a " + classname + " type of object\n");
         writer.write(" */\n");
@@ -1017,6 +1022,7 @@
     {
         try
         {
+            writer.write("\n");
             writer.write("int Check_Restrictions_" + classname + "(" + classname + " value)\n");
             writer.write("{\n");
             writer.write("\treturn 0;\n");

Modified: webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/ParamCFileWriter.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/ParamCFileWriter.java?rev=391770&r1=391769&r2=391770&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/ParamCFileWriter.java
(original)
+++ webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/ParamCFileWriter.java
Wed Apr  5 13:05:54 2006
@@ -125,7 +125,7 @@
             writer.write("#include <axis/SoapEnvVersions.h>\n");
             writer.write("#include <axis/WSDDDefines.h>\n");
             writer.write("#include <axis/TypeMapping.h>\n");
-            writer.write("#include <axis/AxisWrapperAPI.h>\n\n");
+            writer.write("#include <axis/AxisWrapperAPI.h>\n");
             writer.write("#include <axis/IWrapperSoapSerializer.h>\n");
             writer.write("#include <axis/IWrapperSoapDeSerializer.h>\n");
             writer.write("#include <axis/client/Stub.h>\n");
@@ -133,6 +133,7 @@
             writer.write("\n");
             
             writer.write("#include \"" + this.classname + CUtils.C_HEADER_SUFFIX + "\"\n");
+            writer.write("\n");
         }
         catch (IOException e)
         {



Mime
View raw message