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/tests/auto_build/testcases/client/cpp InteropTestRound1Client.cpp MathOpsClient.cpp RpcHttpHeaderTest1Client.cpp RpcHttpHeaderTest2Client.cpp RpcHttpHeaderTest3Client.cpp RpcHttpHeaderTest4Client.cpp RpcHttpHeaderTest5Client.cpp RpcHttpHeaderTest7Client.cpp RpcHttpHeaderTest8Client.cpp RpcSoapHeaderTest10Client.cpp RpcSoapHeaderTest1Client.cpp RpcSoapHeaderTest2Client.cpp RpcSoapHeaderTest3Client.cpp RpcSoapHeaderTest4Client.cpp RpcSoapHeaderTest5Client.cpp RpcSoapHeaderTest6Client.cpp RpcSoapHeaderTest8Client.cpp RpcSoapHeaderTest9Client.cpp
Date Mon, 04 Apr 2005 08:15:11 GMT
samisa      2005/04/04 01:15:11

  Modified:    c/tests/auto_build/testcases/client/cpp
                        InteropTestRound1Client.cpp MathOpsClient.cpp
                        RpcHttpHeaderTest1Client.cpp
                        RpcHttpHeaderTest2Client.cpp
                        RpcHttpHeaderTest3Client.cpp
                        RpcHttpHeaderTest4Client.cpp
                        RpcHttpHeaderTest5Client.cpp
                        RpcHttpHeaderTest7Client.cpp
                        RpcHttpHeaderTest8Client.cpp
                        RpcSoapHeaderTest10Client.cpp
                        RpcSoapHeaderTest1Client.cpp
                        RpcSoapHeaderTest2Client.cpp
                        RpcSoapHeaderTest3Client.cpp
                        RpcSoapHeaderTest4Client.cpp
                        RpcSoapHeaderTest5Client.cpp
                        RpcSoapHeaderTest6Client.cpp
                        RpcSoapHeaderTest8Client.cpp
                        RpcSoapHeaderTest9Client.cpp
  Log:
  Fixes to get the URL from command line
  
  Revision  Changes    Path
  1.7       +7 -1      ws-axis/c/tests/auto_build/testcases/client/cpp/InteropTestRound1Client.cpp
  
  Index: InteropTestRound1Client.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/client/cpp/InteropTestRound1Client.cpp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- InteropTestRound1Client.cpp	29 Mar 2005 09:23:14 -0000	1.6
  +++ InteropTestRound1Client.cpp	4 Apr 2005 08:15:11 -0000	1.7
  @@ -30,7 +30,13 @@
   	const char* server="localhost";
   	const char* port="80";
   	sprintf(endpoint, "http://%s:%s/axis/base", server, port);
  -		bool bSuccess = false;
  +	
  +	// Set the endpoint from command line argument if set
  +	if (argc > 1)
  +		strcpy(endpoint, argv[1]);
  +
  +	
  +	    bool bSuccess = false;
   		int	iRetryIterationCount = 3;
   
   		do
  
  
  
  1.7       +6 -0      ws-axis/c/tests/auto_build/testcases/client/cpp/MathOpsClient.cpp
  
  Index: MathOpsClient.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/client/cpp/MathOpsClient.cpp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- MathOpsClient.cpp	23 Mar 2005 15:45:06 -0000	1.6
  +++ MathOpsClient.cpp	4 Apr 2005 08:15:11 -0000	1.7
  @@ -39,6 +39,12 @@
           try
           {
   	sprintf(endpoint, "http://%s:%s/axis/MathOps", server, port);
  +	
  +	
  +	if (argc > 1)
  +		strcpy(endpoint, argv[1]);
  +	
  +
   	MathOps ws(endpoint);
   
   	op = "div";/*Operation name*/
  
  
  
  1.9       +6 -1      ws-axis/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest1Client.cpp
  
  Index: RpcHttpHeaderTest1Client.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest1Client.cpp,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- RpcHttpHeaderTest1Client.cpp	23 Mar 2005 15:45:06 -0000	1.8
  +++ RpcHttpHeaderTest1Client.cpp	4 Apr 2005 08:15:11 -0000	1.9
  @@ -41,9 +41,14 @@
       char endpoint[256];
       const char *server = "localhost";
       const char *port = "80";
  -    //sprintf(endpoint, "http://%s:%s/axis/base", server, port);
  +    
       //endpoint for Axis CPP sample
       sprintf(endpoint, "http://%s:%s/axis/base", server, port);
  +
  +	// Set the endpoint from command line argument if set
  +	if (argc > 1)
  +		strcpy(endpoint, argv[1]);
  +
       /*Set for HTTP transport */
       InteropTestPortType ws(endpoint, APTHTTP1_1);
   
  
  
  
  1.11      +8 -2      ws-axis/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest2Client.cpp
  
  Index: RpcHttpHeaderTest2Client.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest2Client.cpp,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- RpcHttpHeaderTest2Client.cpp	29 Mar 2005 10:00:55 -0000	1.10
  +++ RpcHttpHeaderTest2Client.cpp	4 Apr 2005 08:15:11 -0000	1.11
  @@ -40,10 +40,16 @@
       char endpoint[256];
       const char *server = "localhost";
       const char *port = "80";
  -    //sprintf(endpoint, "http://%s:%s/axis/base", server, port);
  +    
       //endpoint for Axis CPP sample
       sprintf(endpoint, "http://%s:%s/axis/base", server, port);
  -    /*Set for HTTP transport */
  +    
  +	// Set the endpoint from command line argument if set
  +	if (argc > 1)
  +		strcpy(endpoint, argv[1]);
  +
  +	
  +	/*Set for HTTP transport */
       InteropTestPortType ws(endpoint, APTHTTP1_1);
   
       //set HTTP headers
  
  
  
  1.11      +8 -2      ws-axis/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest3Client.cpp
  
  Index: RpcHttpHeaderTest3Client.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest3Client.cpp,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- RpcHttpHeaderTest3Client.cpp	29 Mar 2005 09:57:16 -0000	1.10
  +++ RpcHttpHeaderTest3Client.cpp	4 Apr 2005 08:15:11 -0000	1.11
  @@ -40,10 +40,16 @@
       char endpoint[256];
       const char *server = "localhost";
       const char *port = "80";
  -    //sprintf(endpoint, "http://%s:%s/axis/base", server, port);
  +    
       //endpoint for Axis CPP sample
       sprintf(endpoint, "http://%s:%s/axis/base", server, port);
  -    /*Set for HTTP transport */
  +    
  +	// Set the endpoint from command line argument if set
  +	if (argc > 1)
  +		strcpy(endpoint, argv[1]);
  +
  +	
  +	/*Set for HTTP transport */
       InteropTestPortType ws(endpoint, APTHTTP1_1);
   
       //set HTTP headers
  
  
  
  1.10      +8 -2      ws-axis/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest4Client.cpp
  
  Index: RpcHttpHeaderTest4Client.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest4Client.cpp,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- RpcHttpHeaderTest4Client.cpp	23 Mar 2005 15:45:06 -0000	1.9
  +++ RpcHttpHeaderTest4Client.cpp	4 Apr 2005 08:15:11 -0000	1.10
  @@ -40,10 +40,16 @@
       char endpoint[256];
       const char *server = "localhost";
       const char *port = "80";
  -    //sprintf(endpoint, "http://%s:%s/axis/base", server, port);
  +    
       //endpoint for Axis CPP sample
       sprintf(endpoint, "http://%s:%s/axis/base", server, port);
  -    /*Set for HTTP transport */
  +   
  +	// Set the endpoint from command line argument if set
  +	if (argc > 1)
  +		strcpy(endpoint, argv[1]);
  +
  +	
  +	/*Set for HTTP transport */
       InteropTestPortType ws(endpoint, APTHTTP1_1);
   
       //set HTTP headers
  
  
  
  1.10      +10 -3     ws-axis/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest5Client.cpp
  
  Index: RpcHttpHeaderTest5Client.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest5Client.cpp,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- RpcHttpHeaderTest5Client.cpp	23 Mar 2005 15:45:06 -0000	1.9
  +++ RpcHttpHeaderTest5Client.cpp	4 Apr 2005 08:15:11 -0000	1.10
  @@ -40,10 +40,17 @@
       char endpoint[256];
       const char *server = "localhost";
       const char *port = "80";
  -    //sprintf(endpoint, "http://%s:%s/axis/base", server, port);
  -    //endpoint for Axis CPP sample
  +    
  +	//endpoint for Axis CPP sample
       sprintf(endpoint, "http://%s:%s/axis/base", server, port);
  -    /*Set for HTTP transport */
  +    
  +	// Set the endpoint from command line argument if set
  +	if (argc > 1)
  +		strcpy(endpoint, argv[1]);
  +
  +	
  +	
  +	/*Set for HTTP transport */
       InteropTestPortType ws(endpoint, APTHTTP1_1);
   
       //set HTTP headers
  
  
  
  1.10      +9 -2      ws-axis/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest7Client.cpp
  
  Index: RpcHttpHeaderTest7Client.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest7Client.cpp,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- RpcHttpHeaderTest7Client.cpp	23 Mar 2005 15:45:06 -0000	1.9
  +++ RpcHttpHeaderTest7Client.cpp	4 Apr 2005 08:15:11 -0000	1.10
  @@ -40,10 +40,17 @@
       char endpoint[256];
       const char *server = "localhost";
       const char *port = "80";
  -    //sprintf(endpoint, "http://%s:%s/axis/base", server, port);
  +    
       //endpoint for Axis CPP sample
       sprintf(endpoint, "http://%s:%s/axis/base", server, port);
  -    /*Set for HTTP transport */
  +   
  +	// Set the endpoint from command line argument if set
  +	if (argc > 1)
  +		strcpy(endpoint, argv[1]);
  +
  +	
  +	
  +	/*Set for HTTP transport */
       InteropTestPortType ws(endpoint, APTHTTP1_1);
   
       //set HTTP headers
  
  
  
  1.11      +8 -2      ws-axis/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest8Client.cpp
  
  Index: RpcHttpHeaderTest8Client.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest8Client.cpp,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- RpcHttpHeaderTest8Client.cpp	30 Mar 2005 08:27:04 -0000	1.10
  +++ RpcHttpHeaderTest8Client.cpp	4 Apr 2005 08:15:11 -0000	1.11
  @@ -39,10 +39,16 @@
       char endpoint[256];
       const char *server = "localhost";
       const char *port = "80";
  -    //sprintf(endpoint, "http://%s:%s/axis/base", server, port);
  +    
       //endpoint for Axis CPP sample
       sprintf(endpoint, "http://%s:%s/axis/base", server, port);
  -    /*Set for HTTP transport */
  +    
  +	// Set the endpoint from command line argument if set
  +	if (argc > 1)
  +		strcpy(endpoint, argv[1]);
  +
  +	
  +	/*Set for HTTP transport */
       InteropTestPortType ws(endpoint, APTHTTP1_1);
   	ws.setTransportProperty("SOAPAction" , "InteropBase#echoString");
   
  
  
  
  1.9       +8 -2      ws-axis/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest10Client.cpp
  
  Index: RpcSoapHeaderTest10Client.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest10Client.cpp,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- RpcSoapHeaderTest10Client.cpp	23 Mar 2005 15:45:06 -0000	1.8
  +++ RpcSoapHeaderTest10Client.cpp	4 Apr 2005 08:15:11 -0000	1.9
  @@ -41,10 +41,16 @@
       char endpoint[256];
       const char *server = "localhost";
       const char *port = "80";
  -    //sprintf(endpoint, "http://%s:%s/axis/base", server, port);
  +    
       //endpoint for Axis CPP sample
       sprintf(endpoint, "http://%s:%s/axis/base", server, port);
  -    InteropTestPortType ws(endpoint, APTHTTP1_1);
  +    
  +	// Set the endpoint from command line argument if set
  +	if (argc > 1)
  +		strcpy(endpoint, argv[1]);
  +
  +	
  +	InteropTestPortType ws(endpoint, APTHTTP1_1);
   
       /*
       <SOAP-ENV:Header>
  
  
  
  1.8       +9 -2      ws-axis/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest1Client.cpp
  
  Index: RpcSoapHeaderTest1Client.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest1Client.cpp,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- RpcSoapHeaderTest1Client.cpp	23 Mar 2005 15:45:06 -0000	1.7
  +++ RpcSoapHeaderTest1Client.cpp	4 Apr 2005 08:15:11 -0000	1.8
  @@ -41,10 +41,17 @@
       char endpoint[256];
       const char *server = "localhost";
       const char *port = "80";
  -    //sprintf(endpoint, "http://%s:%s/axis/base", server, port);
  +    
       //endpoint for Axis CPP sample
       sprintf(endpoint, "http://%s:%s/axis/base", server, port);
  -    InteropTestPortType ws(endpoint, APTHTTP1_1);
  +   
  +	
  +	// Set the endpoint from command line argument if set
  +	if (argc > 1)
  +		strcpy(endpoint, argv[1]);
  +
  +	
  +	InteropTestPortType ws(endpoint, APTHTTP1_1);
   
       /*create a header of the form:
          <SOAP-ENV:Header>
  
  
  
  1.8       +8 -1      ws-axis/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest2Client.cpp
  
  Index: RpcSoapHeaderTest2Client.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest2Client.cpp,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- RpcSoapHeaderTest2Client.cpp	23 Mar 2005 15:45:06 -0000	1.7
  +++ RpcSoapHeaderTest2Client.cpp	4 Apr 2005 08:15:11 -0000	1.8
  @@ -42,7 +42,14 @@
       const char *port = "80";
       //endpoint for Axis CPP sample
       sprintf(endpoint, "http://%s:%s/axis/base", server, port);
  -    InteropTestPortType ws(endpoint, APTHTTP1_1);
  +    
  +	// Set the endpoint from command line argument if set
  +	if (argc > 1)
  +		strcpy(endpoint, argv[1]);
  +
  +
  +	
  +	InteropTestPortType ws(endpoint, APTHTTP1_1);
   
       /*create a header of the form:
          <SOAP-ENV:Header>
  
  
  
  1.8       +8 -1      ws-axis/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest3Client.cpp
  
  Index: RpcSoapHeaderTest3Client.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest3Client.cpp,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- RpcSoapHeaderTest3Client.cpp	23 Mar 2005 15:45:06 -0000	1.7
  +++ RpcSoapHeaderTest3Client.cpp	4 Apr 2005 08:15:11 -0000	1.8
  @@ -42,7 +42,14 @@
       const char *port = "80";
       //endpoint for Axis CPP sample
       sprintf(endpoint, "http://%s:%s/axis/base", server, port);
  -    InteropTestPortType ws(endpoint, APTHTTP1_1);
  +    
  +	// Set the endpoint from command line argument if set
  +	if (argc > 1)
  +		strcpy(endpoint, argv[1]);
  +
  +	
  +	
  +	InteropTestPortType ws(endpoint, APTHTTP1_1);
   
       /*create a header of the form:
          <SOAP-ENV:Header>
  
  
  
  1.8       +9 -1      ws-axis/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest4Client.cpp
  
  Index: RpcSoapHeaderTest4Client.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest4Client.cpp,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- RpcSoapHeaderTest4Client.cpp	23 Mar 2005 15:45:06 -0000	1.7
  +++ RpcSoapHeaderTest4Client.cpp	4 Apr 2005 08:15:11 -0000	1.8
  @@ -42,7 +42,15 @@
       const char *port = "80";
       //endpoint for Axis CPP sample
       sprintf(endpoint, "http://%s:%s/axis/base", server, port);
  -    InteropTestPortType ws(endpoint, APTHTTP1_1);
  +    
  +	
  +	// Set the endpoint from command line argument if set
  +	if (argc > 1)
  +		strcpy(endpoint, argv[1]);
  +
  +	
  +	
  +	InteropTestPortType ws(endpoint, APTHTTP1_1);
   
       /*create a header of the form:
          <SOAP-ENV:Header>
  
  
  
  1.8       +7 -1      ws-axis/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest5Client.cpp
  
  Index: RpcSoapHeaderTest5Client.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest5Client.cpp,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- RpcSoapHeaderTest5Client.cpp	23 Mar 2005 15:45:06 -0000	1.7
  +++ RpcSoapHeaderTest5Client.cpp	4 Apr 2005 08:15:11 -0000	1.8
  @@ -42,7 +42,13 @@
       const char *port = "80";
       //endpoint for Axis CPP sample
       sprintf(endpoint, "http://%s:%s/axis/base", server, port);
  -    InteropTestPortType ws(endpoint, APTHTTP1_1);
  +    
  +	// Set the endpoint from command line argument if set
  +	if (argc > 1)
  +		strcpy(endpoint, argv[1]);
  +
  +	
  +	InteropTestPortType ws(endpoint, APTHTTP1_1);
   
       /*create a header of the form:
          <SOAP-ENV:Header>
  
  
  
  1.8       +7 -1      ws-axis/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest6Client.cpp
  
  Index: RpcSoapHeaderTest6Client.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest6Client.cpp,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- RpcSoapHeaderTest6Client.cpp	23 Mar 2005 15:45:06 -0000	1.7
  +++ RpcSoapHeaderTest6Client.cpp	4 Apr 2005 08:15:11 -0000	1.8
  @@ -42,7 +42,13 @@
       const char *port = "80";
       //endpoint for Axis CPP sample
       sprintf(endpoint, "http://%s:%s/axis/base", server, port);
  -    InteropTestPortType ws(endpoint, APTHTTP1_1);
  +    
  +	// Set the endpoint from command line argument if set
  +	if (argc > 1)
  +		strcpy(endpoint, argv[1]);
  +
  +
  +	InteropTestPortType ws(endpoint, APTHTTP1_1);
   
       /*create a header of the form:
          <SOAP-ENV:Header>
  
  
  
  1.8       +8 -1      ws-axis/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest8Client.cpp
  
  Index: RpcSoapHeaderTest8Client.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest8Client.cpp,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- RpcSoapHeaderTest8Client.cpp	23 Mar 2005 15:45:06 -0000	1.7
  +++ RpcSoapHeaderTest8Client.cpp	4 Apr 2005 08:15:11 -0000	1.8
  @@ -42,7 +42,14 @@
       const char *port = "80";
       //endpoint for Axis CPP sample
       sprintf(endpoint, "http://%s:%s/axis/base", server, port);
  -    InteropTestPortType ws(endpoint, APTHTTP1_1);
  +    
  +	// Set the endpoint from command line argument if set
  +	if (argc > 1)
  +		strcpy(endpoint, argv[1]);
  +
  +	
  +	
  +	InteropTestPortType ws(endpoint, APTHTTP1_1);
   
       /*create a header of the form:
          <SOAP-ENV:Header>
  
  
  
  1.8       +9 -2      ws-axis/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest9Client.cpp
  
  Index: RpcSoapHeaderTest9Client.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest9Client.cpp,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- RpcSoapHeaderTest9Client.cpp	23 Mar 2005 15:45:06 -0000	1.7
  +++ RpcSoapHeaderTest9Client.cpp	4 Apr 2005 08:15:11 -0000	1.8
  @@ -41,10 +41,17 @@
       char endpoint[256];
       const char *server = "localhost";
       const char *port = "80";
  -    //sprintf(endpoint, "http://%s:%s/axis/base", server, port);
  +    
       //endpoint for Axis CPP sample
       sprintf(endpoint, "http://%s:%s/axis/base", server, port);
  -    InteropTestPortType ws(endpoint, APTHTTP1_1);
  +    
  +	// Set the endpoint from command line argument if set
  +	if (argc > 1)
  +		strcpy(endpoint, argv[1]);
  +
  +	
  +	
  +	InteropTestPortType ws(endpoint, APTHTTP1_1);
   
       /*
       <SOAP-ENV:Header>
  
  
  

Mime
View raw message