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:42:05 UTC
svn commit: r491187 -
/webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/WrapWriter.java
Author: nadiramra
Date: Fri Dec 29 23:42:04 2006
New Revision: 491187
URL: http://svn.apache.org/viewvc?view=rev&rev=491187
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/literal/WrapWriter.java
Modified: webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/WrapWriter.java
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/WrapWriter.java?view=diff&rev=491187&r1=491186&r2=491187
==============================================================================
--- webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/WrapWriter.java (original)
+++ webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/WrapWriter.java Fri Dec 29 23:42:04 2006
@@ -666,43 +666,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.isSimpleType())
- continue;
-
- if (type.isArray())
- continue;
-
- if (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