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 da...@apache.org on 2004/06/13 12:35:37 UTC

cvs commit: ws-axis/c/samples/client/rpcfault MathOps.cpp MathOps.h MathOpsClient.cpp

damitha     2004/06/13 03:35:37

  Modified:    c/samples/client/rpcfault MathOps.cpp MathOps.h
                        MathOpsClient.cpp
  Log:
  (null)
  
  Revision  Changes    Path
  1.12      +2 -2      ws-axis/c/samples/client/rpcfault/MathOps.cpp
  
  Index: MathOps.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/samples/client/rpcfault/MathOps.cpp,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- MathOps.cpp	8 Jun 2004 08:04:20 -0000	1.11
  +++ MathOps.cpp	13 Jun 2004 10:35:37 -0000	1.12
  @@ -20,11 +20,11 @@
   extern int Axis_Serialize_DivByZeroStruct(DivByZeroStruct* param, IWrapperSoapSerializer* pSZ, bool bArray = false);
   extern int Axis_GetSize_DivByZeroStruct();
   
  -MathOps::MathOps()
  +MathOps::MathOps(const char* pchEndpointUri)
   {
   	m_pCall = new Call();
   	m_pCall->setProtocol(APTHTTP);
  -	m_pCall->setEndpointURI("http://localhost/axis/MathOps");
  +	m_pCall->setEndpointURI(pchEndpointUri);
   }
   
   MathOps::~MathOps()
  
  
  
  1.5       +1 -1      ws-axis/c/samples/client/rpcfault/MathOps.h
  
  Index: MathOps.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/samples/client/rpcfault/MathOps.h,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- MathOps.h	8 Jun 2004 07:27:15 -0000	1.4
  +++ MathOps.h	13 Jun 2004 10:35:37 -0000	1.5
  @@ -16,7 +16,7 @@
   private:
   	Call* m_pCall;
   public:
  -	MathOps();
  +	MathOps(const char* pchEndpointUri);
   public:
   	virtual ~MathOps();
   public: 
  
  
  
  1.6       +1 -1      ws-axis/c/samples/client/rpcfault/MathOpsClient.cpp
  
  Index: MathOpsClient.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/samples/client/rpcfault/MathOpsClient.cpp,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- MathOpsClient.cpp	8 Jun 2004 07:27:15 -0000	1.5
  +++ MathOpsClient.cpp	13 Jun 2004 10:35:37 -0000	1.6
  @@ -28,7 +28,7 @@
   	}
   	printf("Sending Requests to Server http://%s:%s ........\n\n", server, port);
   	sprintf(endpoint, "http://%s:%s/axis/MathOps", server, port);
  -	MathOps ws;
  +	MathOps ws(endpoint);
   
   	op = argv[3];
   	p1 = argv[4];