axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nadira...@apache.org
Subject svn commit: r407123 - in /webservices/axis/trunk/c: src/cbindings/ src/cbindings/client/ tests/auto_build/testcases/client/c/ tests/auto_build/testcases/tests/
Date Wed, 17 May 2006 02:41:52 GMT
Author: nadiramra
Date: Tue May 16 19:41:51 2006
New Revision: 407123

URL: http://svn.apache.org/viewcvs?rev=407123&view=rev
Log:
C support fixes/enhancements. Testcases for C bindings.

Added:
    webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest1Client.c
    webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest2Client.c
    webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest3Client.c
    webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest4Client.c
    webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest5Client.c
    webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest6Client.c
    webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest7Client.c
    webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest8Client.c
    webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest1C.xml
    webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest2C.xml
    webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest3C.xml
    webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest4C.xml
    webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest5C.xml
    webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest6C.xml
    webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest7C.xml
    webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest8C.xml
Modified:
    webservices/axis/trunk/c/src/cbindings/BasicNodeC.cpp
    webservices/axis/trunk/c/src/cbindings/IHeaderBlockC.cpp
    webservices/axis/trunk/c/src/cbindings/client/StubC.cpp

Modified: webservices/axis/trunk/c/src/cbindings/BasicNodeC.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/cbindings/BasicNodeC.cpp?rev=407123&r1=407122&r2=407123&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/cbindings/BasicNodeC.cpp (original)
+++ webservices/axis/trunk/c/src/cbindings/BasicNodeC.cpp Tue May 16 19:41:51 2006
@@ -209,7 +209,7 @@
 }
 
 AXISC_STORAGE_CLASS_INFO 
-AXISCHANDLE axiscBasicNodeGetFirstChild(AXISCHANDLE basicNode) 
+AXISCHANDLE axiscBasicNodeGetFirstChildBasicNode(AXISCHANDLE basicNode) 
 {
     BasicNode *bn = (BasicNode*)basicNode;
     
@@ -230,7 +230,7 @@
 }
 
 AXISC_STORAGE_CLASS_INFO 
-AXISCHANDLE axiscBasicNodeGetLastChild(AXISCHANDLE basicNode) 
+AXISCHANDLE axiscBasicNodeGetLastChildBasicNode(AXISCHANDLE basicNode) 
 {
     BasicNode *bn = (BasicNode*)basicNode;
     
@@ -251,7 +251,7 @@
 }
 
 AXISC_STORAGE_CLASS_INFO 
-AXISCHANDLE axiscBasicNodeGetChild(AXISCHANDLE basicNode, 
+AXISCHANDLE axiscBasicNodeGetChildBasicNode(AXISCHANDLE basicNode, 
                                             int iChildPosition) 
 {
     BasicNode *bn = (BasicNode*)basicNode;
@@ -468,7 +468,7 @@
 }
 
 AXISC_STORAGE_CLASS_INFO 
-AXISCHANDLE axiscBasicNodeClone(AXISCHANDLE basicNode) 
+AXISCHANDLE axiscBasicNodeCloneBasicNode(AXISCHANDLE basicNode) 
 {
     BasicNode *bn = (BasicNode*)basicNode;
     

Modified: webservices/axis/trunk/c/src/cbindings/IHeaderBlockC.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/cbindings/IHeaderBlockC.cpp?rev=407123&r1=407122&r2=407123&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/cbindings/IHeaderBlockC.cpp (original)
+++ webservices/axis/trunk/c/src/cbindings/IHeaderBlockC.cpp Tue May 16 19:41:51 2006
@@ -108,6 +108,9 @@
 
     try
     {
+        if (!pachLocalName && !pachPrefix && !pachUri && !pachValue)
+           return (AXISCHANDLE)(hdr->createChild((NODE_TYPE)eNODE_TYPE));
+        else
            return (AXISCHANDLE)(hdr->createChild((NODE_TYPE)eNODE_TYPE,pachLocalName,
                                               pachPrefix,pachUri,pachValue));
     }
@@ -335,7 +338,7 @@
 }
 
 AXISC_STORAGE_CLASS_INFO 
-int axiscHeaderBlockSetUri(AXISCHANDLE headerBlock, 
+int axiscHeaderBlockSetURI(AXISCHANDLE headerBlock, 
                              const AxiscChar * uri) 
 {
     IHeaderBlock *hdr = (IHeaderBlock*)headerBlock;

Modified: webservices/axis/trunk/c/src/cbindings/client/StubC.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/cbindings/client/StubC.cpp?rev=407123&r1=407122&r2=407123&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/cbindings/client/StubC.cpp (original)
+++ webservices/axis/trunk/c/src/cbindings/client/StubC.cpp Tue May 16 19:41:51 2006
@@ -367,7 +367,10 @@
     
     try
     {
-        return (AXISCHANDLE)s->createSOAPHeaderBlock(pachLocalName,pachUri,pachPrefix);
+        if (pachPrefix)
+            return (AXISCHANDLE)s->createSOAPHeaderBlock(pachLocalName,pachUri,pachPrefix);
+        else
+            return (AXISCHANDLE)s->createSOAPHeaderBlock(pachLocalName,pachUri);     
  
     }
     catch ( AxisException& e  )
     {

Added: webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest1Client.c
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest1Client.c?rev=407123&view=auto
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest1Client.c
(added)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest1Client.c
Tue May 16 19:41:51 2006
@@ -0,0 +1,68 @@
+// Copyright 2003-2004 The Apache Software Foundation.
+// (c) Copyright IBM Corp. 2004, 2005 All Rights Reserved
+// 
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// 
+//        http://www.apache.org/licenses/LICENSE-2.0
+// 
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+/* Tests setLocalName() and getLocalName() APIs in IHeaderBlock 
+  @ Author : James Jose
+*/
+
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <time.h>
+
+#include "CommonClientTestCode.h"
+#include "Calculator.h"
+
+int main(int argc, char* argv[])
+{
+    char endpoint[256];
+    const char* url="http://localhost:80/axis/Calculator";
+    const char* op = 0;
+    int i1=0, i2=0;
+    int iResult;
+    
+    const AxiscChar *localname="TestHeader";
+    
+    AXISCHANDLE ws;
+    AXISCHANDLE phb;
+    AXISCHANDLE fhb;
+
+    if (argc > 1)
+        url = argv[1];
+    sprintf(endpoint, "%s", url);
+    ws = get_Calculator_stub(endpoint);
+
+    op = "add";
+    i1 = 2;
+    i2 = 3;
+    phb = axiscStubCreateSOAPHeaderBlock(ws, "Test","http://ws.apache.org/axisCppTest/",
NULL);
+    printf("%d\n", axiscHeaderBlockSetLocalName(phb, NULL));
+    printf("%s\n", axiscHeaderBlockGetLocalName(phb));
+    printf("%d\n", axiscHeaderBlockSetLocalName(phb, localname));
+    fhb=axiscStubGetFirstSOAPHeaderBlock(ws);
+    localname=axiscHeaderBlockGetLocalName(fhb);
+    printf( "Local Name is %s\n", localname);
+    if (strcmp(op, "add") == 0)
+    {
+        iResult=add(ws, i1, i2);
+        printf("%d\n", iResult );
+    }
+    
+    destroy_Calculator_stub(ws);
+    
+    printf( "---------------------- TEST COMPLETE -----------------------------\n");
+    return 0;
+}
+

Added: webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest2Client.c
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest2Client.c?rev=407123&view=auto
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest2Client.c
(added)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest2Client.c
Tue May 16 19:41:51 2006
@@ -0,0 +1,68 @@
+// Copyright 2003-2004 The Apache Software Foundation.
+// (c) Copyright IBM Corp. 2004, 2005 All Rights Reserved
+// 
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// 
+//        http://www.apache.org/licenses/LICENSE-2.0
+// 
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+/* Tests setPrefix() and setURI() APIs in IHeaderBlock
+@ Author : James Jose
+*/
+
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <time.h>
+
+#include "CommonClientTestCode.h"
+#include "Calculator.h"
+
+
+int main(int argc, char* argv[])
+{
+    AXISCHANDLE ws;
+    
+    char endpoint[256];
+    const char* url="http://localhost:80/axis/Calculator";
+    const char* op = 0;
+    int i1=0, i2=0;
+    int iResult;
+    
+    const AxiscChar *prefix="np";
+    const AxiscChar *uri="http://axis.apache.com";
+    AXISCHANDLE phb;
+    
+
+    if (argc > 1)
+        url = argv[1];
+    sprintf(endpoint, "%s", url);
+    ws = get_Calculator_stub(endpoint);
+    op = "add";
+    i1 = 2;
+    i2 = 3;
+
+    phb = axiscStubCreateSOAPHeaderBlock(ws, "TestHeader","http://apache.org/", NULL);
+    printf("%d\n", axiscHeaderBlockSetPrefix(phb, NULL));
+    printf("%d\n", axiscHeaderBlockSetPrefix(phb, prefix));
+    printf("%d\n", axiscHeaderBlockSetURI(phb, NULL));
+    printf("%d\n", axiscHeaderBlockSetURI(phb, uri));
+    if (strcmp(op, "add") == 0)
+    {
+        iResult=add(ws, i1, i2);
+        printf("%d\n", iResult);
+    }
+
+    destroy_Calculator_stub(ws);
+        
+    printf( "---------------------- TEST COMPLETE -----------------------------\n");
+    return 0;
+}
+

Added: webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest3Client.c
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest3Client.c?rev=407123&view=auto
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest3Client.c
(added)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest3Client.c
Tue May 16 19:41:51 2006
@@ -0,0 +1,90 @@
+// Copyright 2003-2004 The Apache Software Foundation.
+// (c) Copyright IBM Corp. 2004, 2005 All Rights Reserved
+// 
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// 
+//        http://www.apache.org/licenses/LICENSE-2.0
+// 
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+
+/* Tests createNamespaceDecl(),createAttribute() and getAttributeValue() APIs in IHeaderBlock

+@ Author : James Jose
+*/
+
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <time.h>
+
+#include "CommonClientTestCode.h"
+#include "Calculator.h"
+
+
+
+int main(int argc, char* argv[])
+{
+    AXISCHANDLE ws;
+    
+    char endpoint[256];
+    const char* url="http://localhost:80/axis/Calculator";
+    const char* op = 0;
+    int i1=0, i2=0;
+    int iResult;
+    
+    const AxiscChar *prefix="np";
+    const AxiscChar *uri="http://ws.apache.org/";
+    const AxiscChar *temp="apache";
+    const AxiscChar *localname="name";
+
+    AXISCHANDLE phb;
+    AXISCHANDLE Insp1, Insp2;
+    AXISCHANDLE attr1, attr2;
+    AXISCHANDLE Iattr1, Iattr2, Iattr3;
+    
+    if (argc > 1)
+        url = argv[1];
+    sprintf(endpoint, "%s", url);
+    ws = get_Calculator_stub(endpoint);
+    op = "add";
+    i1 = 2;
+    i2 = 3;
+    phb = axiscStubCreateSOAPHeaderBlock(ws, "TestHeader","http://ws.apache.org/", NULL);
+    Insp1=axiscHeaderBlockCreateNamespaceDeclINamespace(phb, prefix,uri);
+    Insp2=axiscHeaderBlockCreateNamespaceDeclINamespace(phb, "np1","http://axis.apache.org/");
+
+    attr1=axiscHeaderBlockCreateAttribute(phb, NULL,NULL,NULL,NULL);
+    attr2=axiscHeaderBlockCreateAttribute(phb, NULL,NULL,NULL,NULL);
+    if(attr1 || attr2)
+        printf( "Attribute returned for NULL arguments in createAttribute\n");
+
+    Iattr1=axiscHeaderBlockCreateAttribute(phb, localname,prefix,NULL,temp);
+    Iattr2=axiscHeaderBlockCreateAttribute(phb, localname,"np1","","Axis");
+    Iattr3=axiscHeaderBlockCreateAttribute(phb, localname,"","","");
+
+    printf( "np:name=%s\n" , axiscHeaderBlockGetAttributeValue(phb, localname,prefix));
+    printf( "np1:name=%s\n" , axiscHeaderBlockGetAttributeValue(phb, "name","np1"));
+    printf("name=%s\n" , axiscHeaderBlockGetAttributeValue(phb, "name",""));
+    if(axiscHeaderBlockGetAttributeValue(phb, NULL,NULL)!=NULL)
+        printf("NULL is not returned for NULL argumets in getAttributeValue\n");
+    if(axiscHeaderBlockGetAttributeValue(phb, "name","nm")!=NULL)
+        printf("NULL is not returned for Non existing attribute\n");
+    if(axiscHeaderBlockGetAttributeValue(phb, "NAME","np1")!=NULL)
+        printf("NULL is not returned for Non existing Attribute\n");
+    if (strcmp(op, "add") == 0)
+    {
+        iResult=add(ws, i1, i2);
+        printf( "%d\n", iResult );
+    }
+
+    destroy_Calculator_stub(ws);
+    
+    printf( "---------------------- TEST COMPLETE -----------------------------\n");
+    return 0;
+}

Added: webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest4Client.c
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest4Client.c?rev=407123&view=auto
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest4Client.c
(added)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest4Client.c
Tue May 16 19:41:51 2006
@@ -0,0 +1,106 @@
+// Copyright 2003-2004 The Apache Software Foundation.
+// (c) Copyright IBM Corp. 2004, 2005 All Rights Reserved
+// 
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// 
+//        http://www.apache.org/licenses/LICENSE-2.0
+// 
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+
+/* Tests createChild(),addChild(),getNoOfChildren() and getchild() APIs 
+@ Author : James Jose
+*/
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <time.h>
+
+#include "CommonClientTestCode.h"
+#include "Calculator.h"
+
+int main(int argc, char* argv[])
+{
+    AXISCHANDLE ws;
+        
+    char endpoint[256];
+    const char* url="http://localhost:80/axis/Calculator";
+    const char* op = 0;
+    int i1=0, i2=0;
+    int iResult;
+
+    AXISCHANDLE phb;
+    AXISCHANDLE ch;
+    AXISCHANDLE Bnode1, Bnode2, Bnode3, Bnode4,Bnode4a, Bnode5, Bnode6, Bnode7, Bnode8;
+    AXISCHANDLE firstnode, secondnode, parentnode, childnode, lastnode;
+    AXISCHANDLE a;
+        
+    AxiscChar *localname="Name";
+    AxiscChar *prefix="np";
+    AxiscChar *uri="http://ws.apache.org/";
+    
+    axiscAxisRegisterExceptionHandler(exceptionHandler);
+
+    if (argc > 1)
+        url = argv[1];
+    sprintf(endpoint, "%s", url);
+    ws = get_Calculator_stub(endpoint);
+    op = "add";
+    i1 = 2;
+    i2 = 3;
+    phb = axiscStubCreateSOAPHeaderBlock(ws, "TestHeader","http://ws.apache.org/", NULL);
+    Bnode1=axiscHeaderBlockCreateChildBasicNode(phb, ELEMENT_NODE,localname,prefix,uri, NULL);
+    /*Passing NULL as argument*/
+    if(axiscHeaderBlockCreateChildBasicNode(phb,ELEMENT_NODE,NULL,NULL,NULL, NULL))
+        printf("NULL Returned for Element_node\n");
+    if(axiscHeaderBlockCreateChildBasicNode(phb,CHARACTER_NODE,NULL,NULL,NULL, NULL))
+        printf("NULL Returned for Character_node\n");
+    Bnode2=axiscHeaderBlockCreateChildBasicNode(phb,CHARACTER_NODE,NULL,NULL,NULL,"APACHE");
+    Bnode3=axiscHeaderBlockCreateChildBasicNode(phb,ELEMENT_NODE,"FirstPart","np1","http://ws.apache.org/",
NULL);
+    Bnode4=axiscHeaderBlockCreateChildBasicNode(phb,ELEMENT_NODE,"LastPart","","http://ws.apache.org/",
NULL);
+    Bnode5=axiscHeaderBlockCreateChildBasicNode(phb,CHARACTER_NODE,"","","","APACHE");
+    Bnode6=axiscHeaderBlockCreateChildBasicNode(phb,ELEMENT_NODE, NULL, NULL, NULL, NULL);
+    axiscBasicNodeSetLocalName(Bnode6, "Project");
+    a=axiscBasicNodeCreateAttribute(Bnode6, "Type",NULL, NULL, "Open Source");
+    printf("Project Type=%s\n" , axiscAttributeGetValue(a) );
+    Bnode7=axiscHeaderBlockCreateChildBasicNode(phb, CHARACTER_NODE, NULL, NULL, NULL, NULL);
+    axiscBasicNodeSetValue(Bnode7, "AXISCPP");
+    Bnode4a=axiscHeaderBlockCreateChildBasicNode(phb, ELEMENT_NODE,"LastPartChild","","http://ws.apache.org/",
NULL);
+    axiscBasicNodeAddChild(Bnode4, Bnode4a);
+    axiscBasicNodeAddChild(Bnode6, Bnode7);
+    axiscBasicNodeAddChild(Bnode3, Bnode2);
+    axiscBasicNodeAddChild(Bnode4a, Bnode5);
+    axiscBasicNodeAddChild(Bnode1, Bnode3);
+    axiscBasicNodeAddChild(Bnode1, Bnode4);
+    axiscHeaderBlockAddChild(phb,Bnode1);
+    axiscHeaderBlockAddChild(phb,Bnode6);
+    Bnode8=axiscHeaderBlockCreateChildBasicNode(phb, CHARACTER_NODE,"","","","This is a test
message");
+    printf("%d\n",  axiscHeaderBlockAddChild(phb, Bnode8));
+    printf("AddChild returned %d For NULL Value \n", axiscHeaderBlockAddChild(phb,NULL));
+    printf( "No Of Children = %d\n" , axiscHeaderBlockGetNoOfChildren(phb));
+    firstnode=axiscHeaderBlockGetFirstChildBasicNode(phb);
+    printf( "First Node Name = %s\n" , axiscBasicNodeGetLocalName(firstnode) );
+    secondnode=axiscHeaderBlockGetChildBasicNode(phb,2);
+    childnode=axiscBasicNodeGetFirstChildBasicNode(secondnode);
+    printf( "Second Node Name=%s Value = %s\n" , axiscBasicNodeGetLocalName(secondnode),
axiscBasicNodeGetValue(childnode)) ;
+    printf( "Second Node Type = %d\n" , axiscBasicNodeGetNodeType(secondnode) );
+    lastnode=axiscHeaderBlockGetLastChildBasicNode(phb);
+    printf( "Last Node Value = %s\n" , axiscBasicNodeGetValue(lastnode) );
+    printf( "Last Node Type = %d\n" , axiscBasicNodeGetNodeType(lastnode) );
+    if (strcmp(op, "add") == 0)
+    {
+        iResult=add(ws, i1, i2);
+        printf( "%d\n", iResult );
+    }
+
+    destroy_Calculator_stub(ws);
+
+    printf( "---------------------- TEST COMPLETE -----------------------------\n");
+    return 0;
+}

Added: webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest5Client.c
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest5Client.c?rev=407123&view=auto
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest5Client.c
(added)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest5Client.c
Tue May 16 19:41:51 2006
@@ -0,0 +1,124 @@
+// Copyright 2003-2004 The Apache Software Foundation.
+// (c) Copyright IBM Corp. 2004, 2005 All Rights Reserved
+// 
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// 
+//        http://www.apache.org/licenses/LICENSE-2.0
+// 
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+
+/* Tests createImmdediateChild() APIs and getChild() API
+@ Author : James Jose
+*/
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <time.h>
+
+#include "CommonClientTestCode.h"
+#include "Calculator.h"
+
+
+
+int main(int argc, char* argv[])
+{
+    AXISCHANDLE ws;
+        
+    char endpoint[256];
+    const char* url="http://localhost:80/axis/Calculator";
+    const char* op = 0;
+    int i1=0, i2=0;
+    int iResult;
+    
+    AxiscChar *localname="Name";
+    AxiscChar *prefix="np";
+    AxiscChar *uri="http://ws.apache.org/";
+
+    AXISCHANDLE phb;
+    AXISCHANDLE Bnoden, Bnoden2;
+    AXISCHANDLE ch;
+    AXISCHANDLE Bnode1, Bnode2, Bnode3, Bnode4, Bnode5, Bnode6, Bnode7, Bnode8, Bnode9;
+    AXISCHANDLE firstnode, parentnode, childnode, lastnode;
+    AXISCHANDLE nullNode, nullNode1, nullNode2;
+    AXISCHANDLE a;
+    
+    
+    axiscAxisRegisterExceptionHandler(exceptionHandler);
+
+    if (argc > 1)
+        url = argv[1];
+    sprintf(endpoint, "%s", url);
+    ws = get_Calculator_stub(endpoint);
+    op = "add";
+    i1 = 2;
+    i2 = 3;
+    phb = axiscStubCreateSOAPHeaderBlock(ws,"TestHeader","http://ws.apache.org/", NULL);
+
+    /*An element node Bnoden1 is created  and set its name using setLocalName() */
+    Bnoden=axiscHeaderBlockCreateImmediateChildBasicNode(phb, ELEMENT_NODE,NULL,NULL,NULL,NULL);
+    printf("%d\n", axiscBasicNodeGetNodeType(Bnoden));
+    axiscBasicNodeSetLocalName(Bnoden, "Project");
+    ch=axiscHeaderBlockCreateChildBasicNode(phb, CHARACTER_NODE,NULL,NULL,NULL,"AXISCPP");
+    axiscBasicNodeAddChild(Bnoden, ch);
+
+    Bnoden2=axiscHeaderBlockCreateImmediateChildBasicNode(phb, CHARACTER_NODE,NULL,NULL,NULL,NULL);
+    if(Bnoden2==NULL)
+        printf( "Null returned for Character_node\n" );
+    else
+        axiscBasicNodeSetValue(Bnoden2, "AXISCPP");
+
+
+    Bnode1=axiscHeaderBlockCreateImmediateChildBasicNode(phb, ELEMENT_NODE,localname,prefix,uri,
NULL);
+    Bnode2=axiscHeaderBlockCreateChildBasicNode(phb, CHARACTER_NODE,NULL,NULL,NULL,"AXIS");
+    Bnode3=axiscHeaderBlockCreateChildBasicNode(phb, ELEMENT_NODE,"FirstPart","np1","http://ws.apache.org/",
NULL);
+    Bnode4=axiscHeaderBlockCreateImmediateChildBasicNode(phb, ELEMENT_NODE,"Location","","http://ws.apache.org/",
NULL);
+    Bnode5=axiscHeaderBlockCreateChildBasicNode(phb, CHARACTER_NODE,"","","","Sri Lanka");
+    Bnode6=axiscHeaderBlockCreateImmediateChildBasicNode(phb, ELEMENT_NODE, NULL, NULL, NULL,
NULL);
+    axiscBasicNodeSetLocalName(Bnode6, "Project");
+    a=axiscBasicNodeCreateAttribute(Bnode6, "Type",NULL, NULL, "Open Source");
+    printf( "Project Type=%s\n",  axiscAttributeGetValue(a)) ;
+    Bnode7=axiscHeaderBlockCreateChildBasicNode(phb, CHARACTER_NODE, NULL, NULL, NULL, NULL);
+    axiscBasicNodeSetValue(Bnode7, "AXISCPP");
+    axiscBasicNodeAddChild(Bnode6, Bnode7);
+    axiscBasicNodeAddChild(Bnode3, Bnode2);
+    axiscBasicNodeAddChild(Bnode4, Bnode5);
+    axiscBasicNodeAddChild(Bnode1, Bnode3);
+    Bnode8=axiscHeaderBlockCreateImmediateChildBasicNode(phb, CHARACTER_NODE,"","","","This
is a test ");
+    Bnode9=axiscHeaderBlockCreateImmediateChildBasicNode(phb, CHARACTER_NODE, NULL, NULL,
NULL, NULL);
+    axiscBasicNodeSetValue(Bnode9, "message");
+    printf( "No Of Children=%d\n", axiscHeaderBlockGetNoOfChildren(phb)) ;
+    firstnode=axiscHeaderBlockGetFirstChildBasicNode(phb);
+    printf( "First Node Name = %s\n", axiscBasicNodeGetLocalName(firstnode)) ;
+    parentnode=axiscHeaderBlockGetChildBasicNode(phb, 5);
+    childnode=axiscBasicNodeGetFirstChildBasicNode(parentnode);
+    printf( "Parent Node Name = %s", axiscBasicNodeGetLocalName(parentnode));
+    printf(  " Value =%s\n", axiscBasicNodeGetValue(childnode) );
+    lastnode=axiscHeaderBlockGetLastChildBasicNode(phb);
+    printf("Last Child Value=%s\n", axiscBasicNodeGetValue(lastnode));
+    nullNode=axiscHeaderBlockGetChildBasicNode(phb, axiscHeaderBlockGetNoOfChildren(phb)+1);
+    if(nullNode!=NULL)
+        printf( "NULL is not returned for non existing node\n" ) ;
+    nullNode1=axiscHeaderBlockGetChildBasicNode(phb, 0);
+    if(nullNode1!=NULL)
+        printf( "NULL is not returned for child location 0\n") ;
+    nullNode2=axiscHeaderBlockGetChildBasicNode(phb, -2);
+    if(nullNode2!=NULL)
+        printf( "NULL is not returned for -ve  child location\n");
+    if (strcmp(op, "add") == 0)
+    {
+        iResult=add(ws, i1, i2);
+        printf("%d\n", iResult );
+    }
+
+    destroy_Calculator_stub(ws);
+    
+    printf( "---------------------- TEST COMPLETE -----------------------------\n");
+    return 0;
+}

Added: webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest6Client.c
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest6Client.c?rev=407123&view=auto
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest6Client.c
(added)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest6Client.c
Tue May 16 19:41:51 2006
@@ -0,0 +1,76 @@
+// Copyright 2003-2004 The Apache Software Foundation.
+// (c) Copyright IBM Corp. 2004, 2005 All Rights Reserved
+// 
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// 
+//        http://www.apache.org/licenses/LICENSE-2.0
+// 
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+
+/*This program tests clone() API in the IHeaderBlock class
+@ Author : James Jose
+*/
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <time.h>
+
+#include "CommonClientTestCode.h"
+#include "Calculator.h"
+
+
+int main(int argc, char* argv[])
+{
+    AXISCHANDLE ws;
+        
+    char endpoint[256];
+    const char* url="http://localhost:80/axis/Calculator";
+    const char* op = 0;
+    int i1=0, i2=0;
+    int iResult;
+
+    AXISCHANDLE phb;
+    AXISCHANDLE cl;
+    AXISCHANDLE bn, bn1, bn2;
+    
+    
+    axiscAxisRegisterExceptionHandler(exceptionHandler);
+ 
+    if (argc > 1)
+        url = argv[1];
+    sprintf(endpoint, "%s", url);
+    ws = get_Calculator_stub(endpoint);
+    phb=axiscStubCreateSOAPHeaderBlock(ws,"TestHeader","http://apache.com","np");
+    axiscHeaderBlockCreateImmediateChildBasicNode(phb, CHARACTER_NODE,"","","","Test Message");
+    cl=axiscHeaderBlockCloneHeaderBlock(phb);
+    axiscHeaderBlockCreateImmediateChildBasicNode(cl,ELEMENT_NODE,"Name","","","");
+    printf("No of Child in clone=%d\n", axiscHeaderBlockGetNoOfChildren(cl));
+    printf("No of Child in original=%d\n", axiscHeaderBlockGetNoOfChildren(phb));
+    bn=axiscHeaderBlockGetFirstChildBasicNode(phb);
+    axiscBasicNodeSetValue(bn, "Axis");
+    printf( "First Child Value=%s\n", axiscBasicNodeGetValue(bn));
+    bn1=axiscHeaderBlockGetFirstChildBasicNode(cl);
+    bn2=axiscHeaderBlockGetLastChildBasicNode(cl);
+    printf( "First Child Value in clone=%s\n", axiscBasicNodeGetValue(bn1));
+    printf( "Last Child Name in clone=%s\n", axiscBasicNodeGetLocalName(bn2));
+    op = "add";
+    i1 = 2;
+    i2 = 3;
+    if (strcmp(op, "add") == 0)
+    {
+        iResult = add(ws, i1, i2);
+        printf("%d\n", iResult);
+    }
+
+    destroy_Calculator_stub(ws);
+    
+    printf("---------------------- TEST COMPLETE -----------------------------\n");
+    return 0;
+}

Added: webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest7Client.c
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest7Client.c?rev=407123&view=auto
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest7Client.c
(added)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest7Client.c
Tue May 16 19:41:51 2006
@@ -0,0 +1,63 @@
+// Copyright 2003-2004 The Apache Software Foundation.
+// (c) Copyright IBM Corp. 2004, 2005 All Rights Reserved
+// 
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// 
+//        http://www.apache.org/licenses/LICENSE-2.0
+// 
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+
+/* Tests addChild() API in IHeaderBlock
+  Author @James Jose  
+*/
+
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <time.h>
+
+#include "CommonClientTestCode.h"
+#include "Calculator.h"
+
+
+
+int main(int argc, char* argv[])
+{
+    AXISCHANDLE ws;
+        
+    char endpoint[256];
+    const char* url="http://localhost:80/axis/Calculator";
+    int i1=2, i2=3;
+    int iResult;
+    
+    AxiscChar *uri="http://ws.apache.org/";   
+    AXISCHANDLE phb; 
+    AXISCHANDLE Bnode1, Bnode2;
+    
+    axiscAxisRegisterExceptionHandler(exceptionHandler);
+
+    if(argc > 1)
+        url = argv[1];
+    sprintf(endpoint, "%s", url);
+    ws = get_Calculator_stub(endpoint);
+
+    phb = axiscStubCreateSOAPHeaderBlock(ws, "TestHeader","http://ws.apache.org/", NULL);
+    Bnode1=axiscHeaderBlockCreateChildBasicNode(phb, CHARACTER_NODE,NULL,NULL,NULL,"APACHE
");
+    axiscHeaderBlockAddChild(phb, Bnode1);
+    Bnode2=axiscHeaderBlockCreateChildBasicNode(phb, CHARACTER_NODE,NULL,NULL,NULL,"is cool");
+    axiscHeaderBlockAddChild(phb, Bnode2);
+    iResult=add(ws, i1, i2);
+    printf("\n%d\n", iResult);
+
+    destroy_Calculator_stub(ws);
+                
+    printf( "---------------------- TEST COMPLETE -----------------------------\n");
+    return 0;
+}

Added: webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest8Client.c
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest8Client.c?rev=407123&view=auto
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest8Client.c
(added)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/c/IHeaderBlockTest8Client.c
Tue May 16 19:41:51 2006
@@ -0,0 +1,87 @@
+// Copyright 2003-2004 The Apache Software Foundation.
+// (c) Copyright IBM Corp. 2004, 2005 All Rights Reserved
+// 
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// 
+//        http://www.apache.org/licenses/LICENSE-2.0
+// 
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+/* Tests createStdAttribute APIs for SOAPVER_1_1 in IHeaderBlock 
+   Author @ James Jose
+*/
+
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <time.h>
+
+#include "CommonClientTestCode.h"
+#include "Calculator.h"
+
+
+
+int main(int argc, char* argv[])
+{
+    AXISCHANDLE ws, ws1, ws2, ws3;
+        
+    char endpoint[256];
+    const char* url="http://localhost:80/axis/Calculator";
+    int i1=0, i2=0;
+    int iResult;
+    
+    AXISCHANDLE phb, phb1, phb2, phb3;
+    AXISCHANDLE attr, attr1, attr2, attr3;
+    
+    axiscAxisRegisterExceptionHandler(exceptionHandler);
+
+    if(argc>1)
+        url = argv[1];
+    sprintf(endpoint, "%s", url);
+    ws = get_Calculator_stub(endpoint);
+    i1 = 2;
+    i2 = 3;
+    phb = axiscStubCreateSOAPHeaderBlock(ws,"TestHeader","http://ws.apache.org/", NULL);
+    attr = axiscHeaderBlockCreateStdAttribute(phb, ACTOR,SOAP_VER_1_1);
+    printf("%s = %s\n",  axiscAttributeGetLocalName(attr), axiscAttributeGetValue(attr));
+    
+    iResult=add(ws, i1, i2);
+    printf("%d\n",  iResult );
+    
+    ws1 = get_Calculator_stub(endpoint);
+    phb1 = axiscStubCreateSOAPHeaderBlock(ws1, "TestHeader","http://ws.apache.org/", NULL);
+    attr1 = axiscHeaderBlockCreateStdAttribute(phb1, MUST_UNDERSTAND_TRUE,SOAP_VER_1_1);
+    printf("%s = %s\n",  axiscAttributeGetLocalName(attr1), axiscAttributeGetValue(attr1));
+    iResult=add(ws1, i1, i2);
+    printf("%d\n",  iResult );
+    
+    ws2 = get_Calculator_stub(endpoint);
+    phb2 = axiscStubCreateSOAPHeaderBlock(ws2, "TestHeader","http://ws.apache.org/", NULL);
+    attr2 = axiscHeaderBlockCreateStdAttribute(phb2, MUST_UNDERSTAND_FALSE,SOAP_VER_1_1);
+    printf("%s = %s\n",  axiscAttributeGetLocalName(attr2), axiscAttributeGetValue(attr2));
+    iResult=add(ws2, i1, i2);
+    printf("%d\n",  iResult );
+    
+    ws3 = get_Calculator_stub(endpoint);
+    phb3 = axiscStubCreateSOAPHeaderBlock(ws3, "TestHeader","http://ws.apache.org/", NULL);
+    attr3 = axiscHeaderBlockCreateStdAttribute(phb3, ROLE_NEXT,SOAP_VER_1_1);
+    if(attr3==NULL)
+        printf( "Null returned for non supporting standard attribute \n" );
+    iResult=add(ws3, i1, i2);
+    printf("%d\n",  iResult );
+            
+    destroy_Calculator_stub(ws);
+    destroy_Calculator_stub(ws1);
+    destroy_Calculator_stub(ws2);
+    destroy_Calculator_stub(ws3);
+                    
+    printf("---------------------- TEST COMPLETE -----------------------------\n");
+    return 0;
+}
+

Added: webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest1C.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest1C.xml?rev=407123&view=auto
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest1C.xml (added)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest1C.xml Tue May
16 19:41:51 2006
@@ -0,0 +1,16 @@
+<test>
+    <name>IHeaderBlockTest1C</name>
+    <description>IHeaderBlockTest1C</description>
+    <clientLang>c</clientLang>
+    <clientCode>IHeaderBlockTest1Client.c</clientCode>
+    <wsdl>CalculatorDocC.wsdl</wsdl>
+    <expected>
+        <output>
+            IHeaderBlockTest1.expected
+        </output>
+	<request> 
+		IHeaderBlockTest1Request.out 
+	</request>
+    </expected>
+	<endpoint>http://localhost:80/axis/CalculatorDoc</endpoint>
+</test>

Added: webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest2C.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest2C.xml?rev=407123&view=auto
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest2C.xml (added)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest2C.xml Tue May
16 19:41:51 2006
@@ -0,0 +1,16 @@
+<test>
+    <name>IHeaderBlockTest2C</name>
+    <description>IHeaderBlockTest2C</description>
+    <clientLang>c</clientLang>
+    <clientCode>IHeaderBlockTest2Client.c</clientCode>
+    <wsdl>CalculatorDocC.wsdl</wsdl>
+    <expected>
+        <output>
+            IHeaderBlockTest2.expected
+        </output>
+	<request> 
+		IHeaderBlockTest2Request.out 
+	</request>
+    </expected>
+	<endpoint>http://localhost:80/axis/CalculatorDoc</endpoint>
+</test>

Added: webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest3C.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest3C.xml?rev=407123&view=auto
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest3C.xml (added)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest3C.xml Tue May
16 19:41:51 2006
@@ -0,0 +1,17 @@
+<test>
+    <name>IHeaderBlockTest3C</name>
+    <description>IHeaderBlockTest3C</description>
+    <clientLang>c</clientLang>
+    <clientCode>IHeaderBlockTest3Client.c</clientCode>
+    <wsdl>CalculatorDocC.wsdl</wsdl>
+    <expected>
+        <output>
+            IHeaderBlockTest3.expected
+        </output>
+	<request> 
+		IHeaderBlockTest3Request.out 
+	</request>
+
+    </expected>
+	<endpoint>http://localhost:80/axis/CalculatorDoc</endpoint>
+</test>

Added: webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest4C.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest4C.xml?rev=407123&view=auto
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest4C.xml (added)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest4C.xml Tue May
16 19:41:51 2006
@@ -0,0 +1,17 @@
+<test>
+    <name>IHeaderBlockTest4C</name>
+    <description>IHeaderBlockTest4C</description>
+    <clientLang>c</clientLang>
+    <clientCode>IHeaderBlockTest4Client.c</clientCode>
+    <wsdl>CalculatorDocC.wsdl</wsdl>
+    <expected>
+        <output>
+            IHeaderBlockTest4.expected
+        </output>
+	<request> 
+	IHeaderBlockTest4Request.out 
+	</request> 
+
+    </expected>
+	<endpoint>http://localhost:80/axis/CalculatorDoc</endpoint>
+</test>

Added: webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest5C.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest5C.xml?rev=407123&view=auto
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest5C.xml (added)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest5C.xml Tue May
16 19:41:51 2006
@@ -0,0 +1,16 @@
+<test>
+    <name>IHeaderBlockTest5C</name>
+    <description>IHeaderBlockTest5C</description>
+    <clientLang>c</clientLang>
+    <clientCode>IHeaderBlockTest5Client.c</clientCode>
+    <wsdl>CalculatorDocC.wsdl</wsdl>
+    <expected>
+        <output>
+            IHeaderBlockTest5.expected
+        </output>
+	<request> 
+	IHeaderBlockTest5Request.out 
+	</request> 
+    </expected>
+	<endpoint>http://localhost:80/axis/CalculatorDoc</endpoint>
+</test>

Added: webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest6C.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest6C.xml?rev=407123&view=auto
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest6C.xml (added)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest6C.xml Tue May
16 19:41:51 2006
@@ -0,0 +1,16 @@
+<test>
+    <name>IHeaderBlockTest6C</name>
+    <description>IHeaderBlockTest6C</description>
+    <clientLang>c</clientLang>
+    <clientCode>IHeaderBlockTest6Client.c</clientCode>
+    <wsdl>CalculatorDocC.wsdl</wsdl>
+    <expected>
+        <output>
+            IHeaderBlockTest6.expected
+        </output>
+	<request> 
+	IHeaderBlockTest6Request.out 
+	</request> 
+    </expected>
+	<endpoint>http://localhost:80/axis/CalculatorDoc</endpoint>
+</test>

Added: webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest7C.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest7C.xml?rev=407123&view=auto
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest7C.xml (added)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest7C.xml Tue May
16 19:41:51 2006
@@ -0,0 +1,17 @@
+<test>
+    <name>IHeaderBlockTest7C</name>
+    <description>IHeaderBlockTest7C</description>
+    <clientLang>c</clientLang>
+    <clientCode>IHeaderBlockTest7Client.c</clientCode>
+    <wsdl>CalculatorDocC.wsdl</wsdl>
+    <expected>
+        <output>
+            IHeaderBlockTest7.expected
+        </output>
+	<request> 
+	IHeaderBlockTest7Request.out 
+	</request> 
+
+    </expected>
+	<endpoint>http://localhost:80/axis/CalculatorDoc</endpoint>
+</test>

Added: webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest8C.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest8C.xml?rev=407123&view=auto
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest8C.xml (added)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/tests/IHeaderBlockTest8C.xml Tue May
16 19:41:51 2006
@@ -0,0 +1,17 @@
+<test>
+    <name>IHeaderBlockTest8C</name>
+    <description>IHeaderBlockTest8C</description>
+    <clientLang>c</clientLang>
+    <clientCode>IHeaderBlockTest8Client.c</clientCode>
+    <wsdl>CalculatorDocC.wsdl</wsdl>
+    <expected>
+        <output>
+            IHeaderBlockTest8.expected
+        </output>
+	<request> 
+		IHeaderBlockTest8Request.out 
+	</request>
+
+    </expected>
+	<endpoint>http://localhost:80/axis/CalculatorDoc</endpoint>
+</test>



Mime
View raw message