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 ClientStubWriter.java
Date Wed, 09 Jun 2004 10:09:48 GMT
samisa      2004/06/09 03:09:48

  Modified:    c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp
                        ClientStubWriter.java
  Log:
  
  
  Revision  Changes    Path
  1.39      +3 -2      ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/ClientStubWriter.java
  
  Index: ClientStubWriter.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/ClientStubWriter.java,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- ClientStubWriter.java	9 Jun 2004 09:45:52 -0000	1.38
  +++ ClientStubWriter.java	9 Jun 2004 10:09:48 -0000	1.39
  @@ -238,6 +238,7 @@
   		writer.write("\t\tm_pCall->setTransportProperty(SOAPACTION_HEADER , \""+minfo.getSoapAction()+"\");\n");
   		writer.write("\t\tm_pCall->setSOAPVersion(SOAP_VER_1_1);\n"); //TODO check which version
is it really.
   		writer.write("\t\tm_pCall->setOperation(\""+minfo.getMethodname()+"\", \""+wscontext.getWrapInfo().getTargetNameSpaceOfWSDL()+"\");\n");
  +		writer.write("\t\tapplyUserPreferences();\n");
   		for (int i = 0; i < paramsB.size(); i++) {
   			type = wscontext.getTypemap().getType(((ParameterInfo)paramsB.get(i)).getSchemaName());
   			if (type != null){
  @@ -387,11 +388,11 @@
   				writeExceptions(faultType,faultInfoName,paramName,langName);
   				}
   			}
  -		writer.write("\t\t\telse\n\t\t\t{\n");//damitha
  +//		writer.write("\t\t\telse\n\t\t\t{\n");//damitha
   
   		writer.write("\t\t\t\t  cFaultdetail = m_pCall->getElementAsString(\"faultdetail\",
0);\n");//damitha
   		writer.write("\t\t\t\t  throw AxisException(cFaultdetail);\n");//damitha
  -		writer.write("\t\t\t}\n");//damitha
  +//		writer.write("\t\t\t}\n");//damitha
   
   		writer.write("\t\t}\n");//damitha
   		writer.write("\t\telse throw;\n");//damitha
  
  
  

Mime
View raw message