axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject cvs commit: ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp ClientStubWriter.java
Date Tue, 15 Jun 2004 13:28:50 GMT
damitha     2004/06/15 06:28:50

  Modified:    c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp
                        ClientStubWriter.java
  Log:
  
  
  Revision  Changes    Path
  1.47      +6 -6      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.46
  retrieving revision 1.47
  diff -u -r1.46 -r1.47
  --- ClientStubWriter.java	15 Jun 2004 12:00:49 -0000	1.46
  +++ ClientStubWriter.java	15 Jun 2004 13:28:50 -0000	1.47
  @@ -74,12 +74,12 @@
   	 */
   	protected void writeConstructors() throws WrapperFault {
   		try{
  -		writer.write(classname+"::"+classname+"(const char* pchEndpointUri)\n:Stub(pchEndpointUri)\n{\n");
  -		/*writer.write("\tm_pCall = new Call();\n");
  -		//TODO get TransportURI from WrapInfo and check what the transport is and do the following
line accordingly
  -		writer.write("\tm_pCall->setProtocol(APTHTTP);\n");
  -		writer.write("\tm_pCall->setEndpointURI(\""+wscontext.getWrapInfo().getTargetEndpointURI()+"\");\n");*/
  -		writer.write("}\n\n");
  +			writer.write(classname+"::"+classname+"(const char* pchEndpointUri, AXIS_PROTOCOL_TYPE
eProtocol)\n:Stub(pchEndpointUri, eProtocol)\n{\n");
  +			writer.write("}\n\n");
  +			writer.write(classname+"::"+classname+"()\n:Stub(\" \", APTHTTP)\n{\n");
  +			//TODO get TransportURI from WrapInfo and check what the transport is and do the following
line accordingly
  +			writer.write("\tm_pCall->setEndpointURI(\""+wscontext.getWrapInfo().getTargetEndpointURI()+"\");\n");
  +			writer.write("}\n\n");
   		}catch(IOException e){
   			throw new WrapperFault(e);
   		}
  
  
  

Mime
View raw message