You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by na...@apache.org on 2006/12/30 08:56:59 UTC

svn commit: r491189 - /webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/WrapWriter.java

Author: nadiramra
Date: Fri Dec 29 23:56:56 2006
New Revision: 491189

URL: http://svn.apache.org/viewvc?view=rev&rev=491189
Log:
Do not need to have prototypes for Axis_ functions since they are in the header file.

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

Modified: webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/WrapWriter.java
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/WrapWriter.java?view=diff&rev=491189&r1=491188&r2=491189
==============================================================================
--- webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/WrapWriter.java (original)
+++ webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/WrapWriter.java Fri Dec 29 23:56:56 2006
@@ -872,36 +872,5 @@
 
     protected void writeGlobalCodes() throws WrapperFault
     {
-        Iterator types = wscontext.getTypemap().getTypes().iterator();
-        HashSet typeSet = new HashSet();
-        String typeName;
-        Type type;
-        try
-        {
-            while (types.hasNext())
-            {
-                type = (Type) types.next();
-                if (type.isArray() 
-                        || (type.isAnonymous() && !type.isExternalized()))
-                    continue;
-                typeSet.add(type.getLanguageSpecificName());
-            }
-            Iterator itr = typeSet.iterator();
-            while (itr.hasNext())
-            {
-                typeName = itr.next().toString();
-                writer.write("extern int Axis_DeSerialize_" + typeName
-                        + "(" + typeName + "* param, IWrapperSoapDeSerializer* pDZ);\n");
-                writer.write("extern void* Axis_Create_" + typeName + "(int nSize);\n");
-                writer.write("extern void Axis_Delete_" + typeName
-                        + "(" + typeName + "* param, int nSize=0);\n");
-                writer.write("extern int Axis_Serialize_" + typeName
-                        + "(" + typeName + "* param, IWrapperSoapSerializer* pSZ, bool bArray = false);\n\n");
-            }
-        }
-        catch (IOException e)
-        {
-            throw new WrapperFault(e);
-        }
     }
 }



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