axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nadira...@apache.org
Subject svn commit: r491186 - /webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/WrapHeaderWriter.java
Date Sat, 30 Dec 2006 07:40:28 GMT
Author: nadiramra
Date: Fri Dec 29 23:40:26 2006
New Revision: 491186

URL: http://svn.apache.org/viewvc?view=rev&rev=491186
Log:
move where user header file is included.  

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

Modified: webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/WrapHeaderWriter.java
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/WrapHeaderWriter.java?view=diff&rev=491186&r1=491185&r2=491186
==============================================================================
--- webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/WrapHeaderWriter.java
(original)
+++ webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/WrapHeaderWriter.java
Fri Dec 29 23:40:26 2006
@@ -149,18 +149,18 @@
     {
         try
         {
-            writer.write(
-                "#include \""
-                    + CUtils.getWebServiceNameFromWrapperName(classname)
-                    + CUtils.CPP_HEADER_SUFFIX
-                    + "\"\n");
             writer.write("#include <axis/server/WrapperClassHandler.hpp>\n");
             writer.write("#include <axis/IMessageData.hpp>\n");
             writer.write("#include <axis/GDefine.hpp>\n");
             writer.write("#include <axis/Axis.hpp>\n");
             writer.write("#include <axis/AxisWrapperAPI.hpp>\n");
-            writer.write("#include <axis/OtherFaultException.hpp>\n");
-            writer.write("#include \"AxisServiceException.hpp\" \n");
+            writer.write("#include <axis/OtherFaultException.hpp>\n\n");
+            
+            writer.write("#include \""
+                        + CUtils.getWebServiceNameFromWrapperName(classname)
+                        + CUtils.CPP_HEADER_SUFFIX
+                        + "\"\n");
+            writer.write("#include \"AxisServiceException.hpp\" \n\n");
             writer.write("AXIS_CPP_NAMESPACE_USE \n\n");
             //writeFaultHeaders();
 



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