You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by na...@apache.org on 2006/07/06 04:22:45 UTC
svn commit: r419410 -
/webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/WSDL2Ws.java
Author: nadiramra
Date: Wed Jul 5 19:22:44 2006
New Revision: 419410
URL: http://svn.apache.org/viewvc?rev=419410&view=rev
Log:
minor cleanup..rename perprocess() to preprocess() and correct comment.
Modified:
webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/WSDL2Ws.java
Modified: webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/WSDL2Ws.java
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/WSDL2Ws.java?rev=419410&r1=419409&r2=419410&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/WSDL2Ws.java (original)
+++ webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/WSDL2Ws.java Wed Jul 5 19:22:44 2006
@@ -133,7 +133,7 @@
* @throws WrapperFault
*/
- public void perprocess() throws WrapperFault
+ public void preprocess() throws WrapperFault
{
typeMap = new TypeMap(language);
this.serviceentry = getServiceEntry();
@@ -630,7 +630,7 @@
else
this.wsdlWrappingStyle = false;
- perprocess();
+ preprocess();
CUtils.setLanguage(language);
QName serviceqname = serviceentry.getService().getQName();
@@ -985,7 +985,7 @@
}
else if (type instanceof DefinedElement)
{
- //skip any wrapping elements where ref=....
+ // if element references another type, process the referenced type
if (type.getRefType() != null)
return createTypeInfo(type.getRefType(), targetLanguage);
@@ -1144,7 +1144,6 @@
Vector elements = CSchemaUtils.getContainedElementDeclarations(te.getNode(),
symbolTable);
if (elements != null)
- {
for (int j = 0; j < elements.size(); j++)
{
ElementInfo eleinfo = null;
@@ -1206,7 +1205,6 @@
typedata.setTypeNameForElementName(eleinfo);
}
- }
}
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org