axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject cvs commit: ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal WrapWriter.java
Date Wed, 06 Oct 2004 09:50:17 GMT
samisa      2004/10/06 02:50:17

  Modified:    c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal
                        WrapWriter.java
  Log:
  Fixed '>' sign problem in generated C++ code for doc lit wsdls.
  Jira:  	 AXISCPP-188
  
  Revision  Changes    Path
  1.24      +2 -2      ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/WrapWriter.java
  
  Index: WrapWriter.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/WrapWriter.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- WrapWriter.java	16 Aug 2004 09:22:52 -0000	1.23
  +++ WrapWriter.java	6 Oct 2004 09:50:17 -0000	1.24
  @@ -257,7 +257,7 @@
   				paraTypeName = param.getLangName();
   			}
   			parameterName = param.getParamName();
  -			elementName = param.getElementName().getLocalPart();
  +			elementName = param.getElementNameAsString();
   			if (type != null && type.isSimpleType()){ //schema defined simpleType possibly
with restrictions
   				writer.write("\t"+paraTypeName+" v"+i+" = pIWSDZ->"+CUtils.getParameterGetValueMethodName(paraTypeName,
false)+"(\""+elementName+"\",0);\n");
   			}
  @@ -303,7 +303,7 @@
   		}
   		writer.write("\ttry\n\t{\n"); //nithya
   		if(returntype != null){	/* Invoke the service when return type not void */
  -			returnParamName = returntype.getElementName().getLocalPart();
  +			returnParamName = returntype.getElementNameAsString();
   			writer.write("\t"+outparamType+((returntypeisarray || returntypeissimple)?" ":" *")+
"ret = "+"pWs->"+methodName+"(");
   			if (0<paramsB.size()){
   				for (int i = 0; i <  paramsB.size() - 1; i++) {
  
  
  

Mime
View raw message