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/01/14 18:24:18 UTC
cvs commit: ws-axis/c/tests/auto_build/testcases/tests HandlerTest11.xml HandlerTest12.xml HandlerTest13.xml HandlerTest14.xml HandlerTest15.xml
perryan 2005/01/14 09:24:18
Added: c/tests/auto_build/testcases/output HandlerTest11Request.out
HandlerTest12Request.out HandlerTest15.expected
HandlerTest15Request.out
c/tests/auto_build/testcases/tests HandlerTest11.xml
HandlerTest12.xml HandlerTest13.xml
HandlerTest14.xml HandlerTest15.xml
Log:
New framework files for Handler API tests
Revision Changes Path
1.1 ws-axis/c/tests/auto_build/testcases/output/HandlerTest11Request.out
Index: HandlerTest11Request.out
===================================================================
POST /Calculator/services/Calculator HTTP/1.1
Host: localhost:13260
Content-Type: text/xml; charset=UTF-8
SOAPAction: "Calculator#add"
Content-Length: 547
<?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:chbTest xmlns:ns2="http://soapinterop.org/echoheader/">createHeaderBlock with localName and URI</ns2:chbTest></SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1:add xmlns:ns1="http://localhost/axis/Calculator">
<ns1:arg_0_0>2</ns1:arg_0_0>
<ns1:arg_1_0>3</ns1:arg_1_0>
</ns1:add>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
1.1 ws-axis/c/tests/auto_build/testcases/output/HandlerTest12Request.out
Index: HandlerTest12Request.out
===================================================================
POST /Calculator/services/Calculator HTTP/1.1
Host: localhost:13260
Content-Type: text/xml; charset=UTF-8
SOAPAction: "Calculator#add"
Content-Length: 575
<?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:ahb xmlns:ns2="http://soapinterop.org/axis/">This is a test</ns2:ahb><ns3:ahb2 xmlns:ns3="http://soapinterop.org/axis2/">Test2</ns3:ahb2></SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1:add xmlns:ns1="http://localhost/axis/Calculator">
<ns1:arg_0_0>2</ns1:arg_0_0>
<ns1:arg_1_0>3</ns1:arg_1_0>
</ns1:add>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
1.1 ws-axis/c/tests/auto_build/testcases/output/HandlerTest15.expected
Index: HandlerTest15.expected
===================================================================
getFirstHeaderBlock() - hb1:child(1) - Value = Test1
getNextHeaderBlock() - hb2:child(1) - Value = Test2
getNextHeaderBlock() - hb3:child(1) - Value = Test3
getNextHeaderBlock() - HeaderBlock is NULL
getHeaderBlock("hb2", namespace) - hb2:child(1) - Value = Test2
getCurrentHeaderBlock() - HeaderBlock is NULL
getHeaderBlock("hb3", namespace) - hb3:child(1) - Value = Test3
getHeaderBlock("hb1", namespace) - hb1:child(1) - Value = Test1
getFirstHeaderBlock() - hb1:child(1) - Value = Test1
getCurrentHeaderBlock() - hb1:child(1) - Value = Test1
getNextHeaderBlock() - hb2:child(1) - Value = Test2
getCurrentHeaderBlock() - hb2:child(1) - Value = Test2
5
1.1 ws-axis/c/tests/auto_build/testcases/output/HandlerTest15Request.out
Index: HandlerTest15Request.out
===================================================================
POST /Calculator/services/Calculator HTTP/1.1
Host: localhost:13260
Content-Type: text/xml; charset=UTF-8
SOAPAction: "Calculator#add"
Content-Length: 630
<?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:hb1 xmlns:ns2="http://soapinterop.org/axis/">Test1</ns2:hb1><ns3:hb2 xmlns:ns3="http://soapinterop.org/axis2/">Test2</ns3:hb2><ns4:hb3 xmlns:ns4="http://soapinterop.org/axis3/">Test3</ns4:hb3></SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1:add xmlns:ns1="http://localhost/axis/Calculator">
<ns1:arg_0_0>2</ns1:arg_0_0>
<ns1:arg_1_0>3</ns1:arg_1_0>
</ns1:add>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
1.1 ws-axis/c/tests/auto_build/testcases/tests/HandlerTest11.xml
Index: HandlerTest11.xml
===================================================================
<test>
<name>HandlerTest11</name>
<description>CalculatorDoc with handler to createSoapHeaderBlock with specifying name and namespace</description>
<clientLang>cpp</clientLang>
<clientCode>CalculatorDocClient.cpp</clientCode>
<wsdl>CalculatorDoc.wsdl</wsdl>
<expected>
<output>
CalculatorDoc.cpp.out
</output>
<request>
HandlerTest11Request.out
</request>
</expected>
<handler>
<directory>
handler_test11
</directory>
<service>
Calculator
</service>
</handler>
<endpoint>http://localhost:80/Calculator/services/Calculator</endpoint>
</test>
1.1 ws-axis/c/tests/auto_build/testcases/tests/HandlerTest12.xml
Index: HandlerTest12.xml
===================================================================
<test>
<name>HandlerTest12</name>
<description>CalculatorDoc with Handler using addSoapHeaderBlock. cloned from existing header after values set on existing header block</description>
<clientLang>cpp</clientLang>
<clientCode>CalculatorDocClient.cpp</clientCode>
<wsdl>CalculatorDoc.wsdl</wsdl>
<expected>
<output>
CalculatorDoc.cpp.out
</output>
<request>
HandlerTest12Request.out
</request>
</expected>
<handler>
<directory>
handler_test12
</directory>
<service>
Calculator
</service>
</handler>
<endpoint>http://localhost:80/Calculator/services/Calculator</endpoint>
</test>
1.1 ws-axis/c/tests/auto_build/testcases/tests/HandlerTest13.xml
Index: HandlerTest13.xml
===================================================================
<test>
<name>HandlerTest13</name>
<description>CalculatorDoc with Handler using addSoapHeaderBlock. cloned from existing header before values set on existing header block</description>
<clientLang>cpp</clientLang>
<clientCode>CalculatorDocClient.cpp</clientCode>
<wsdl>CalculatorDoc.wsdl</wsdl>
<expected>
<output>
CalculatorDoc.cpp.out
</output>
<request>
HandlerTest12Request.out
</request>
</expected>
<handler>
<directory>
handler_test13
</directory>
<service>
Calculator
</service>
</handler>
<endpoint>http://localhost:80/Calculator/services/Calculator</endpoint>
</test>
1.1 ws-axis/c/tests/auto_build/testcases/tests/HandlerTest14.xml
Index: HandlerTest14.xml
===================================================================
<test>
<name>HandlerTest14</name>
<description>CalculatorDoc with a Handler which sets the SOAP version</description>
<clientLang>cpp</clientLang>
<clientCode>CalculatorDocClient.cpp</clientCode>
<wsdl>CalculatorDoc.wsdl</wsdl>
<expected>
<output>
CalculatorDoc.cpp.out
</output>
<request>
HandlerTest1Request.out
</request>
</expected>
<handler>
<directory>
handler_test14
</directory>
<service>
Calculator
</service>
</handler>
<endpoint>http://localhost:80/Calculator/services/Calculator</endpoint>
</test>
1.1 ws-axis/c/tests/auto_build/testcases/tests/HandlerTest15.xml
Index: HandlerTest15.xml
===================================================================
<test>
<name>HandlerTest15</name>
<description>CalculatorDoc with Handler Chain and IMessageData->(sg)etProperty with a void* argument set in different handlers</description>
<clientLang>cpp</clientLang>
<clientCode>CalculatorDocClient.cpp</clientCode>
<wsdl>CalculatorDoc.wsdl</wsdl>
<expected>
<output>
HandlerTest15.expected
</output>
<request>
HandlerTest15Request.out
</request>
</expected>
<handler>
<directory>
handler_test15
</directory>
<service>
Calculator
</service>
</handler>
<endpoint>http://localhost:80/Calculator/services/Calculator</endpoint>
</test>