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 na...@apache.org on 2006/11/29 01:10:31 UTC
svn commit: r480296 -
/webservices/axis/trunk/c/tests/auto_build/testcases/output/
Author: nadiramra
Date: Tue Nov 28 16:10:30 2006
New Revision: 480296
URL: http://svn.apache.org/viewvc?view=rev&rev=480296
Log:
AXISCPP-943 and AXISCPP-923. Memory leaks when throwing exceptions and exception
messages not informative or correct. Changes to test case verification files.
Modified:
webservices/axis/trunk/c/tests/auto_build/testcases/output/Cookies.cpp.out
webservices/axis/trunk/c/tests/auto_build/testcases/output/Cookies.request
webservices/axis/trunk/c/tests/auto_build/testcases/output/DynamicCheckFaultTest.expected
webservices/axis/trunk/c/tests/auto_build/testcases/output/ExceptionTest.cpp.out
webservices/axis/trunk/c/tests/auto_build/testcases/output/ExceptionTestDoc.cpp.out
webservices/axis/trunk/c/tests/auto_build/testcases/output/IAttributeTest2.expected
webservices/axis/trunk/c/tests/auto_build/testcases/output/TestTransportTimeout.expected
webservices/axis/trunk/c/tests/auto_build/testcases/output/XSD_negativeInteger.expected
webservices/axis/trunk/c/tests/auto_build/testcases/output/XSD_positiveInteger.expected
Modified: webservices/axis/trunk/c/tests/auto_build/testcases/output/Cookies.cpp.out
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/tests/auto_build/testcases/output/Cookies.cpp.out?view=diff&rev=480296&r1=480295&r2=480296
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/output/Cookies.cpp.out (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/output/Cookies.cpp.out Tue Nov 28 16:10:30 2006
@@ -1,7 +1,7 @@
Calling calculator for the first time and expecting Set-Cookie back
----------------------------------------------------------
Properties that were sent out
-SOAPAction="Calculator#add"
+SOAPAction="CalculatorDoc#add"
Content-Length=397
----------------------------------------------------------
Properties that were received
@@ -17,7 +17,7 @@
Calling calculator for the second time and expecting to send the cookies back
----------------------------------------------------------
Properties that were sent out
-SOAPAction="Calculator#add"
+SOAPAction="CalculatorDoc#add"
Content-Length=397
Cookie=LtpaToken2=1234567890abcdefghijklmnopqrstuvwxyz;LtpaToken==+yOkBBuvLtTaiuBDkfgy3W6mZraGn7V5Dzp;JSESSIONID=0000EyvJyGOS-2e9nlRijFiwKSR:-1
----------------------------------------------------------
@@ -30,7 +30,7 @@
Use a new instance of calculator and ensure that the old cookies are lost
----------------------------------------------------------
Properties that were sent out
-SOAPAction="Calculator#add"
+SOAPAction="CalculatorDoc#add"
Content-Length=397
----------------------------------------------------------
Properties that were received
@@ -44,7 +44,7 @@
Call the calculator service twice and ensure that the cookies remain
----------------------------------------------------------
Properties that were sent out
-SOAPAction="Calculator#add"
+SOAPAction="CalculatorDoc#add"
Content-Length=397
Cookie=LtpaToken2=1234567890abcdefghijklmnopqrstuvwxyz;LtpaToken==+yOkBBuvLtTaiuBDkfgy3W6mZraGn7V5Dzp;JSESSIONID=0000EyvJyGOS-2e9nlRijFiwKSR:-1
----------------------------------------------------------
@@ -56,7 +56,7 @@
----------------------------------------------------------
----------------------------------------------------------
Properties that were sent out
-SOAPAction="Calculator#add"
+SOAPAction="CalculatorDoc#add"
Content-Length=397
Cookie=LtpaToken2=1234567890abcdefghijklmnopqrstuvwxyz;LtpaToken==+yOkBBuvLtTaiuBDkfgy3W6mZraGn7V5Dzp;JSESSIONID=0000EyvJyGOS-2e9nlRijFiwKSR:-1
----------------------------------------------------------
@@ -70,7 +70,7 @@
Calling the service and not expecting the LtpaToken2 in the cookie header
----------------------------------------------------------
Properties that were sent out
-SOAPAction="Calculator#add"
+SOAPAction="CalculatorDoc#add"
Content-Length=397
Cookie=LtpaToken==+yOkBBuvLtTaiuBDkfgy3W6mZraGn7V5Dzp;JSESSIONID=0000EyvJyGOS-2e9nlRijFiwKSR:-1
----------------------------------------------------------
@@ -84,7 +84,7 @@
Calling the service and expecting no cookies to be there
----------------------------------------------------------
Properties that were sent out
-SOAPAction="Calculator#add"
+SOAPAction="CalculatorDoc#add"
Content-Length=397
----------------------------------------------------------
Properties that were received
Modified: webservices/axis/trunk/c/tests/auto_build/testcases/output/Cookies.request
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/tests/auto_build/testcases/output/Cookies.request?view=diff&rev=480296&r1=480295&r2=480296
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/output/Cookies.request (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/output/Cookies.request Tue Nov 28 16:10:30 2006
@@ -1,7 +1,7 @@
POST /axis/CalculatorDoc HTTP/1.1
Host: 127.0.0.1:13260
Content-Type: text/xml; charset=UTF-8
-SOAPAction: "Calculator#add"
+SOAPAction: "CalculatorDoc#add"
Content-Length: 397
<?xml version='1.0' encoding='utf-8' ?>
@@ -17,7 +17,7 @@
POST /axis/CalculatorDoc HTTP/1.1
Host: 127.0.0.1:13260
Content-Type: text/xml; charset=UTF-8
-SOAPAction: "Calculator#add"
+SOAPAction: "CalculatorDoc#add"
Content-Length: 397
Cookie: LtpaToken2=1234567890abcdefghijklmnopqrstuvwxyz;LtpaToken==+yOkBBuvLtTaiuBDkfgy3W6mZraGn7V5Dzp;JSESSIONID=0000EyvJyGOS-2e9nlRijFiwKSR:-1
@@ -34,7 +34,7 @@
POST /axis/CalculatorDoc HTTP/1.1
Host: 127.0.0.1:13260
Content-Type: text/xml; charset=UTF-8
-SOAPAction: "Calculator#add"
+SOAPAction: "CalculatorDoc#add"
Content-Length: 397
<?xml version='1.0' encoding='utf-8' ?>
@@ -50,7 +50,7 @@
POST /axis/CalculatorDoc HTTP/1.1
Host: 127.0.0.1:13260
Content-Type: text/xml; charset=UTF-8
-SOAPAction: "Calculator#add"
+SOAPAction: "CalculatorDoc#add"
Content-Length: 397
Cookie: LtpaToken2=1234567890abcdefghijklmnopqrstuvwxyz;LtpaToken==+yOkBBuvLtTaiuBDkfgy3W6mZraGn7V5Dzp;JSESSIONID=0000EyvJyGOS-2e9nlRijFiwKSR:-1
@@ -67,7 +67,7 @@
POST /axis/CalculatorDoc HTTP/1.1
Host: 127.0.0.1:13260
Content-Type: text/xml; charset=UTF-8
-SOAPAction: "Calculator#add"
+SOAPAction: "CalculatorDoc#add"
Content-Length: 397
Cookie: LtpaToken2=1234567890abcdefghijklmnopqrstuvwxyz;LtpaToken==+yOkBBuvLtTaiuBDkfgy3W6mZraGn7V5Dzp;JSESSIONID=0000EyvJyGOS-2e9nlRijFiwKSR:-1
@@ -84,7 +84,7 @@
POST /axis/CalculatorDoc HTTP/1.1
Host: 127.0.0.1:13260
Content-Type: text/xml; charset=UTF-8
-SOAPAction: "Calculator#add"
+SOAPAction: "CalculatorDoc#add"
Content-Length: 397
Cookie: LtpaToken==+yOkBBuvLtTaiuBDkfgy3W6mZraGn7V5Dzp;JSESSIONID=0000EyvJyGOS-2e9nlRijFiwKSR:-1
@@ -101,7 +101,7 @@
POST /axis/CalculatorDoc HTTP/1.1
Host: 127.0.0.1:13260
Content-Type: text/xml; charset=UTF-8
-SOAPAction: "Calculator#add"
+SOAPAction: "CalculatorDoc#add"
Content-Length: 397
<?xml version='1.0' encoding='utf-8' ?>
Modified: webservices/axis/trunk/c/tests/auto_build/testcases/output/DynamicCheckFaultTest.expected
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/tests/auto_build/testcases/output/DynamicCheckFaultTest.expected?view=diff&rev=480296&r1=480295&r2=480296
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/output/DynamicCheckFaultTest.expected (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/output/DynamicCheckFaultTest.expected Tue Nov 28 16:10:30 2006
@@ -1,4 +1,5 @@
-Exception : Cannot deserialize the requested element
+Exception : Cannot deserialize the requested element.
+
Fault Code = Server.generalException
Fault String = java.lang.ArithmeticException: / by zero
------------------------TEST COMPLETE----------------------------------
Modified: webservices/axis/trunk/c/tests/auto_build/testcases/output/ExceptionTest.cpp.out
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/tests/auto_build/testcases/output/ExceptionTest.cpp.out?view=diff&rev=480296&r1=480295&r2=480296
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/output/ExceptionTest.cpp.out (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/output/ExceptionTest.cpp.out Tue Nov 28 16:10:30 2006
@@ -1,8 +1,8 @@
Result is:2
-AxisException has occured: HTTPTransportException:HTTP transport error
- Server sent HTTP error: 'Not Found'
+AxisException has occured: HTTPTransportException: HTTP transport error.
+Server sent HTTP error: 'Not Found'
-AxisException has occured: HTTPTransportException:HTTP transport error
- Server sent HTTP error: 'Not Found'
+AxisException has occured: HTTPTransportException: HTTP transport error.
+Server sent HTTP error: 'Not Found'
---------------------- TEST COMPLETE -----------------------------
Modified: webservices/axis/trunk/c/tests/auto_build/testcases/output/ExceptionTestDoc.cpp.out
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/tests/auto_build/testcases/output/ExceptionTestDoc.cpp.out?view=diff&rev=480296&r1=480295&r2=480296
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/output/ExceptionTestDoc.cpp.out (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/output/ExceptionTestDoc.cpp.out Tue Nov 28 16:10:30 2006
@@ -1,8 +1,8 @@
Result is:2
-AxisException has occured: HTTPTransportException:HTTP transport error
- Server sent HTTP error: 'Not Found'
+AxisException has occured: HTTPTransportException: HTTP transport error.
+Server sent HTTP error: 'Not Found'
-AxisException has occured: HTTPTransportException:HTTP transport error
- Server sent HTTP error: 'Not Found'
+AxisException has occured: HTTPTransportException: HTTP transport error.
+Server sent HTTP error: 'Not Found'
---------------------- TEST COMPLETE -----------------------------
Modified: webservices/axis/trunk/c/tests/auto_build/testcases/output/IAttributeTest2.expected
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/tests/auto_build/testcases/output/IAttributeTest2.expected?view=diff&rev=480296&r1=480295&r2=480296
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/output/IAttributeTest2.expected (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/output/IAttributeTest2.expected Tue Nov 28 16:10:30 2006
@@ -3,5 +3,6 @@
0
Header Attribute Prefix = nsp
Child Node Attribute Prefix = nd
-Exception : AxisSoapException:Received message is incomplete The SOAP serializer has detected errors in the header or envelope. Transmission has been aborted.
+Exception : AxisSoapException: Soap message is incomplete.
+The SOAP serializer has detected errors in the header or envelope. Transmission has been aborted.
---------------------- TEST COMPLETE -----------------------------
Modified: webservices/axis/trunk/c/tests/auto_build/testcases/output/TestTransportTimeout.expected
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/tests/auto_build/testcases/output/TestTransportTimeout.expected?view=diff&rev=480296&r1=480295&r2=480296
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/output/TestTransportTimeout.expected (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/output/TestTransportTimeout.expected Tue Nov 28 16:10:30 2006
@@ -1,3 +1,4 @@
in AxisException block
-Exception : HTTPTransportException:Channel error connection timeout before receiving Channel error: connection timed out before receiving
+Exception : HTTPTransportException: Channel I/O operation timed out.
+Read operation timed-out while waiting for data.
---------------------- TEST COMPLETE -----------------------------
Modified: webservices/axis/trunk/c/tests/auto_build/testcases/output/XSD_negativeInteger.expected
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/tests/auto_build/testcases/output/XSD_negativeInteger.expected?view=diff&rev=480296&r1=480295&r2=480296
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/output/XSD_negativeInteger.expected (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/output/XSD_negativeInteger.expected Tue Nov 28 16:10:30 2006
@@ -1,6 +1,7 @@
non-nillable element=-9223372036854775808
non-nillable element=-1
-AxisException : AxisSoapException:Received content is faulty Value to be serialized is greater than MaxInclusive specified for this type. MaxInclusive = -1, Value = 0.
+AxisException : AxisSoapException: Soap message content is not valid.
+Value to be serialized is greater than MaxInclusive specified for this type. MaxInclusive = -1, Value = 0.
non-nillable element=-123456789
nillable element=-123456789
nil element=<nil>
Modified: webservices/axis/trunk/c/tests/auto_build/testcases/output/XSD_positiveInteger.expected
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/tests/auto_build/testcases/output/XSD_positiveInteger.expected?view=diff&rev=480296&r1=480295&r2=480296
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/output/XSD_positiveInteger.expected (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/output/XSD_positiveInteger.expected Tue Nov 28 16:10:30 2006
@@ -1,6 +1,7 @@
non-nillable element=18446744073709551615
non-nillable element=1
-AxisException : AxisSoapException:Received content is faulty Value to be serialized is less than MinInclusive specified for this type. MinInclusive = 1, Value = 0.
+AxisException : AxisSoapException: Soap message content is not valid.
+Value to be serialized is less than MinInclusive specified for this type. MinInclusive = 1, Value = 0.
nillable element=123456789
nil element=<nil>
required attribute=123456789
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org