You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by pr...@apache.org on 2005/10/12 13:41:22 UTC

svn commit: r314850 - in /webservices/axis/trunk/c/tests/auto_build/testcases/output: SameComplexTypeAndElementName.expected SameComplexTypeAndElementName_Request.expected SameComplexTypeAndElementName_ServerResponse.expected

Author: prestonf
Date: Wed Oct 12 04:41:16 2005
New Revision: 314850

URL: http://svn.apache.org/viewcvs?rev=314850&view=rev
Log:
New Unit Test: SameComplexTypeAndElementNameClient
Checks that if a ComplexType and Element name are the same, then the element name will have a '_' suffix added to the name.

Added:
    webservices/axis/trunk/c/tests/auto_build/testcases/output/SameComplexTypeAndElementName.expected
    webservices/axis/trunk/c/tests/auto_build/testcases/output/SameComplexTypeAndElementName_Request.expected
    webservices/axis/trunk/c/tests/auto_build/testcases/output/SameComplexTypeAndElementName_ServerResponse.expected

Added: webservices/axis/trunk/c/tests/auto_build/testcases/output/SameComplexTypeAndElementName.expected
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/output/SameComplexTypeAndElementName.expected?rev=314850&view=auto
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/output/SameComplexTypeAndElementName.expected (added)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/output/SameComplexTypeAndElementName.expected Wed Oct 12 04:41:16 2005
@@ -0,0 +1,3 @@
+Called aBeanPortTypeBase()
+Called aBeanPortTypeComplex()
+---------------------- TEST PASSED -----------------------------
\ No newline at end of file

Added: webservices/axis/trunk/c/tests/auto_build/testcases/output/SameComplexTypeAndElementName_Request.expected
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/output/SameComplexTypeAndElementName_Request.expected?rev=314850&view=auto
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/output/SameComplexTypeAndElementName_Request.expected (added)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/output/SameComplexTypeAndElementName_Request.expected Wed Oct 12 04:41:16 2005
@@ -0,0 +1,32 @@
+POST /axis/SameComplexTypeAndElementName HTTP/1.1
+Host: 127.0.0.1:13260
+Content-Type: text/xml; charset=UTF-8
+SOAPAction: ""
+Content-Length: 466
+
+<?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:anElementBase xmlns:ns1="SameComplexTypeAndElementName">
+<Element><ns2:SampleBeanBoolean xmlns:ns2="SameComplexTypeAsElement">false</ns2:SampleBeanBoolean>
+</Element>
+</ns1:anElementBase>
+</SOAP-ENV:Body>
+</SOAP-ENV:Envelope>
+
+POST /axis/SameComplexTypeAndElementName HTTP/1.1
+Host: 127.0.0.1:13260
+Content-Type: text/xml; charset=UTF-8
+SOAPAction: ""
+Content-Length: 452
+
+<?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:anElementComplex xmlns:ns1="SameComplexTypeAndElementName">
+<Element><ns2:Boolean xmlns:ns2="SameComplexTypeAsElement">false</ns2:Boolean>
+</Element>
+</ns1:anElementComplex>
+</SOAP-ENV:Body>
+</SOAP-ENV:Envelope>
+

Added: webservices/axis/trunk/c/tests/auto_build/testcases/output/SameComplexTypeAndElementName_ServerResponse.expected
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/output/SameComplexTypeAndElementName_ServerResponse.expected?rev=314850&view=auto
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/output/SameComplexTypeAndElementName_ServerResponse.expected (added)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/output/SameComplexTypeAndElementName_ServerResponse.expected Wed Oct 12 04:41:16 2005
@@ -0,0 +1,28 @@
+HTTP/1.1 200 OK
+Server: WebSphere Application Server/5.1
+Content-Type: text/xml; charset=utf-8
+Content-Language: en-GB
+Transfer-Encoding: chunked
+
+0b1
+<?xml version="1.0" encoding="UTF-8"?>
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
+<SOAP-ENV:Body>
+</SOAP-ENV:Body>
+</SOAP-ENV:Envelope>
+0
+
+HTTP/1.1 200 OK
+Server: WebSphere Application Server/5.1
+Content-Type: text/xml; charset=utf-8
+Content-Language: en-GB
+Transfer-Encoding: chunked
+
+0b1
+<?xml version="1.0" encoding="UTF-8"?>
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
+<SOAP-ENV:Body>
+</SOAP-ENV:Body>
+</SOAP-ENV:Envelope>
+0
+