You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ro...@apache.org on 2004/08/03 06:06:04 UTC

cvs commit: ws-axis/c/tests/client/soapHeader/test9/rpc TestClient.cpp

roshan      2004/08/02 21:06:04

  Modified:    c/tests/client/soapHeader/test9 readme.txt
               c/tests/client/soapHeader/test9/rpc TestClient.cpp
  Log:
  Minor changes
  
  Revision  Changes    Path
  1.2       +2 -2      ws-axis/c/tests/client/soapHeader/test9/readme.txt
  
  Index: readme.txt
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/client/soapHeader/test9/readme.txt,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- readme.txt	2 Aug 2004 13:53:32 -0000	1.1
  +++ readme.txt	3 Aug 2004 04:06:03 -0000	1.2
  @@ -20,8 +20,8 @@
    */
   
   
  -This client application can be used to test adding attributes to SOAP Headers.
  -In the first part of the program it sets some soap headders with the Attributes. Then it calls echostring method.
  +This client application can be used to test adding attributes and namespaces to SOAP Headers.
  +In the first part of the program it sets some soap headders with the Attributes and namespaces. Then it calls echostring method.
   
   Steps to Run the Test
   =====================
  
  
  
  1.2       +10 -10    ws-axis/c/tests/client/soapHeader/test9/rpc/TestClient.cpp
  
  Index: TestClient.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/client/soapHeader/test9/rpc/TestClient.cpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestClient.cpp	2 Aug 2004 13:53:32 -0000	1.1
  +++ TestClient.cpp	3 Aug 2004 04:06:03 -0000	1.2
  @@ -51,16 +51,16 @@
       sprintf(endpoint, "http://%s:%s/axis/base", server, port);
       InteropTestPortType ws(endpoint, APTHTTP);
   
  -    /*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>
  -     */
  +    /*
  +    <SOAP-ENV:Header>
  +    	<ns2:TestHeader xmlns:ns2="http://ws.apache.org/axisCppTest/" xmlns:namesp1="http://mynamespace.com">
  +	    <Credentials ns2:type="normal">
  +		<username ns2:usertype="normal_user">Test User</username>
  +		<password>Test Password</password>
  +	    </Credentials>
  +	</ns2:TestHeader>
  +    </SOAP-ENV:Header>
  +    */
   
       //set SOAP headers
       IHeaderBlock *phb = ws.createSOAPHeaderBlock("TestHeader",