You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by pe...@apache.org on 2005/02/03 11:24:50 UTC

cvs commit: ws-axis/c/tests/auto_build/testcases/tests TestSetEndpoint.xml TestSoapHeaderBlock.xml TestSoapHeaderBlock2.xml TestSoapHeaderBlock3.xml

perryan     2005/02/03 02:24:50

  Added:       c/tests/auto_build/testcases/client/cpp
                        TestSetEndpointClient.cpp
                        TestSoapHeaderBlock2Client.cpp
                        TestSoapHeaderBlock3Client.cpp
                        TestSoapHeaderBlockClient.cpp
               c/tests/auto_build/testcases/output TestSetEndpoint.expected
                        TestSoapHeaderBlock.expected
                        TestSoapHeaderBlock2.expected
                        TestSoapHeaderBlock2Request.out
                        TestSoapHeaderBlock3.expected
                        TestSoapHeaderBlock3Request.out
                        TestSoapHeaderBlockRequest.out
               c/tests/auto_build/testcases/tests TestSetEndpoint.xml
                        TestSoapHeaderBlock.xml TestSoapHeaderBlock2.xml
                        TestSoapHeaderBlock3.xml
  Log:
  New Axis C++ testcases added for Manohar. He is a voted in committer, but is still awaiting his karma to be granted.
  
  Revision  Changes    Path
  1.1                  ws-axis/c/tests/auto_build/testcases/client/cpp/TestSetEndpointClient.cpp
  
  Index: TestSetEndpointClient.cpp
  ===================================================================
  /* This test tests the setEndPoint(const char * pcEndPointURI) method
   * in Stub class  
   */
  
  #include "Calculator.hpp"
  
  int main(int argc, char* argv[])
  {
  	char endpoint[256];
  	const char* url="http://localhost:80/axis/Calculator";
  	int iResult;
  
  	url = argv[1];
  
  	try
  	{
  		sprintf(endpoint, "%s", url);
  		Calculator ws;
  		printf("EndPointURI is = %s \n", url);
  		ws.setEndPoint(url);
  
  		iResult = ws.add(2,3);
  		printf("%d\n", iResult);
  	}
  	catch(AxisException& e)
  	{
  	    printf("in AxisException block \n");
  	    printf("Exception : %s\n", e.what());
  	}
  	catch(exception& e)
  	{
  	    printf("Unknown exception has occured\n" );
  	}
  	catch(...)
          {
  	    printf("Unpecified exception has occured \n" );
  	}
  
  	return 0;
  }
  
  
  
  
  1.1                  ws-axis/c/tests/auto_build/testcases/client/cpp/TestSoapHeaderBlock2Client.cpp
  
  Index: TestSoapHeaderBlock2Client.cpp
  ===================================================================
  /* This test tests the createSOAPHeaderBlock(), getFirstSOAPHeaderBlock(),deleteSOAPHeaderBlock(),
   * getCurrentSOAPHeaderBlock() and deleteCurrentSOAPHeaderBlock() methods in Stub class  
   */
  
  #include "MathOps.hpp"
  
  
  int main(int argc, char *argv[])
  {
  	char endpoint[256];
      const char* url="http://localhost:80/axis/MathOps";
      int iResult=0;
      
      url = argv[1];
      sprintf(endpoint, "%s", url);
      MathOps ws;
      ws.setEndPoint(url);
  
  
  	/*create a header of the form:
  	<SOAP-ENV:Header>
      <th:TestHeader xmlns:th="http://ws.apache.org/axisCppTest/">
      <Credentials1>
      <username>Test User</username>
      <password>Test Password</password>
      </Credentials1>
      </th:TestHeader>
      </SOAP-ENV:Header>
  	*/
  	
  	
  
      //creating  first SOAP header block 
      IHeaderBlock *phb = ws.createSOAPHeaderBlock("TestHeader1", "http://ws.apache.org/axisCppTest/");
  
      //create parent node
      BasicNode *parentNode = phb->createChild(ELEMENT_NODE);
      parentNode->setLocalName("Credentials1");
      BasicNode *childNode = phb->createChild(ELEMENT_NODE);
      childNode->setLocalName("username1");
      BasicNode *valueNode = phb->createChild(CHARACTER_NODE);
      valueNode->setValue("Test User1");
      childNode->addChild(valueNode);
      parentNode->addChild(childNode);
  
      //add another node set
      childNode = phb->createChild(ELEMENT_NODE);
      childNode->setLocalName("password1");
      valueNode = phb->createChild(CHARACTER_NODE);
      valueNode->setValue("Test Password1");
      childNode->addChild(valueNode);
      parentNode->addChild(childNode);
  
  	phb->addChild(parentNode);
  	
  	//Creating second SOAP header block
  	phb = ws.createSOAPHeaderBlock("TestHeader2",
                                     "http://ws.apache.org/axisCppTest/");
                                                                                                                                                                              
      //create parent node
      parentNode = phb->createChild(ELEMENT_NODE);
      parentNode->setLocalName("Credentials2");
      childNode = phb->createChild(ELEMENT_NODE);
      childNode->setLocalName("username2");
      valueNode = phb->createChild(CHARACTER_NODE);
      valueNode->setValue("Test User2");
      childNode->addChild(valueNode);
      parentNode->addChild(childNode);
      //add another node set
      childNode = phb->createChild(ELEMENT_NODE);
      childNode->setLocalName("password2");
      valueNode = phb->createChild(CHARACTER_NODE);
      valueNode->setValue("Test Password2");
      childNode->addChild(valueNode);
      parentNode->addChild(childNode);
  
      //add another node set
      childNode = phb->createChild(ELEMENT_NODE);
      childNode->setLocalName("Key");
      valueNode = phb->createChild(CHARACTER_NODE);
      valueNode->setValue("Test Key");
      childNode->addChild(valueNode);
      parentNode->addChild(childNode);
  
      phb->addChild(parentNode);
  
  	printf("invoking MathOps div...\n");
  	try
  		{
                  iResult = ws.div(15,5);
                  printf("%d\n", iResult);		
          }
          catch (AxisException& e)
          {
                  printf("%s\n", e.what());
          }
          catch(...)
          {
                  printf("Unknown exception\n");
          }
  	
     
     IHeaderBlock *header = NULL;
     header = ws.getFirstSOAPHeaderBlock();
     ws.deleteSOAPHeaderBlock(ws.getCurrentSOAPHeaderBlock());
     ws.deleteCurrentSOAPHeaderBlock();  
  
      try
      {
                  iResult = ws.div(15,5);
                  printf("%d\n", iResult);
      }
      catch (AxisException& e)
      {
          printf("%s\n", e.what());
      }
      catch(...)
      {
          printf("Unknown exception\n");
      }
  
  	
      return 0;
  }
                                   
  
  
  1.1                  ws-axis/c/tests/auto_build/testcases/client/cpp/TestSoapHeaderBlock3Client.cpp
  
  Index: TestSoapHeaderBlock3Client.cpp
  ===================================================================
  /* This test tests the getNextSOAPHeaderBlock()
   * method in Stub class  
   */
  
  #include "MathOps.hpp"
  #include <iostream>
  int main(int argc, char *argv[])
  {
  	char endpoint[256];
      const char* url="http://localhost:80/axis/MathOps";
      int iResult=0;
      
      url = argv[1];
      sprintf(endpoint, "%s", url);
      MathOps ws;
      ws.setEndPoint(url);
  
  
  	/*create a header of the form:
  	<SOAP-ENV:Header>
      <th:TestHeader xmlns:th="http://ws.apache.org/axisCppTest/">
      <Credentials1>
      <username>Test User</username>
      <password>Test Password</password>
      </Credentials1>
      </th:TestHeader>
      </SOAP-ENV:Header>
  	*/
  	
  	
  
      //creating  first SOAP header block 
      IHeaderBlock *phb = ws.createSOAPHeaderBlock("TestHeader1", "http://ws.apache.org/axisCppTest/");
  	
      //create parent node
      BasicNode *parentNode = phb->createChild(ELEMENT_NODE);
      parentNode->setLocalName("Credentials1");
      BasicNode *childNode = phb->createChild(ELEMENT_NODE);
      childNode->setLocalName("username1");
      BasicNode *valueNode = phb->createChild(CHARACTER_NODE);
      valueNode->setValue("Test User1");
      childNode->addChild(valueNode);
      parentNode->addChild(childNode);
  
      //add another node set
      childNode = phb->createChild(ELEMENT_NODE);
      childNode->setLocalName("password1");
      valueNode = phb->createChild(CHARACTER_NODE);
      valueNode->setValue("Test Password1");
      childNode->addChild(valueNode);
      parentNode->addChild(childNode);
  
  	phb->addChild(parentNode);
  	
  	//Creating second SOAP header block
  	phb = ws.createSOAPHeaderBlock("TestHeader2",
                                     "http://ws.apache.org/axisCppTest/");
                                                                                                                                                                              
      //create parent node
      parentNode = phb->createChild(ELEMENT_NODE);
      parentNode->setLocalName("Credentials2");
      childNode = phb->createChild(ELEMENT_NODE);
      childNode->setLocalName("username2");
      valueNode = phb->createChild(CHARACTER_NODE);
      valueNode->setValue("Test User2");
      childNode->addChild(valueNode);
      parentNode->addChild(childNode);
      //add another node set
      childNode = phb->createChild(ELEMENT_NODE);
      childNode->setLocalName("password2");
      valueNode = phb->createChild(CHARACTER_NODE);
      valueNode->setValue("Test Password2");
      childNode->addChild(valueNode);
      parentNode->addChild(childNode);
  
      //add another node set
      childNode = phb->createChild(ELEMENT_NODE);
      childNode->setLocalName("Key");
      valueNode = phb->createChild(CHARACTER_NODE);
      valueNode->setValue("Test Key");
      childNode->addChild(valueNode);
      parentNode->addChild(childNode);
  
      phb->addChild(parentNode);
  
  	printf("invoking MathOps div...\n");
  	try
  		{
                  iResult = ws.div(15,5);
                  printf("%d\n", iResult);		
          }
          catch (AxisException& e)
          {
                  printf("%s\n", e.what());
          }
          catch(...)
          {
                  printf("Unknown exception\n");
          }
  	
     
     IHeaderBlock *header = NULL;
     header = ws.getFirstSOAPHeaderBlock();
     header = ws.getNextSOAPHeaderBlock();
     ws.deleteSOAPHeaderBlock(ws.getCurrentSOAPHeaderBlock());
     header = ws.getFirstSOAPHeaderBlock();
     ws.deleteCurrentSOAPHeaderBlock();  
     
     //to test weather getNextSOAPHeaderBlock returns NULL when there are no header blocks exist.
     header = ws.getNextSOAPHeaderBlock();
     if ( header == NULL)
  	   cout << "header is null" << endl ;
     else
  	   cout << header << endl ;
  
      try
      {
                  iResult = ws.div(15,5);
                  printf("%d\n", iResult);
      }
      catch (AxisException& e)
      {
          printf("%s\n", e.what());
      }
      catch(...)
      {
          printf("Unknown exception\n");
      }
  
  	
      return 0;
  }
                                   
  
  
  1.1                  ws-axis/c/tests/auto_build/testcases/client/cpp/TestSoapHeaderBlockClient.cpp
  
  Index: TestSoapHeaderBlockClient.cpp
  ===================================================================
  /* This test tests the createSOAPHeaderBlock (AxisChar* pachLocalName,AxisChar* pachUri,AxisChar* pachPrefix)
   * method in Stub class  
   */
  
  #include "MathOps.hpp"
  
  int main(int argc, char *argv[])
  {
  	char endpoint[256];
      const char* url="http://localhost:80/axis/MathOps";
      int iResult=0;
      //AxisChar * localname = "    " ;
  
      url = argv[1];
      sprintf(endpoint, "%s", url);
      MathOps ws;
      ws.setEndPoint(url);
  
  
  	/*create a header of the form:
  	<SOAP-ENV:Header>
      <th:TestHeader xmlns:th="http://ws.apache.org/axisCppTest/">
      <Credentials>
      <username>Test User</username>
      <password>Test Password</password>
      </Credentials>
      </th:TestHeader>
      </SOAP-ENV:Header>
  	*/
  
      //set SOAP headers
      IHeaderBlock *phb = ws.createSOAPHeaderBlock("TestHeader", "http://ws.apache.org/axisCppTest/","th1");
      //IHeaderBlock *phb = ws.createSOAPHeaderBlock("      ", "          ", "   ");
  
      //create parent node
      BasicNode *parentNode = phb->createChild(ELEMENT_NODE);
      parentNode->setLocalName("Credentials");
      //create child node
      BasicNode *childNode = phb->createChild(ELEMENT_NODE);
      childNode->setLocalName("username");
      //create char node for value
      BasicNode *valueNode = phb->createChild(CHARACTER_NODE);
      valueNode->setValue("Test User");
      //buld node tree
      childNode->addChild(valueNode);
      parentNode->addChild(childNode);
  
      //add another node set
      childNode = phb->createChild(ELEMENT_NODE);
      childNode->setLocalName("password");
  
      valueNode = phb->createChild(CHARACTER_NODE);
      valueNode->setValue("Test Password");
  
      childNode->addChild(valueNode);
      parentNode->addChild(childNode);
  
      phb->addChild(parentNode);
  
      printf("invoking MathOps div...\n");
      //testing add function
          try
          {
                  iResult = ws.div(15,5);
                  printf("%d\n", iResult);
  
          }
          catch (AxisException& e)
          {
                  printf("%s\n", e.what());
          }
          catch(...)
          {
                  printf("Unknown exception\n");
          }
  
      //test removing SOAP header block using pointer
      IHeaderBlock *header = NULL;
      header = ws.getFirstSOAPHeaderBlock();
      ws.deleteSOAPHeaderBlock(header);
  
      try
      {
                  iResult = ws.div(15,5);
                  printf("%d\n", iResult);
      }
      catch (AxisException& e)
      {
          printf("%s\n", e.what());
      }
      catch(...)
      {
          printf("Unknown exception\n");
      }
  
  
      return 0;
  }
                                                            
  
  
  1.1                  ws-axis/c/tests/auto_build/testcases/output/TestSetEndpoint.expected
  
  Index: TestSetEndpoint.expected
  ===================================================================
  EndPointURI is = http://localhost:13260/Calculator/services/Calculator 
  5
  
  
  
  1.1                  ws-axis/c/tests/auto_build/testcases/output/TestSoapHeaderBlock.expected
  
  Index: TestSoapHeaderBlock.expected
  ===================================================================
  invoking MathOps div...
  3
  3
  
  
  
  1.1                  ws-axis/c/tests/auto_build/testcases/output/TestSoapHeaderBlock2.expected
  
  Index: TestSoapHeaderBlock2.expected
  ===================================================================
  invoking MathOps div...
  3
  3
  
  
  
  1.1                  ws-axis/c/tests/auto_build/testcases/output/TestSoapHeaderBlock2Request.out
  
  Index: TestSoapHeaderBlock2Request.out
  ===================================================================
  POST /MathOps/services/MathOps HTTP/1.1
  Host: localhost:13260
  Content-Type: text/xml; charset=UTF-8
  SOAPAction: ""
  Content-Length: 803
  
  <?xml version='1.0' encoding='utf-8' ?>
  <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <SOAP-ENV:Header><ns2:TestHeader1 xmlns:ns2="http://ws.apache.org/axisCppTest/"><Credentials1><username1>Test User1</username1><password1>Test Password1</password1></Credentials1></ns2:TestHeader1><ns3:TestHeader2 xmlns:ns3="http://ws.apache.org/axisCppTest/"><Credentials2><username2>Test User2</username2><password2>Test Password2</password2><Key>Test Key</Key></Credentials2></ns3:TestHeader2></SOAP-ENV:Header>
  <SOAP-ENV:Body>
  <ns1:div xmlns:ns1="http://soapinterop.org">
  <ns1:arg_0_0>15</ns1:arg_0_0>
  <ns1:arg_1_0>5</ns1:arg_1_0>
  </ns1:div>
  </SOAP-ENV:Body>
  </SOAP-ENV:Envelope>
  
  POST /MathOps/services/MathOps HTTP/1.1
  Host: localhost:13260
  Content-Type: text/xml; charset=UTF-8
  SOAPAction: ""
  Content-Length: 388
  
  <?xml version='1.0' encoding='utf-8' ?>
  <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <SOAP-ENV:Body>
  <ns1:div xmlns:ns1="http://soapinterop.org">
  <ns1:arg_0_0>15</ns1:arg_0_0>
  <ns1:arg_1_0>5</ns1:arg_1_0>
  </ns1:div>
  </SOAP-ENV:Body>
  </SOAP-ENV:Envelope>
  
  
  
  
  1.1                  ws-axis/c/tests/auto_build/testcases/output/TestSoapHeaderBlock3.expected
  
  Index: TestSoapHeaderBlock3.expected
  ===================================================================
  invoking MathOps div...
  3
  header is null
  3
  
  
  
  1.1                  ws-axis/c/tests/auto_build/testcases/output/TestSoapHeaderBlock3Request.out
  
  Index: TestSoapHeaderBlock3Request.out
  ===================================================================
  POST /MathOps/services/MathOps HTTP/1.1
  Host: localhost:13260
  Content-Type: text/xml; charset=UTF-8
  SOAPAction: ""
  Content-Length: 803
  
  <?xml version='1.0' encoding='utf-8' ?>
  <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <SOAP-ENV:Header><ns2:TestHeader1 xmlns:ns2="http://ws.apache.org/axisCppTest/"><Credentials1><username1>Test User1</username1><password1>Test Password1</password1></Credentials1></ns2:TestHeader1><ns3:TestHeader2 xmlns:ns3="http://ws.apache.org/axisCppTest/"><Credentials2><username2>Test User2</username2><password2>Test Password2</password2><Key>Test Key</Key></Credentials2></ns3:TestHeader2></SOAP-ENV:Header>
  <SOAP-ENV:Body>
  <ns1:div xmlns:ns1="http://soapinterop.org">
  <ns1:arg_0_0>15</ns1:arg_0_0>
  <ns1:arg_1_0>5</ns1:arg_1_0>
  </ns1:div>
  </SOAP-ENV:Body>
  </SOAP-ENV:Envelope>
  
  POST /MathOps/services/MathOps HTTP/1.1
  Host: localhost:13260
  Content-Type: text/xml; charset=UTF-8
  SOAPAction: ""
  Content-Length: 388
  
  <?xml version='1.0' encoding='utf-8' ?>
  <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <SOAP-ENV:Body>
  <ns1:div xmlns:ns1="http://soapinterop.org">
  <ns1:arg_0_0>15</ns1:arg_0_0>
  <ns1:arg_1_0>5</ns1:arg_1_0>
  </ns1:div>
  </SOAP-ENV:Body>
  </SOAP-ENV:Envelope>
  
  
  
  
  1.1                  ws-axis/c/tests/auto_build/testcases/output/TestSoapHeaderBlockRequest.out
  
  Index: TestSoapHeaderBlockRequest.out
  ===================================================================
  POST /MathOps/services/MathOps HTTP/1.1
  Host: localhost:13260
  Content-Type: text/xml; charset=UTF-8
  SOAPAction: ""
  Content-Length: 594
  
  <?xml version='1.0' encoding='utf-8' ?>
  <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <SOAP-ENV:Header><th1:TestHeader xmlns:th1="http://ws.apache.org/axisCppTest/"><Credentials><username>Test User</username><password>Test Password</password></Credentials></th1:TestHeader></SOAP-ENV:Header>
  <SOAP-ENV:Body>
  <ns1:div xmlns:ns1="http://soapinterop.org">
  <ns1:arg_0_0>15</ns1:arg_0_0>
  <ns1:arg_1_0>5</ns1:arg_1_0>
  </ns1:div>
  </SOAP-ENV:Body>
  </SOAP-ENV:Envelope>
  
  POST /MathOps/services/MathOps HTTP/1.1
  Host: localhost:13260
  Content-Type: text/xml; charset=UTF-8
  SOAPAction: ""
  Content-Length: 388
  
  <?xml version='1.0' encoding='utf-8' ?>
  <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <SOAP-ENV:Body>
  <ns1:div xmlns:ns1="http://soapinterop.org">
  <ns1:arg_0_0>15</ns1:arg_0_0>
  <ns1:arg_1_0>5</ns1:arg_1_0>
  </ns1:div>
  </SOAP-ENV:Body>
  </SOAP-ENV:Envelope>
  
  
  
  
  1.1                  ws-axis/c/tests/auto_build/testcases/tests/TestSetEndpoint.xml
  
  Index: TestSetEndpoint.xml
  ===================================================================
  <test>
      <name>TestSetEndpoint</name>
      <description>TestSetEndpoint</description>
      <clientLang>cpp</clientLang>
      <clientCode>TestSetEndpointClient.cpp</clientCode>
      <wsdl>CalculatorDoc.wsdl</wsdl>
      <expected>
          <output>
              TestSetEndpoint.expected
          </output>
      </expected>
  	<endpoint>http://localhost:80/Calculator/services/Calculator</endpoint>
  </test>
  
  
  
  1.1                  ws-axis/c/tests/auto_build/testcases/tests/TestSoapHeaderBlock.xml
  
  Index: TestSoapHeaderBlock.xml
  ===================================================================
  <test>
      <name>TestSoapHeaderBlock</name>
      <description>TestSoapHeaderBlock</description>
      <clientLang>cpp</clientLang>
      <clientCode>TestSoapHeaderBlockClient.cpp</clientCode>
      <wsdl>MathOpsDoc.wsdl</wsdl>
      <expected>
          <output>
              TestSoapHeaderBlock.expected
          </output>
          <request>
              TestSoapHeaderBlockRequest.out
          </request>
      </expected>
          <endpoint>http://localhost:80/MathOps/services/MathOps</endpoint>
  </test>
  
  
  
  
  1.1                  ws-axis/c/tests/auto_build/testcases/tests/TestSoapHeaderBlock2.xml
  
  Index: TestSoapHeaderBlock2.xml
  ===================================================================
  <test>
      <name>TestSoapHeaderBlock2</name>
      <description>TestSoapHeaderBlock2</description>
      <clientLang>cpp</clientLang>
      <clientCode>TestSoapHeaderBlock2Client.cpp</clientCode>
      <wsdl>MathOpsDoc.wsdl</wsdl>
      <expected>
          <output>
              TestSoapHeaderBlock2.expected
          </output>
          <request>
              TestSoapHeaderBlock2Request.out
          </request>
      </expected>
          <endpoint>http://localhost:80/MathOps/services/MathOps</endpoint>
  </test>
  
  
  
  
  1.1                  ws-axis/c/tests/auto_build/testcases/tests/TestSoapHeaderBlock3.xml
  
  Index: TestSoapHeaderBlock3.xml
  ===================================================================
  <test>
      <name>TestSoapHeaderBlock3</name>
      <description>TestSoapHeaderBlock3</description>
      <clientLang>cpp</clientLang>
      <clientCode>TestSoapHeaderBlock3Client.cpp</clientCode>
      <wsdl>MathOpsDoc.wsdl</wsdl>
      <expected>
          <output>
              TestSoapHeaderBlock3.expected
          </output>
          <request>
              TestSoapHeaderBlock3Request.out
          </request>
      </expected>
          <endpoint>http://localhost:80/MathOps/services/MathOps</endpoint>
  </test>