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 sa...@apache.org on 2005/02/09 12:34:52 UTC
cvs commit: ws-axis/c/tests/auto_build/testcases/handlers/handler_test4/testhandler THandler.cpp
samisa 2005/02/09 03:34:52
Modified: c/tests/auto_build/testcases/client/cpp
IAttributeTest4Client.cpp
IHeaderBlockTest2Client.cpp
RpcSoapHeaderTest10Client.cpp
c/tests/auto_build/testcases/handlers/handler_test1/testhandler
THandler.cpp
c/tests/auto_build/testcases/handlers/handler_test12/testhandler
THandler.cpp
c/tests/auto_build/testcases/handlers/handler_test13/testhandler
THandler.cpp
c/tests/auto_build/testcases/handlers/handler_test14/testhandler
THandler.cpp
c/tests/auto_build/testcases/handlers/handler_test2/testhandler
THandler.cpp
c/tests/auto_build/testcases/handlers/handler_test2/testhandler2
THandler2.cpp
c/tests/auto_build/testcases/handlers/handler_test3/testhandler
THandler.cpp
c/tests/auto_build/testcases/handlers/handler_test4/testhandler
THandler.cpp
Log:
Changed setUri to setURI and getUri to getURI. AXISCPP-385
Revision Changes Path
1.2 +5 -5 ws-axis/c/tests/auto_build/testcases/client/cpp/IAttributeTest4Client.cpp
Index: IAttributeTest4Client.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/client/cpp/IAttributeTest4Client.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- IAttributeTest4Client.cpp 2 Feb 2005 16:26:52 -0000 1.1
+++ IAttributeTest4Client.cpp 9 Feb 2005 11:34:50 -0000 1.2
@@ -1,5 +1,5 @@
-/* Tests setUri() and getUri()in IAttribute Class
+/* Tests setURI() and getURI()in IAttribute Class
@ Author : James Jose
*/
@@ -25,12 +25,12 @@
IHeaderBlock *phb = ws.createSOAPHeaderBlock("TestHeader","http://ws.apache.org/","ns");
INamespace *nsp=phb->createNamespaceDecl("nsp","http://apache.com");
IAttribute *attr1=phb->createAttribute("Name","nsp","axis");
- attr1->setUri(uri);
+ attr1->setURI(uri);
BasicNode *bn=phb->createImmediateChild(ELEMENT_NODE,"Project","","","");
IAttribute *attr2=bn->createAttribute("TYPE","OPEN SOURCE");
- attr2->setUri(uri);
- cout << endl << "Header Attribute Uri = " << attr1->getUri();
- cout << endl << "Child Node Attribute Uri = " << attr2->getUri();
+ attr2->setURI(uri);
+ cout << endl << "Header Attribute Uri = " << attr1->getURI();
+ cout << endl << "Child Node Attribute Uri = " << attr2->getURI();
op = "add";
i1 = 2;
i2 = 3;
1.2 +2 -2 ws-axis/c/tests/auto_build/testcases/client/cpp/IHeaderBlockTest2Client.cpp
Index: IHeaderBlockTest2Client.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/client/cpp/IHeaderBlockTest2Client.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- IHeaderBlockTest2Client.cpp 2 Feb 2005 16:26:52 -0000 1.1
+++ IHeaderBlockTest2Client.cpp 9 Feb 2005 11:34:50 -0000 1.2
@@ -1,4 +1,4 @@
-/* Tests setPrefix() and setUri() APIs in IHeaderBlock
+/* Tests setPrefix() and setURI() APIs in IHeaderBlock
@ Author : James Jose
*/
@@ -28,7 +28,7 @@
const AxisChar *uri="http://axis.apache.com";
IHeaderBlock *phb = ws.createSOAPHeaderBlock("TestHeader","http://apache.org/");
phb->setPrefix(prefix);
- phb->setUri(uri);
+ phb->setURI(uri);
if (strcmp(op, "add") == 0)
{
iResult=ws.add(i1, i2);
1.6 +5 -5 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.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- RpcSoapHeaderTest10Client.cpp 24 Nov 2004 13:25:19 -0000 1.5
+++ RpcSoapHeaderTest10Client.cpp 9 Feb 2005 11:34:50 -0000 1.6
@@ -96,12 +96,12 @@
/* start testing the getters for SOAP Header Attributes*/
IAttribute* pIAttribute1 = parentNode->getFirstAttribute();
if (pIAttribute1)
- printf("pIAttribute1 details = %s %s \n", pIAttribute1->getLocalName(), pIAttribute1->getUri());
+ printf("pIAttribute1 details = %s %s \n", pIAttribute1->getLocalName(), pIAttribute1->getURI());
pIAttribute1 = NULL;
int iTmpX = 0;
while ((pIAttribute1 = parentNode->getNextAttribute()) != NULL) {
- printf("pIAttribute1 details = %s %s \n", pIAttribute1->getLocalName(), pIAttribute1->getUri());
+ printf("pIAttribute1 details = %s %s \n", pIAttribute1->getLocalName(), pIAttribute1->getURI());
iTmpX++;
if (iTmpX==2) break; /*Just for a simple logic*/
@@ -110,17 +110,17 @@
pIAttribute1 = NULL;
pIAttribute1 = parentNode->getCurrentAttribute();
if (pIAttribute1)
- printf("pIAttribute1 details = %s %s \n", pIAttribute1->getLocalName(), pIAttribute1->getUri());
+ printf("pIAttribute1 details = %s %s \n", pIAttribute1->getLocalName(), pIAttribute1->getURI());
pIAttribute1 = NULL;
pIAttribute1 = parentNode->getLastAttribute();
if (pIAttribute1)
- printf("pIAttribute1 details = %s %s \n", pIAttribute1->getLocalName(), pIAttribute1->getUri());
+ printf("pIAttribute1 details = %s %s \n", pIAttribute1->getLocalName(), pIAttribute1->getURI());
pIAttribute1 = NULL;
pIAttribute1 = parentNode->getAttribute("", "http://ws.apache.org/axisCppTest/", "scale");
if (pIAttribute1)
- printf("pIAttribute1 details = %s %s \n", pIAttribute1->getLocalName(), pIAttribute1->getUri());
+ printf("pIAttribute1 details = %s %s \n", pIAttribute1->getLocalName(), pIAttribute1->getURI());
/*----end testing the getters for SOAP Header Attributes----- */
printf("invoking echoString...\n");
1.2 +2 -2 ws-axis/c/tests/auto_build/testcases/handlers/handler_test1/testhandler/THandler.cpp
Index: THandler.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/handlers/handler_test1/testhandler/THandler.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- THandler.cpp 4 Jan 2005 13:59:53 -0000 1.1
+++ THandler.cpp 9 Feb 2005 11:34:51 -0000 1.2
@@ -77,10 +77,10 @@
IHeaderBlock* pIHeaderBlock= pISZ->createHeaderBlock();
//pIHeaderBlock->setLocalName("testClientHandlerHeader");
- //pIHeaderBlock->setUri("http://opensource.lk/testClientHandlerHeader/");
+ //pIHeaderBlock->setURI("http://opensource.lk/testClientHandlerHeader/");
pIHeaderBlock->setLocalName("echoMeString");
- pIHeaderBlock->setUri("http://soapinterop.org/echoheader/");
+ pIHeaderBlock->setURI("http://soapinterop.org/echoheader/");
const AxisChar* pachHeaderVal = "test Header Val";
1.2 +1 -1 ws-axis/c/tests/auto_build/testcases/handlers/handler_test12/testhandler/THandler.cpp
Index: THandler.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/handlers/handler_test12/testhandler/THandler.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- THandler.cpp 14 Jan 2005 17:21:21 -0000 1.1
+++ THandler.cpp 9 Feb 2005 11:34:51 -0000 1.2
@@ -79,7 +79,7 @@
IHeaderBlock* pIHeaderBlock2 = pIHeaderBlock->clone();
pIHeaderBlock2->setLocalName("ahb2");
- pIHeaderBlock2->setUri("http://soapinterop.org/axis2/");
+ pIHeaderBlock2->setURI("http://soapinterop.org/axis2/");
BasicNode* pBasicNode2 = pIHeaderBlock2->createChild(CHARACTER_NODE);
pBasicNode2->setValue("Test2");
pIHeaderBlock2->addChild(pBasicNode2);
1.2 +1 -1 ws-axis/c/tests/auto_build/testcases/handlers/handler_test13/testhandler/THandler.cpp
Index: THandler.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/handlers/handler_test13/testhandler/THandler.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- THandler.cpp 14 Jan 2005 17:21:21 -0000 1.1
+++ THandler.cpp 9 Feb 2005 11:34:51 -0000 1.2
@@ -80,7 +80,7 @@
pIHeaderBlock->addChild(pBasicNode);
pIHeaderBlock2->setLocalName("ahb2");
- pIHeaderBlock2->setUri("http://soapinterop.org/axis2/");
+ pIHeaderBlock2->setURI("http://soapinterop.org/axis2/");
BasicNode* pBasicNode2 = pIHeaderBlock2->createChild(CHARACTER_NODE);
pBasicNode2->setValue("Test2");
pIHeaderBlock2->addChild(pBasicNode2);
1.2 +1 -1 ws-axis/c/tests/auto_build/testcases/handlers/handler_test14/testhandler/THandler.cpp
Index: THandler.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/handlers/handler_test14/testhandler/THandler.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- THandler.cpp 14 Jan 2005 17:21:21 -0000 1.1
+++ THandler.cpp 9 Feb 2005 11:34:51 -0000 1.2
@@ -76,7 +76,7 @@
pISZ->setSoapVersion(SOAP_VER_1_2);
IHeaderBlock* pIHeaderBlock= pISZ->createHeaderBlock();
pIHeaderBlock->setLocalName("echoMeString");
- pIHeaderBlock->setUri("http://soapinterop.org/soapversion/");
+ pIHeaderBlock->setURI("http://soapinterop.org/soapversion/");
const AxisChar* pachHeaderVal = "Soap Version Test";
BasicNode* pBasicNode = pIHeaderBlock->createChild(CHARACTER_NODE);
pBasicNode->setValue(pachHeaderVal);
1.2 +2 -2 ws-axis/c/tests/auto_build/testcases/handlers/handler_test2/testhandler/THandler.cpp
Index: THandler.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/handlers/handler_test2/testhandler/THandler.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- THandler.cpp 4 Jan 2005 13:59:56 -0000 1.1
+++ THandler.cpp 9 Feb 2005 11:34:52 -0000 1.2
@@ -78,10 +78,10 @@
IHeaderBlock* pIHeaderBlock= pISZ->createHeaderBlock();
//pIHeaderBlock->setLocalName("testClientHandlerHeader");
- //pIHeaderBlock->setUri("http://opensource.lk/testClientHandlerHeader/");
+ //pIHeaderBlock->setURI("http://opensource.lk/testClientHandlerHeader/");
pIHeaderBlock->setLocalName("echoMeString");
- pIHeaderBlock->setUri("http://soapinterop.org/echoheader/");
+ pIHeaderBlock->setURI("http://soapinterop.org/echoheader/");
const AxisChar* pachHeaderVal = "test Header Val";
1.2 +1 -1 ws-axis/c/tests/auto_build/testcases/handlers/handler_test2/testhandler2/THandler2.cpp
Index: THandler2.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/handlers/handler_test2/testhandler2/THandler2.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- THandler2.cpp 4 Jan 2005 13:59:54 -0000 1.1
+++ THandler2.cpp 9 Feb 2005 11:34:52 -0000 1.2
@@ -77,7 +77,7 @@
IHeaderBlock* pIHeaderBlock= pISZ->createHeaderBlock();
pIHeaderBlock->setLocalName("echoMeString2");
- pIHeaderBlock->setUri("http://soapinterop.org/echoheader/");
+ pIHeaderBlock->setURI("http://soapinterop.org/echoheader/");
const AxisChar* pachHeaderVal = "Header Value2";
1.2 +1 -1 ws-axis/c/tests/auto_build/testcases/handlers/handler_test3/testhandler/THandler.cpp
Index: THandler.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/handlers/handler_test3/testhandler/THandler.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- THandler.cpp 4 Jan 2005 13:59:56 -0000 1.1
+++ THandler.cpp 9 Feb 2005 11:34:52 -0000 1.2
@@ -77,7 +77,7 @@
IHeaderBlock* pIHeaderBlock= pISZ->createHeaderBlock();
pIHeaderBlock->setLocalName("getopname");
- pIHeaderBlock->setUri("http://test.axiscpp.apache.org/testheader");
+ pIHeaderBlock->setURI("http://test.axiscpp.apache.org/testheader");
const AxisChar* pachHeaderVal = (AxisChar*)pIMsg->getOperationName();
1.2 +2 -2 ws-axis/c/tests/auto_build/testcases/handlers/handler_test4/testhandler/THandler.cpp
Index: THandler.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/handlers/handler_test4/testhandler/THandler.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- THandler.cpp 4 Jan 2005 13:59:57 -0000 1.1
+++ THandler.cpp 9 Feb 2005 11:34:52 -0000 1.2
@@ -77,7 +77,7 @@
IHeaderBlock* pIHeaderBlock= pISZ->createHeaderBlock();
pIHeaderBlock->setLocalName("getuser");
- pIHeaderBlock->setUri("http://test.axiscpp.apache.org/testheader");
+ pIHeaderBlock->setURI("http://test.axiscpp.apache.org/testheader");
string pachHeaderVal = (string)pIMsg->getUserName();
BasicNode* pBasicNode = pIHeaderBlock->createChild(CHARACTER_NODE);
@@ -86,7 +86,7 @@
pIHeaderBlock= pISZ->createHeaderBlock();
pIHeaderBlock->setLocalName("setuser");
- pIHeaderBlock->setUri("http://test.axiscpp.apache.org/testheader");
+ pIHeaderBlock->setURI("http://test.axiscpp.apache.org/testheader");
string new_name = "Elvis";
pIMsg->setUserName(new_name);