axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From di...@apache.org
Subject svn commit: r357681 - in /webservices/axis/trunk/c/tests/auto_build/testcases: client/cpp/CalculatorClient.cpp output/Calculator.cpp.out output/Calculator_ServerResponse.expected tests/Calculator.xml
Date Mon, 19 Dec 2005 11:45:59 GMT
Author: dicka
Date: Mon Dec 19 03:45:50 2005
New Revision: 357681

URL: http://svn.apache.org/viewcvs?rev=357681&view=rev
Log:
Modifications to testing of Calculator sample:
1) Remove client from test structure, as the version in the samples should be used.
2) Update server response to be well-formed rpc/encoded response.
3) Update test file to give correct parameters.
4) Update expected output to match that given.

Removed:
    webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/CalculatorClient.cpp
Modified:
    webservices/axis/trunk/c/tests/auto_build/testcases/output/Calculator.cpp.out
    webservices/axis/trunk/c/tests/auto_build/testcases/output/Calculator_ServerResponse.expected
    webservices/axis/trunk/c/tests/auto_build/testcases/tests/Calculator.xml

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/output/Calculator.cpp.out
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/output/Calculator.cpp.out?rev=357681&r1=357680&r2=357681&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/output/Calculator.cpp.out (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/output/Calculator.cpp.out Mon Dec
19 03:45:50 2005
@@ -1 +1,4 @@
+
+ Using service at http://127.0.0.1:13260/axis/Calculator
+
 5

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/output/Calculator_ServerResponse.expected
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/output/Calculator_ServerResponse.expected?rev=357681&r1=357680&r2=357681&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/output/Calculator_ServerResponse.expected
(original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/output/Calculator_ServerResponse.expected
Mon Dec 19 03:45:50 2005
@@ -4,8 +4,8 @@
 Content-Language: en-GB
 Transfer-Encoding: chunked
 
-1ad
+###
 <?xml version="1.0" encoding="utf-8"?>
-<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header/><soapenv:Body><addResponse
xmlns="http://localhost/axis/Calculator"><addReturn>5</addReturn></addResponse></soapenv:Body></soapenv:Envelope>
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header/><soapenv:Body><addResponse
xmlns="http://localhost/axis/Calculator"><addReturn xsi:type="xsd:int">5</addReturn></addResponse></soapenv:Body></soapenv:Envelope>
 0
 

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/tests/Calculator.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/tests/Calculator.xml?rev=357681&r1=357680&r2=357681&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/tests/Calculator.xml (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/tests/Calculator.xml Mon Dec 19 03:45:50
2005
@@ -12,5 +12,5 @@
 			Calculator_ServerResponse.expected
 		</serverResponse>
     </expected>
-	<endpoint>http://localhost:80/axis/Calculator</endpoint>
+	<endpoint>add 2 3 http://localhost:80/axis/Calculator</endpoint>
 </test>



Mime
View raw message