axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ros...@apache.org
Subject cvs commit: ws-axis/c/tests/client/soapHeader/test8/rpc TestClient.cpp
Date Fri, 25 Jun 2004 04:05:00 GMT
roshan      2004/06/24 21:05:00

  Modified:    c/tests/client/soapHeader/test8/rpc TestClient.cpp
  Log:
  minor changes
  
  Revision  Changes    Path
  1.2       +2 -11     ws-axis/c/tests/client/soapHeader/test8/rpc/TestClient.cpp
  
  Index: TestClient.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/client/soapHeader/test8/rpc/TestClient.cpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestClient.cpp	24 Jun 2004 07:45:03 -0000	1.1
  +++ TestClient.cpp	25 Jun 2004 04:05:00 -0000	1.2
  @@ -43,7 +43,6 @@
   	port = argv[2];
       }
       printf("Usage :\n %s <server> <port>\n\n", argv[0]);
  -    //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, APTHTTP);
  @@ -51,10 +50,6 @@
       /*create a header of the form:
          <SOAP-ENV:Header>
          <th:newName xmlns:th="http://ws.apache.org/axisCppTest/">
  -       <TestAuthHeader>
  -       <username>Test User</username>
  -       <password>Test Password</password>
  -       </TestAuthHeader>
          </th:newName>
          </SOAP-ENV:Header>
        */
  @@ -63,16 +58,10 @@
       IHeaderBlock *phb = ws.createSOAPHeaderBlock("TestHeader", 
   		"http://ws.apache.org/axisCppTest/");
   
  -    //buld node tree
  -    //phb->addChild(NULL);
  -
       //set second SOAP headers
       phb = ws.createSOAPHeaderBlock("TestHeader2",
                                      "http://ws.apache.org/axisCppTest/");
                                                                                         
                                                                                    
  -    //phb->addChild(NULL);
  -
  -
       printf("Sending Requests to end point %s \n\n", endpoint);
       printf("invoking echoString...\n");
       //testing echoString 
  @@ -83,6 +72,8 @@
   
       //test removing SOAP header block using pointer
       IHeaderBlock *header = NULL;
  +    header = ws.getFirstSOAPHeaderBlock();
  +    ws.deleteSOAPHeaderBlock(header);
       header = ws.getFirstSOAPHeaderBlock();
       ws.deleteSOAPHeaderBlock(header);
       //now the request should have no SOAP headers
  
  
  

Mime
View raw message