From 0425aadc78680e53000fd0108b540d6eca048516 Mon Sep 17 00:00:00 2001 From: gmcdonald Date: Sat, 13 Feb 2010 01:32:03 +0000 Subject: Moving axis svn, part of TLP move INFRA-2441 git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@909681 13f79535-47bb-0310-9956-ffa450edef68 --- test/resources/xml/soap/OMElementTest.xml | 22 + .../xml/soap/badsoap/bodyNotQualified.xml | 19 + .../resources/xml/soap/badsoap/envelopeMissing.xml | 20 + .../xml/soap/badsoap/haederBodyWrongOrder.xml | 20 + .../xml/soap/badsoap/notnamespaceQualified.xml | 15 + test/resources/xml/soap/badsoap/twoBodymessage.xml | 24 + test/resources/xml/soap/badsoap/twoheaders.xml | 29 + test/resources/xml/soap/badsoap/wrongSoapNs.xml | 20 + test/resources/xml/soap/emtyBodymessage.xml | 18 + .../xml/soap/invalidMustUnderstandSOAP12.xml | 13 + test/resources/xml/soap/minimalMessage.xml | 4 + test/resources/xml/soap/reallyReallyBigMessage.xml | 2529 ++++++++++++++++++++ test/resources/xml/soap/sample1.txt | 12 + test/resources/xml/soap/sample1.xml | 9 + test/resources/xml/soap/security2-soap.xml | 54 + test/resources/xml/soap/soap11/soap11fault.xml | 16 + test/resources/xml/soap/soap11/soap11message.xml | 46 + test/resources/xml/soap/soap12message.xml | 58 + test/resources/xml/soap/soapmessage.txt | 16 + test/resources/xml/soap/soapmessage.xml | 20 + test/resources/xml/soap/soapmessage1.xml | 27 + test/resources/xml/soap/test.xml | 59 + test/resources/xml/soap/whitespacedMessage.xml | 27 + test/resources/xml/soap/wrongEnvelopeNamespace.xml | 12 + 24 files changed, 3089 insertions(+) create mode 100644 test/resources/xml/soap/OMElementTest.xml create mode 100644 test/resources/xml/soap/badsoap/bodyNotQualified.xml create mode 100644 test/resources/xml/soap/badsoap/envelopeMissing.xml create mode 100644 test/resources/xml/soap/badsoap/haederBodyWrongOrder.xml create mode 100644 test/resources/xml/soap/badsoap/notnamespaceQualified.xml create mode 100644 test/resources/xml/soap/badsoap/twoBodymessage.xml create mode 100644 test/resources/xml/soap/badsoap/twoheaders.xml create mode 100644 test/resources/xml/soap/badsoap/wrongSoapNs.xml create mode 100644 test/resources/xml/soap/emtyBodymessage.xml create mode 100644 test/resources/xml/soap/invalidMustUnderstandSOAP12.xml create mode 100644 test/resources/xml/soap/minimalMessage.xml create mode 100644 test/resources/xml/soap/reallyReallyBigMessage.xml create mode 100644 test/resources/xml/soap/sample1.txt create mode 100644 test/resources/xml/soap/sample1.xml create mode 100644 test/resources/xml/soap/security2-soap.xml create mode 100644 test/resources/xml/soap/soap11/soap11fault.xml create mode 100644 test/resources/xml/soap/soap11/soap11message.xml create mode 100644 test/resources/xml/soap/soap12message.xml create mode 100644 test/resources/xml/soap/soapmessage.txt create mode 100644 test/resources/xml/soap/soapmessage.xml create mode 100644 test/resources/xml/soap/soapmessage1.xml create mode 100644 test/resources/xml/soap/test.xml create mode 100644 test/resources/xml/soap/whitespacedMessage.xml create mode 100644 test/resources/xml/soap/wrongEnvelopeNamespace.xml (limited to 'test/resources/xml/soap') diff --git a/test/resources/xml/soap/OMElementTest.xml b/test/resources/xml/soap/OMElementTest.xml new file mode 100644 index 0000000..9cd474c --- /dev/null +++ b/test/resources/xml/soap/OMElementTest.xml @@ -0,0 +1,22 @@ + + + + uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5 + + http://localhost:8081/axis/services/BankPort + +
+ http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous +
+
+
+ + This is some text + 2 + Some Other Text + + +
\ No newline at end of file diff --git a/test/resources/xml/soap/badsoap/bodyNotQualified.xml b/test/resources/xml/soap/badsoap/bodyNotQualified.xml new file mode 100644 index 0000000..eef7895 --- /dev/null +++ b/test/resources/xml/soap/badsoap/bodyNotQualified.xml @@ -0,0 +1,19 @@ + + + + uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5 + + http://localhost:8081/axis/services/BankPort + +
+ http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous +
+
+
+ + + +
\ No newline at end of file diff --git a/test/resources/xml/soap/badsoap/envelopeMissing.xml b/test/resources/xml/soap/badsoap/envelopeMissing.xml new file mode 100644 index 0000000..4106495 --- /dev/null +++ b/test/resources/xml/soap/badsoap/envelopeMissing.xml @@ -0,0 +1,20 @@ + + + + uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5 + + http://localhost:8081/axis/services/BankPort + +
+ http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous +
+
+
+ + + + +
\ No newline at end of file diff --git a/test/resources/xml/soap/badsoap/haederBodyWrongOrder.xml b/test/resources/xml/soap/badsoap/haederBodyWrongOrder.xml new file mode 100644 index 0000000..e71c49a --- /dev/null +++ b/test/resources/xml/soap/badsoap/haederBodyWrongOrder.xml @@ -0,0 +1,20 @@ + + + + + + + + uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5 + + http://localhost:8081/axis/services/BankPort + +
+ http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous +
+
+
+
\ No newline at end of file diff --git a/test/resources/xml/soap/badsoap/notnamespaceQualified.xml b/test/resources/xml/soap/badsoap/notnamespaceQualified.xml new file mode 100644 index 0000000..dfc013c --- /dev/null +++ b/test/resources/xml/soap/badsoap/notnamespaceQualified.xml @@ -0,0 +1,15 @@ + +
+ uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5 + + http://localhost:8081/axis/services/BankPort + +
+ http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous +
+
+
+ + + +
\ No newline at end of file diff --git a/test/resources/xml/soap/badsoap/twoBodymessage.xml b/test/resources/xml/soap/badsoap/twoBodymessage.xml new file mode 100644 index 0000000..a96a401 --- /dev/null +++ b/test/resources/xml/soap/badsoap/twoBodymessage.xml @@ -0,0 +1,24 @@ + + + + uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5 + + http://localhost:8081/axis/services/BankPort + +
+ http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous +
+
+
+ + + + + + + + +
\ No newline at end of file diff --git a/test/resources/xml/soap/badsoap/twoheaders.xml b/test/resources/xml/soap/badsoap/twoheaders.xml new file mode 100644 index 0000000..3064771 --- /dev/null +++ b/test/resources/xml/soap/badsoap/twoheaders.xml @@ -0,0 +1,29 @@ + + + + uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5 + + http://localhost:8081/axis/services/BankPort + +
+ http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous +
+
+
+ + + uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5 + + http://localhost:8081/axis/services/BankPort + +
+ http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous +
+
+
+ + +
\ No newline at end of file diff --git a/test/resources/xml/soap/badsoap/wrongSoapNs.xml b/test/resources/xml/soap/badsoap/wrongSoapNs.xml new file mode 100644 index 0000000..7d84398 --- /dev/null +++ b/test/resources/xml/soap/badsoap/wrongSoapNs.xml @@ -0,0 +1,20 @@ + + + + uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5 + + http://localhost:8081/axis/services/BankPort + +
+ http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous +
+
+
+ + + + +
\ No newline at end of file diff --git a/test/resources/xml/soap/emtyBodymessage.xml b/test/resources/xml/soap/emtyBodymessage.xml new file mode 100644 index 0000000..ea20929 --- /dev/null +++ b/test/resources/xml/soap/emtyBodymessage.xml @@ -0,0 +1,18 @@ + + + + uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5 + + http://localhost:8081/axis/services/BankPort + +
+ http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous +
+
+
+ + +
\ No newline at end of file diff --git a/test/resources/xml/soap/invalidMustUnderstandSOAP12.xml b/test/resources/xml/soap/invalidMustUnderstandSOAP12.xml new file mode 100644 index 0000000..1b5183f --- /dev/null +++ b/test/resources/xml/soap/invalidMustUnderstandSOAP12.xml @@ -0,0 +1,13 @@ + + + + foo + + + + + + \ No newline at end of file diff --git a/test/resources/xml/soap/minimalMessage.xml b/test/resources/xml/soap/minimalMessage.xml new file mode 100644 index 0000000..ea76d72 --- /dev/null +++ b/test/resources/xml/soap/minimalMessage.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/test/resources/xml/soap/reallyReallyBigMessage.xml b/test/resources/xml/soap/reallyReallyBigMessage.xml new file mode 100644 index 0000000..687ed22 --- /dev/null +++ b/test/resources/xml/soap/reallyReallyBigMessage.xml @@ -0,0 +1,2529 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/test/resources/xml/soap/sample1.txt b/test/resources/xml/soap/sample1.txt new file mode 100644 index 0000000..a5f7560 --- /dev/null +++ b/test/resources/xml/soap/sample1.txt @@ -0,0 +1,12 @@ +POST /axis/services/EchoService HTTP/1.1 +Host: 127.0.0.1 +Content-Type: application/soap+xml; charset="utf-8" + + + + + + + + + \ No newline at end of file diff --git a/test/resources/xml/soap/sample1.xml b/test/resources/xml/soap/sample1.xml new file mode 100644 index 0000000..9d74dfe --- /dev/null +++ b/test/resources/xml/soap/sample1.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/test/resources/xml/soap/security2-soap.xml b/test/resources/xml/soap/security2-soap.xml new file mode 100644 index 0000000..4d6c272 --- /dev/null +++ b/test/resources/xml/soap/security2-soap.xml @@ -0,0 +1,54 @@ + + + + + http://fabrikam123.com/getQuote + http://fabrikam123.com/stocks + mailto:johnsmith@fabrikam123.com + uuid:84b9f5d0-33fb-4a81-b02b-5b760641c1d6 + + + + MIIEZzCCA9CgAwIBAgIQEmtJZc0rqrKh5i... + + + + + + + + + + + + EULddytSo1... + + + + BL8jdfToEb1l/vXcMZNNjPOV... + + + + + + + + + + + + QQQ + + + \ No newline at end of file diff --git a/test/resources/xml/soap/soap11/soap11fault.xml b/test/resources/xml/soap/soap11/soap11fault.xml new file mode 100644 index 0000000..c9acd34 --- /dev/null +++ b/test/resources/xml/soap/soap11/soap11fault.xml @@ -0,0 +1,16 @@ + + + Test + + + + SOAP-ENV:MustUnderstand + SOAP Must Understand Error + Actor + Detail text + Some Element Text + + + + \ No newline at end of file diff --git a/test/resources/xml/soap/soap11/soap11message.xml b/test/resources/xml/soap/soap11/soap11message.xml new file mode 100644 index 0000000..8a0b231 --- /dev/null +++ b/test/resources/xml/soap/soap11/soap11message.xml @@ -0,0 +1,46 @@ + + + +
+ http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous +
+
+ + uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5 + + + http://localhost:8081/axis/services/BankPort + +
+ + + + env:Sender + + Sender Timeout + + http://schemas.xmlsoap.org/soap/envelope/actor/ultimateReceiver + + + Details of error + + P5M + + + + P3M + + + + + +
+ diff --git a/test/resources/xml/soap/soap12message.xml b/test/resources/xml/soap/soap12message.xml new file mode 100644 index 0000000..5830e6c --- /dev/null +++ b/test/resources/xml/soap/soap12message.xml @@ -0,0 +1,58 @@ + + + + foo + + + foo + + + foo + + + + + + env:Sender + + m:MessageTimeout In First Subcode + + m:MessageTimeout In Second Subcode + + m:MessageTimeout In Third Subcode + + + + + + Sender Timeout + + + http://www.w3.org/2003/05/soap-envelope/role/ultimateReceiver + + + ultimateReceiver + + + Details of error + + P5M\n + + + + P3M\n + + + + + + \ No newline at end of file diff --git a/test/resources/xml/soap/soapmessage.txt b/test/resources/xml/soap/soapmessage.txt new file mode 100644 index 0000000..acae3b5 --- /dev/null +++ b/test/resources/xml/soap/soapmessage.txt @@ -0,0 +1,16 @@ +POST /axis/services/EchoService HTTP/1.1 +Host: 127.0.0.1 +Content-Type: application/soap+xml; charset="utf-8" + + + + uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5 + http://localhost:8081/axis/services/BankPort + +
http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous
+
+
+ + + +
\ No newline at end of file diff --git a/test/resources/xml/soap/soapmessage.xml b/test/resources/xml/soap/soapmessage.xml new file mode 100644 index 0000000..0f49778 --- /dev/null +++ b/test/resources/xml/soap/soapmessage.xml @@ -0,0 +1,20 @@ + + + + uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5 + + http://localhost:8081/axis/services/BankPort + +
+ http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous +
+
+
+ + + + +
\ No newline at end of file diff --git a/test/resources/xml/soap/soapmessage1.xml b/test/resources/xml/soap/soapmessage1.xml new file mode 100644 index 0000000..3d69585 --- /dev/null +++ b/test/resources/xml/soap/soapmessage1.xml @@ -0,0 +1,27 @@ + + + + uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5 + + http://localhost:8081/axis/services/BankPort + +
+ http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous +
+
+
+ + + + + 1001 + + +
\ No newline at end of file diff --git a/test/resources/xml/soap/test.xml b/test/resources/xml/soap/test.xml new file mode 100644 index 0000000..3a303d4 --- /dev/null +++ b/test/resources/xml/soap/test.xml @@ -0,0 +1,59 @@ + + + + foo + + + foo + + + foo + + + + + + env:Sender + + m:MessageTimeout In First Subcode + + m:MessageTimeout In Second Subcode + + m:MessageTimeout In Third Subcode + + + + + + Sender Timeout + + + http://www.w3.org/2003/05/soap-envelope/role/ultimateReceiver + + + ultimateReceiver + + + Details of error + + P5M\n + + + + P3M\n + + + + + + + diff --git a/test/resources/xml/soap/whitespacedMessage.xml b/test/resources/xml/soap/whitespacedMessage.xml new file mode 100644 index 0000000..0af632b --- /dev/null +++ b/test/resources/xml/soap/whitespacedMessage.xml @@ -0,0 +1,27 @@ + + + + + + + + uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5 + + http://localhost:8081/axis/services/BankPort + +
+ http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous +
+
+ +
+ + + + + + + + +
\ No newline at end of file diff --git a/test/resources/xml/soap/wrongEnvelopeNamespace.xml b/test/resources/xml/soap/wrongEnvelopeNamespace.xml new file mode 100644 index 0000000..ff81835 --- /dev/null +++ b/test/resources/xml/soap/wrongEnvelopeNamespace.xml @@ -0,0 +1,12 @@ + + + + + + IBM + + + + \ No newline at end of file -- cgit v1.1-32-gdbae