axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r225286 [2/3] - in /webservices/axis/trunk/java/modules/samples: ./ src/org/ src/org/apache/ src/org/apache/axis2/ src/org/apache/axis2/soap12testing/ src/org/apache/axis2/soap12testing/client/ src/org/apache/axis2/soap12testing/server/ tes...
Date Tue, 26 Jul 2005 12:20:49 GMT
Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT15.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT15.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT15.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT15.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,12 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> 
+  <env:Header>
+    <test:Unknown xmlns:test="http://example.org/ts-tests"
+          env:role="http://example.org/ts-tests/B"
+          env:mustUnderstand="1">
+      foo
+    </test:Unknown>
+  </env:Header>
+  <env:Body>
+  </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT16.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT16.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT16.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT16.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,12 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> 
+  <env:Header>
+    <test:Unknown xmlns:test="http://example.org/ts-tests"
+          env:role="http://example.org/ts-tests/C"
+          env:mustUnderstand="1">
+      foo
+    </test:Unknown>
+  </env:Header>
+  <env:Body>
+  </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT17_A.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT17_A.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT17_A.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT17_A.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,12 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> 
+  <env:Header>
+    <test:Unknown xmlns:test="http://example.org/ts-tests"
+          env:role="http://www.w3.org/2003/05/soap-envelope/role/next"
+          env:mustUnderstand="1">
+      foo
+    </test:Unknown>
+  </env:Header>
+  <env:Body>
+  </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT18_A.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT18_A.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT18_A.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT18_A.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,11 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> 
+  <env:Header>
+    <test:echoOk xmlns:test="http://example.org/ts-tests"
+          env:role="http://www.w3.org/2003/05/soap-envelope/role/none">
+      foo
+    </test:echoOk>
+  </env:Header>
+  <env:Body>
+  </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT18_B.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT18_B.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT18_B.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT18_B.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,11 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> 
+  <env:Header>
+    <test:echoOk xmlns:test="http://example.org/ts-tests"
+          env:role="http://www.w3.org/2003/05/soap-envelope/role/none">
+      foo
+    </test:echoOk>
+  </env:Header>
+  <env:Body>
+  </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT19.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT19.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT19.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT19.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,12 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> 
+  <env:Header>
+    <test:echoOk xmlns:test="http://example.org/ts-tests"
+          env:role="http://www.w3.org/2003/05/soap-envelope/role/none"
+          env:mustUnderstand="true">
+      foo
+    </test:echoOk>
+  </env:Header>
+  <env:Body>
+  </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT2.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT2.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT2.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT2.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,11 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> 
+  <env:Header>
+    <test:echoOk xmlns:test="http://example.org/ts-tests"
+          env:role="http://example.org/ts-tests/C">
+      foo
+    </test:echoOk>
+  </env:Header>
+  <env:Body>
+  </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT20.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT20.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT20.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT20.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,17 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> 
+  <env:Header>
+    <test:Unknown xmlns:test="http://example.org/ts-tests" 
+          env:mustUnderstand="1"
+          env:role="http://example.org/ts-tests/B">
+      foo
+    </test:Unknown>
+    <test:echoOk xmlns:test="http://example.org/ts-tests" 
+          env:mustUnderstand="1"
+          env:role="http://example.org/ts-tests/C">
+      foo
+    </test:echoOk>
+  </env:Header>
+  <env:Body>
+  </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT21_A.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT21_A.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT21_A.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT21_A.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,17 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> 
+  <env:Header>
+    <test:Unknown xmlns:test="http://example.org/ts-tests" 
+          env:mustUnderstand="1"
+          env:role="http://example.org/ts-tests/B">
+      foo
+    </test:Unknown>
+    <test:echoOk xmlns:test="http://example.org/ts-tests" 
+          env:mustUnderstand="1"
+          env:role="http://example.org/ts-tests/C">
+      foo
+    </test:echoOk>
+  </env:Header>
+  <env:Body>
+  </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT22.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT22.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT22.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT22.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,14 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> 
+  <env:Header>
+    <test:echoOk xmlns:test="http://example.org/ts-tests" 
+          env:mustUnderstand = "1">
+      foo
+    </test:echoOk>
+  </env:Header>
+  <env:Body>
+    <test:echoOk xmlns:test="http://example.org/ts-tests">
+      foo
+    </test:echoOk>
+  </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT23.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT23.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT23.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT23.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,15 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> 
+  <env:Header>
+    <test:Unknown xmlns:test="http://example.org/ts-tests" 
+          env:mustUnderstand="1">
+      foo
+    </test:Unknown>
+    <test:echoOk xmlns:test="http://example.org/ts-tests" 
+          env:mustUnderstand="wrong">
+      foo
+    </test:echoOk>
+  </env:Header>
+  <env:Body>
+  </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT24.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT24.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT24.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT24.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,8 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://wrong-version/"> 
+  <env:Body>
+    <test:echoOk xmlns:test="http://example.org/ts-tests">
+      foo
+    </test:echoOk>
+  </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT25.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT25.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT25.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT25.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,9 @@
+<?xml version='1.0' ?>
+<!DOCTYPE env:Envelope SYSTEM "env.dtd"[]>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> 
+  <env:Body>
+    <test:echoOk xmlns:test="http://example.org/ts-tests">
+      foo
+    </test:echoOk>
+ </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT26.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT26.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT26.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT26.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,9 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> 
+<?xml-stylesheet href="http://example.org/ts-tests/sub.xsl" type = "text/xsl"?>
+  <env:Body>
+    <test:echoOk xmlns:test="http://example.org/ts-tests">
+      foo
+    </test:echoOk>
+  </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT29.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT29.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT29.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT29.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,11 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> 
+  <env:Header>
+    <test:echoOk xmlns:test="http://example.org/ts-tests"
+          env:role="http://example.org/ts-tests/Czzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz">
+      foo
+    </test:echoOk>
+  </env:Header>
+  <env:Body>
+  </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT3.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT3.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT3.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT3.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,10 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> 
+  <env:Header>
+    <test:echoOk xmlns:test="http://example.org/ts-tests">
+      foo
+    </test:echoOk>
+  </env:Header>
+  <env:Body>
+  </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT30.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT30.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT30.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT30.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,8 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope">
+  <env:Body>
+    <test:echoOk xmlns:test="http://example.org/ts-tests">
+      foo
+    </test:echoOk>
+  </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT31.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT31.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT31.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT31.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,7 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> 
+  <env:Body>
+    <test:returnVoid xmlns:test="http://example.org/ts-tests">
+    </test:returnVoid>
+  </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT32.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT32.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT32.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT32.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,13 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> 
+  <env:Header>
+    <test:requiredHeader xmlns:test="http://example.org/ts-tests"
+          env:mustUnderstand="true">
+      foo
+    </test:requiredHeader>
+  </env:Header>
+  <env:Body>
+    <test:echoHeader xmlns:test="http://example.org/ts-tests">
+    </test:echoHeader>
+  </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT33.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT33.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT33.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT33.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,7 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> 
+  <env:Body>
+    <test:DoesNotExist xmlns:test="http://example.org/ts-tests">
+  </test:DoesNotExist>
+ </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT34.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT34.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT34.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT34.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,12 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> 
+  <env:Header>
+    <test:Unknown xmlns:test="http://example.org/ts-tests" 
+          xmlns:env1="http://schemas.xmlsoap.org/soap/envelope/"
+          env1:mustUnderstand="true">
+      foo
+    </test:Unknown>
+  </env:Header>
+  <env:Body>
+  </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT35.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT35.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT35.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT35.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,11 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> 
+  <env:Header>
+    <test:Unknown xmlns:test="http://example.org/ts-tests"
+          env:mustUnderstand="1">
+      foo
+    </test:Unknown>
+  </env:Header>
+  <env:Body>
+  </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT36.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT36.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT36.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT36.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,12 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> 
+  <env:Header>
+    <test:Unknown xmlns:test="http://example.org/ts-tests"
+          env:mustUnderstand="1" 
+          env:role="http://www.w3.org/2003/05/soap-envelope/role/ultimateReceiver">
+      foo
+    </test:Unknown>
+  </env:Header>
+  <env:Body>
+  </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT37.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT37.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT37.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT37.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,11 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> 
+  <env:Header>
+    <test:Unknown xmlns:test="http://example.org/ts-tests"
+          env:role="http://www.w3.org/2003/05/soap-envelope/role/ultimateReceiver">
+      foo
+    </test:Unknown>
+  </env:Header>
+  <env:Body>
+  </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT38_1.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT38_1.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT38_1.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT38_1.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,17 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
+  <env:Header>
+    <test:Unknown xmlns:test="http://example.org/ts-tests"
+          env:mustUnderstand="false"
+          env:role="http://example.org/ts-tests/B">
+      foo
+    </test:Unknown>
+    <test:echoOk xmlns:test="http://example.org/ts-tests"
+          env:mustUnderstand="0"
+          env:role="http://example.org/ts-tests/C">
+      foo
+    </test:echoOk>
+  </env:Header>
+  <env:Body>
+  </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT38_2.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT38_2.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT38_2.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT38_2.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,17 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
+  <env:Header>
+    <test:echoOk xmlns:test="http://example.org/ts-tests"
+          env:mustUnderstand="true"
+          env:role="http://example.org/ts-tests/B">
+      foo
+    </test:echoOk>
+    <test:echoOk xmlns:test="http://example.org/ts-tests"
+          env:mustUnderstand="1"
+          env:role="http://example.org/ts-tests/C">
+      bar
+    </test:echoOk>
+  </env:Header>
+  <env:Body>
+  </env:Body>
+</env:Envelope>

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT39.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT39.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT39.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT39.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,11 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> 
+  <env:Header>
+    <test:Unknown xmlns:test="http://example.org/ts-tests"
+          env:mustUnderstand="9">
+      foo
+    </test:Unknown>
+  </env:Header>
+  <env:Body>
+  </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT4.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT4.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT4.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT4.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,11 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> 
+  <env:Header>
+    <test:echoOk xmlns:test="http://example.org/ts-tests"
+          env:role="http://www.w3.org/2003/05/soap-envelope/role/ultimateReceiver">
+      foo
+    </test:echoOk>
+  </env:Header>
+  <env:Body>
+  </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT40.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT40.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT40.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT40.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,12 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> 
+  <env:Header>
+    <test:Unknown xmlns:test="http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]/ts-tests"
+          env:role="http://www.w3.org/2003/05/soap-envelope/role/ultimateReceiver" 
+          env:mustUnderstand="false">
+      foo
+    </test:Unknown>
+  </env:Header>
+  <env:Body>
+  </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT5.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT5.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT5.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT5.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,11 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> 
+  <env:Header>
+    <test:echoOk xmlns:test="http://example.org/ts-tests"
+          env:role="http://example.org/ts-tests/B">
+      foo
+    </test:echoOk>
+  </env:Header>
+  <env:Body>
+  </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT62_A.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT62_A.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT62_A.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT62_A.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,20 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
+  <env:Header>
+    <test:concatAndForwardEchoOk xmlns:test="http://example.org/ts-tests"
+          env:role="http://example.org/ts-tests/B"
+          env:mustUnderstand="1"/>
+    <test:concatAndForwardEchoOkArg1 xmlns:test="http://example.org/ts-tests"
+          env:role="http://example.org/ts-tests/B"
+          env:mustUnderstand="1">
+      StringA
+    </test:concatAndForwardEchoOkArg1>
+    <test:concatAndForwardEchoOkArg2 xmlns:test="http://example.org/ts-tests"
+          env:role="http://example.org/ts-tests/B"
+          env:mustUnderstand="1">
+      StringB
+    </test:concatAndForwardEchoOkArg2>
+  </env:Header>
+  <env:Body>
+  </env:Body>
+</env:Envelope>

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT62_B.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT62_B.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT62_B.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT62_B.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,12 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
+  <env:Header>
+    <test:echoOk xmlns:test="http://example.org/ts-tests"
+          env:role="http://example.org/ts-tests/C"
+          env:mustUnderstand="1">
+      StringAStringB
+    </test:echoOk>
+  </env:Header>
+  <env:Body>
+  </env:Body>
+</env:Envelope>

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT63.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT63.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT63.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT63.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,14 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
+  <env:Header>
+    <test:validateCountryCode xmlns:test="http://example.org/ts-tests"
+          env:role="http://example.org/ts-tests/C"
+          env:mustUnderstand="1">
+      ABCD
+    </test:validateCountryCode>
+  </env:Header>
+  <env:Body>
+  </env:Body>
+</env:Envelope>
+
+

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT66.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT66.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT66.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT66.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF8'?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
+  <env:Header>
+    <test:echoOk xmlns:test="http://example.org/ts-tests"
+          env:role="http://www.w3.org/2003/05/soap-envelope/role/next">
+      foo
+    </test:echoOk>
+  </env:Header>
+  <env:Body>
+  </env:Body>
+</env:Envelope>

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT67.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT67.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT67.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT67.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,13 @@
+<?xml version='1.0' standalone='yes'?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> 
+ <env:Header>
+  <test:echoOk xmlns:test="http://example.org/ts-tests"
+        env:role="http://www.w3.org/2003/05/soap-envelope/role/next">
+    foo
+  </test:echoOk>
+ </env:Header>
+ <env:Body>
+ </env:Body>
+</env:Envelope>
+
+

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT68.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT68.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT68.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT68.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,20 @@
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
+
+
+ <env:Header           >
+
+                          <test:echoOk xmlns:test="http://example.org/ts-tests"
+        env:role="http://www.w3.org/2003/05/soap-envelope/role/next"  >
+    foo
+  </test:echoOk>
+
+
+ </env:Header>
+ <env:Body>
+
+
+ </env:Body>
+
+
+
+</env:Envelope>

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT69.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT69.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT69.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT69.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,6 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
+ <env:Header>
+	<test:echoOk xmlns:test="http://example.org/ts-tests">foo</test:echoOk>
+ </env:Header>
+</env:Envelope>

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT6_A.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT6_A.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT6_A.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT6_A.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,11 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> 
+  <env:Header>
+    <test:echoOk xmlns:test="http://example.org/ts-tests"
+          env:role="http://example.org/ts-tests/C">
+      foo
+    </test:echoOk>
+  </env:Header>
+  <env:Body>
+  </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT6_B.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT6_B.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT6_B.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT6_B.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,11 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> 
+  <env:Header>
+    <test:echoOk xmlns:test="http://example.org/ts-tests"
+          env:role="http://example.org/ts-tests/C">
+      foo
+    </test:echoOk>
+  </env:Header>
+  <env:Body>
+  </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT74.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT74.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT74.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT74.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,16 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
+  <env:Header>
+    <test:echoOk xmlns:test="http://example.org/ts-tests"
+          env:role="http://www.w3.org/2003/05/soap-envelope/role/next">
+      foo
+    </test:echoOk>
+    <test:Unknown xmlns:test="http://example.org/ts-tests">
+      <test:raiseFault env:mustUnderstand="1"
+            env:role="http://www.w3.org/2003/05/soap-envelope/role/next">
+      </test:raiseFault>
+    </test:Unknown>
+  </env:Header>
+  <env:Body>
+  </env:Body>
+</env:Envelope>

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT75.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT75.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT75.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT75.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,14 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
+ <env:Header>
+  <test:echoResolvedRef xmlns:test="http://example.org/ts-tests"
+        env:role="http://www.w3.org/2003/05/soap-envelope/role/next"
+        env:mustUnderstand="1">
+    <test:RelativeReference xml:base="http://example.org/today/"
+          xlink:href="new.xml"
+          xmlns:xlink="http://www.w3.org/1999/xlink" />
+  </test:echoResolvedRef>
+ </env:Header>
+ <env:Body>
+ </env:Body>
+</env:Envelope>

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT78.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT78.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT78.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT78.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,11 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
+ <env:Header>
+  <test:echoOk xmlns:test="http://example.org/ts-tests"
+        env:role="http://www.w3.org/2003/05/soap-envelope/role/ultimateReceiver">
+    foo
+  </test:echoOk>
+ </env:Header>
+ <env:Body>
+ </env:Body>
+</env:Envelope>

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT7_A.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT7_A.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT7_A.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT7_A.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,11 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> 
+  <env:Header>
+    <test:Ignore xmlns:test="http://example.org/ts-tests"
+          env:role="http://example.org/ts-tests/B">
+      foo
+    </test:echoOk>
+  </env:Header>
+  <env:Body>
+  </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT7_B.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT7_B.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT7_B.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT7_B.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,5 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> 
+  <env:Body>
+  </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT8_A.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT8_A.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT8_A.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT8_A.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,18 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> 
+  <env:Header>
+    <test:echoOk xmlns:test="http://example.org/ts-tests">
+      foo
+    </test:echoOk>
+    <test:Ignore xmlns:test="http://example.org/ts-tests" 
+          env:role="http://example.org/ts-tests/B">
+      foo
+    </test:echoOk>
+    <test:echoOk xmlns:test="http://example.org/ts-tests"
+          env:role="http://www.w3.org/2003/05/soap-envelope/role/none">
+      foo
+    </test:echoOk>
+  </env:Header>
+  <env:Body>
+  </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT8_B.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT8_B.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT8_B.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT8_B.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,14 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> 
+  <env:Header>
+    <test:echoOk xmlns:test="http://example.org/ts-tests">
+      foo
+    </test:echoOk>  
+    <test:echoOk xmlns:test="http://example.org/ts-tests"
+          env:role="http://www.w3.org/2003/05/soap-envelope/role/none">
+      foo
+    </test:echoOk>
+  </env:Header>
+  <env:Body> 
+  </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT9_A.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT9_A.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT9_A.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT9_A.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,11 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> 
+  <env:Header>
+    <test:echoOk xmlns:test="http://example.org/ts-tests"
+          env:role="http://www.w3.org/2003/05/soap-envelope/role/ultimateReceiver">
+      foo
+    </test:echoOk>
+  </env:Header>
+  <env:Body>
+  </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT9_B.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT9_B.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT9_B.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT9_B.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,11 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> 
+  <env:Header>
+    <test:echoOk xmlns:test="http://example.org/ts-tests"
+          env:role="http://www.w3.org/2003/05/soap-envelope/role/ultimateReceiver">
+      foo
+    </test:echoOk>
+  </env:Header>
+  <env:Body>
+  </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleB/META-INF/module.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleB/META-INF/module.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleB/META-INF/module.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleB/META-INF/module.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,14 @@
+<module name="SOAP12TestModuleB">
+    <inflow>
+	<handler name="SOAP12InFlowHandlerDefaultB" class="org.apache.axis2.soap12testing.handlers.SOAP12InFlowHandlerDefaultB">
+	    <order phase="userphase1" />
+	</handler>
+    </inflow>
+
+    <outflow>
+        <handler name="SOAP12OutFlowHandlerDefault" class="org.apache.axis2.soap12testing.handlers.SOAP12OutFlowHandlerDefault">
+            <order phase="userphase1" />
+        </handler>
+    </outflow>
+
+</module>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleB/build.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleB/build.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleB/build.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleB/build.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,52 @@
+<?xml version="1.0"?>
+<project basedir="." default="jar">
+    <property name="src" location="."/>
+    <property name="build" location="build"/>
+    <property name="build.classes" location="${build}/classes"/>
+    <property name="build.lib" location="${build}/lib"/>
+    <property name="lib" location="lib"/>
+    <property name="root" location="../../../"/>
+    <property name="jar.dir" location="${root}/target/Repository/modules/"/>
+
+    <path id="axis.test.classpath">
+        <path refid="maven.dependency.classpath"></path>
+        <pathelement location="../../../target/classes"/>
+    </path>
+
+    <target name="compile" depends="init" unless="jars.uptodate">
+        <mkdir dir="${build.classes}"/>
+        <mkdir dir="${build.lib}"/>
+        <javac destdir="${build.classes}" debug="on">
+            <classpath refid="axis.test.classpath"/>
+            <src path="${src}"/>
+        </javac>
+    </target>
+
+    <target name="jar" depends="compile" unless="jars.uptodate">
+        <copy todir="${build.classes}/META-INF">
+            <fileset dir="${basedir}/META-INF/">
+                <include name="**/*.xml"/>
+                <exclude name="build.xml"/>
+            </fileset>
+        </copy>
+
+        <mkdir dir="${jar.dir}"/>
+        <jar jarfile="${jar.dir}/SOAP12TestModuleB.jar" basedir="${build.classes}">
+            <include name="**"/>
+        </jar>
+        <delete dir="${build}"/>
+    </target>
+
+    <target name="init">
+        <uptodate property="jars.uptodate" targetfile="${jar.dir}/SOAP12TestModuleB.jar">
+            <srcfiles dir="${src}">
+                <include name="**/*.java"/>
+                <include name="**/*.xml"/>
+                <include name="**/*.wsdl"/>
+                <exclude name="${build}/**"/>
+            </srcfiles>
+        </uptodate>
+        <echo message="the files are up to date = ${jars.uptodate}"></echo>
+    </target>
+
+</project>

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/HeaderConstants.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/HeaderConstants.java?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/HeaderConstants.java (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/HeaderConstants.java Tue Jul 26 05:17:44 2005
@@ -0,0 +1,37 @@
+package org.apache.axis2.soap12testing.handlers;
+
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * 
+ */
+
+/**
+ * Author : Deepal Jayasinghe
+ * Date: Jul 26, 2005
+ * Time: 2:54:22 PM
+ */
+public interface HeaderConstants {
+
+    String REQUEST_HEADERBLOCK_NAME = "echoOk";
+    String RESPONSE_HEADERBLOCK_NAME = "responseOk";
+    String SAMPLE_ROLE = "http://example.org/ts-tests";
+    String SOAP12_ROLE = "http://www.w3.org/2003/05/soap-envelope/role";
+    String ULTIMATERECEIVER_ROLE = "ultimateReceiver";
+    String NEXT_ROLE = "next";
+    String NONE_ROLE = "none";
+    String ROLE_BY_B = "B";
+    String ROLE_BY_C = "C";
+}

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultB.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultB.java?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultB.java (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultB.java Tue Jul 26 05:17:44 2005
@@ -0,0 +1,159 @@
+package org.apache.axis2.soap12testing.handlers;
+
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * 
+ */
+
+/**
+ * Author : Deepal Jayasinghe
+ * Date: Jul 26, 2005
+ * Time: 2:58:10 PM
+ */
+
+import org.apache.axis2.context.MessageContext;
+import org.apache.axis2.soap.*;
+import org.apache.axis2.soap.impl.llom.SOAPProcessingException;
+import org.apache.axis2.soap.impl.llom.soap12.SOAP12Constants;
+import org.apache.axis2.om.OMAttribute;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMNamespace;
+import org.apache.axis2.handlers.AbstractHandler;
+import org.apache.axis2.engine.AxisFault;
+
+
+import java.util.Iterator;
+
+public class SOAP12InFlowHandlerDefaultB extends AbstractHandler implements HeaderConstants {
+    private OMNamespace attributeNS;
+    private boolean attributePresent = false;
+    Integer headerBlockPresent = new Integer(0);
+
+    SOAPHeaderBlock headerBlock;
+
+
+    public void revoke(MessageContext msgContext) {
+
+    }
+
+    public void invoke(MessageContext msgContext) throws AxisFault {
+        SOAPEnvelope envelope = msgContext.getEnvelope();
+        SOAPFactory factory = OMAbstractFactory.getSOAP12Factory();
+        SOAPHeader headerAdd = factory.createSOAPHeader(envelope);
+        if (envelope.getHeader() != null) {
+            Iterator headerBlocks = envelope.getHeader().examineAllHeaderBlocks();
+            while (headerBlocks.hasNext()) {
+                try {
+                    headerBlock = (SOAPHeaderBlock) headerBlocks.next();
+                } catch (ClassCastException e) {
+                    continue;
+                }
+                Iterator attributes = headerBlock.getAttributes();
+
+                if (attributes.hasNext()) {
+                    OMAttribute firstAttribute = (OMAttribute) attributes.next();
+                    attributeNS = firstAttribute.getNamespace();
+                    attributePresent = true;
+                }
+
+                String roleValue = headerBlock.getRole();
+                boolean mustUnderstand = headerBlock.getMustUnderstand();
+                String elementName = headerBlock.getLocalName();
+                OMNamespace headerBlockNamespace = headerBlock.getNamespace();
+
+                if (elementName.equals(REQUEST_HEADERBLOCK_NAME)) {
+                    if (roleValue == null || roleValue.equals(SAMPLE_ROLE + "/" + ROLE_BY_B) || roleValue.equals(SOAP12_ROLE + "/" + ULTIMATERECEIVER_ROLE) ||
+                            roleValue.equals(SOAP12_ROLE + "/" + NEXT_ROLE)) {
+                        headerBlock.setLocalName(RESPONSE_HEADERBLOCK_NAME);
+                        if (attributePresent)
+                            headerBlock.removeAttribute((OMAttribute) headerBlock.getAttributes().next());
+                        headerBlockPresent = new Integer(1);
+                        msgContext.getOperationContext().setProperty("HEADER_BLOCK_PRESENT", headerBlockPresent, true);
+                        headerAdd.addChild(headerBlock);
+                        msgContext.getOperationContext().setProperty("HEADER_BLOCK", headerAdd, true);
+
+                    }
+                } else {
+                    if (roleValue == null || roleValue.equals(SAMPLE_ROLE + "/" + ROLE_BY_B) || roleValue.equals(SAMPLE_ROLE + "/" + ROLE_BY_C) ||
+                            roleValue.equals(SOAP12_ROLE + "/" + ULTIMATERECEIVER_ROLE) || roleValue.equals(SOAP12_ROLE + "/" + NEXT_ROLE)) {
+                        if (mustUnderstand) {
+
+                            SOAPBody body = factory.getDefaultEnvelope().getBody();
+                            if (attributePresent && attributeNS.getName() == "http://schemas.xmlsoap.org/soap/envelope/") {
+
+                            } else {
+
+                                try {
+                                    SOAPFault fault = factory.createSOAPFault(body);
+                                    SOAPFaultCode code = factory.createSOAPFaultCode(fault);
+                                    SOAPFaultValue value = factory.createSOAPFaultValue(code);
+                                    value.setText("env:MustUnderstand");
+                                    SOAPFaultReason reason = factory.createSOAPFaultReason(fault);
+                                    SOAPFaultText text = factory.createSOAPFaultText(reason);
+                                    text.setLang("en-US");
+                                    text.setText("Header not understood");
+                                    reason.setSOAPText(text);
+                                    //fault.setReason(reason);
+                                    if (roleValue != null && roleValue.equals(SAMPLE_ROLE + "/" + ROLE_BY_B)) {
+                                        SOAPFaultNode node = factory.createSOAPFaultNode(fault);
+                                        node.setNodeValue(SAMPLE_ROLE + "/" + ROLE_BY_B);
+                                        SOAPFaultRole role = factory.createSOAPFaultRole(fault);
+                                        role.setRoleValue(SAMPLE_ROLE + "/" + ROLE_BY_B);
+                                        msgContext.setProperty(SOAP12Constants.SOAP_FAULT_NODE_LOCAL_NAME, node);
+                                        msgContext.setProperty(SOAP12Constants.SOAP_FAULT_ROLE_LOCAL_NAME, role);
+                                    }
+
+                                    msgContext.setProperty(SOAP12Constants.SOAP_FAULT_CODE_LOCAL_NAME, code);
+                                    msgContext.setProperty(SOAP12Constants.SOAP_FAULT_REASON_LOCAL_NAME, reason);
+
+                                } catch (SOAPProcessingException e) {
+                                    e.printStackTrace();
+                                }
+
+                                headerBlock.discard();
+                                SOAPHeaderBlock newHeaderBlock = null;
+                                try {
+                                    newHeaderBlock = envelope.getHeader().addHeaderBlock("NotUnderstood", envelope.getNamespace());
+                                    newHeaderBlock.declareNamespace(headerBlockNamespace);
+                                    newHeaderBlock.addAttribute("qname", headerBlockNamespace.getName() + ":" + elementName, null);
+                                } catch (SOAPProcessingException e) {
+                                    e.printStackTrace();
+                                }
+                                headerBlockPresent = new Integer(1);
+                                msgContext.getOperationContext().setProperty("HEADER_BLOCK_PRESENT", headerBlockPresent, true);
+                                headerAdd.addChild(newHeaderBlock);
+                                msgContext.getOperationContext().setProperty("HEADER_BLOCK", headerAdd, true);
+
+                                throw new AxisFault("Intentional Failure from SOAP 1.2 testing ...");
+                            }
+                        } else {
+                            headerBlockPresent = new Integer(0);
+                        }
+
+                    }
+                }
+            }
+            if (headerBlockPresent.equals(new Integer(0))) {
+                msgContext.getOperationContext().setProperty("HEADER_BLOCK_PRESENT", headerBlockPresent, true);
+            }
+            headerBlockPresent = new Integer(0);
+        } else {
+            headerBlockPresent = new Integer(0);
+            msgContext.getOperationContext().setProperty("HEADER_BLOCK_PRESENT", headerBlockPresent, true);
+        }
+    }
+}
+

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12OutFaultFlowHandlerDefault.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12OutFaultFlowHandlerDefault.java?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12OutFaultFlowHandlerDefault.java (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12OutFaultFlowHandlerDefault.java Tue Jul 26 05:17:44 2005
@@ -0,0 +1,55 @@
+package org.apache.axis2.soap12testing.handlers;
+
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * 
+ */
+
+/**
+ * Author : Deepal Jayasinghe
+ * Date: Jul 26, 2005
+ * Time: 2:55:18 PM
+ */
+
+import org.apache.axis2.context.MessageContext;
+import org.apache.axis2.soap.SOAPHeaderBlock;
+import org.apache.axis2.soap.SOAPHeader;
+import org.apache.axis2.handlers.AbstractHandler;
+
+import java.util.Iterator;
+
+public class SOAP12OutFaultFlowHandlerDefault extends AbstractHandler {
+
+
+    public void revoke(MessageContext msgContext) {
+
+    }
+
+    public void invoke(MessageContext msgContext) {
+        Integer headerBlockPresent = (Integer) msgContext.getOperationContext().getProperty("HEADER_BLOCK_PRESENT", true);
+        if (headerBlockPresent.equals(new Integer(1))) {
+            SOAPHeader headerAdd = (SOAPHeader) msgContext.getOperationContext().getProperty("HEADER_BLOCK", true);
+           Iterator headerBlocks = headerAdd.examineAllHeaderBlocks();
+            while(headerBlocks.hasNext()){
+                SOAPHeaderBlock headerBlock=(SOAPHeaderBlock) headerBlocks.next();
+                msgContext.getEnvelope().getHeader().addChild(headerBlock);
+            }
+        } else {
+            msgContext.getEnvelope().getHeader().discard();
+        }
+    }
+}
+

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12OutFlowHandlerDefault.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12OutFlowHandlerDefault.java?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12OutFlowHandlerDefault.java (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12OutFlowHandlerDefault.java Tue Jul 26 05:17:44 2005
@@ -0,0 +1,54 @@
+package org.apache.axis2.soap12testing.handlers;
+
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * 
+ */
+
+/**
+ * Author : Deepal Jayasinghe
+ * Date: Jul 26, 2005
+ * Time: 2:56:35 PM
+ */
+
+import org.apache.axis2.context.MessageContext;
+import org.apache.axis2.soap.SOAPHeaderBlock;
+import org.apache.axis2.soap.SOAPHeader;
+import org.apache.axis2.handlers.AbstractHandler;
+
+import java.util.Iterator;
+
+public class SOAP12OutFlowHandlerDefault extends AbstractHandler {
+
+
+    public void revoke(MessageContext msgContext) {
+
+    }
+
+    public void invoke(MessageContext msgContext) {
+        Integer headerBlockPresent = (Integer) msgContext.getOperationContext().getProperty("HEADER_BLOCK_PRESENT", true);
+        if (headerBlockPresent.equals(new Integer(1))) {
+            SOAPHeader headerAdd = (SOAPHeader) msgContext.getOperationContext().getProperty("HEADER_BLOCK", true);
+           Iterator headerBlocks = headerAdd.examineAllHeaderBlocks();
+            while(headerBlocks.hasNext()){
+                SOAPHeaderBlock headerBlock=(SOAPHeaderBlock) headerBlocks.next();
+                msgContext.getEnvelope().getHeader().addChild(headerBlock);
+            }
+        } else {
+            msgContext.getEnvelope().getHeader().discard();
+        }
+    }
+}

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleC/META-INF/module.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleC/META-INF/module.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleC/META-INF/module.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleC/META-INF/module.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,14 @@
+<module name="SOAP12TestModuleC">
+    <inflow>
+	<handler name="SOAP12InFlowHandlerDefaultC" class="org.apache.axis2.soap12testing.handlers.SOAP12InFlowHandlerDefaultC">
+	    <order phase="userphase1" />
+	</handler>
+    </inflow>
+
+    <outflow>
+        <handler name="SOAP12OutFlowHandlerDefault" class="org.apache.axis2.soap12testing.handlers.SOAP12OutFlowHandlerDefault">
+            <order phase="userphase1" />
+        </handler>
+    </outflow>
+
+</module>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleC/build.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleC/build.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleC/build.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleC/build.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,52 @@
+<?xml version="1.0"?>
+<project basedir="." default="jar">
+    <property name="src" location="."/>
+    <property name="build" location="build"/>
+    <property name="build.classes" location="${build}/classes"/>
+    <property name="build.lib" location="${build}/lib"/>
+    <property name="lib" location="lib"/>
+    <property name="root" location="../../../"/>
+    <property name="jar.dir" location="${root}/target/Repository/modules/"/>
+
+    <path id="axis.test.classpath">
+        <path refid="maven.dependency.classpath"></path>
+        <pathelement location="../../../target/classes"/>
+    </path>
+
+    <target name="compile" depends="init" unless="jars.uptodate">
+        <mkdir dir="${build.classes}"/>
+        <mkdir dir="${build.lib}"/>
+        <javac destdir="${build.classes}" debug="on">
+            <classpath refid="axis.test.classpath"/>
+            <src path="${src}"/>
+        </javac>
+    </target>
+
+    <target name="jar" depends="compile" unless="jars.uptodate">
+        <copy todir="${build.classes}/META-INF">
+            <fileset dir="${basedir}/META-INF/">
+                <include name="**/*.xml"/>
+                <exclude name="build.xml"/>
+            </fileset>
+        </copy>
+
+        <mkdir dir="${jar.dir}"/>
+        <jar jarfile="${jar.dir}/SOAP12TestModuleC.jar" basedir="${build.classes}">
+            <include name="**"/>
+        </jar>
+        <delete dir="${build}"/>
+    </target>
+
+    <target name="init">
+        <uptodate property="jars.uptodate" targetfile="${jar.dir}/SOAP12TestModuleC.jar">
+            <srcfiles dir="${src}">
+                <include name="**/*.java"/>
+                <include name="**/*.xml"/>
+                <include name="**/*.wsdl"/>
+                <exclude name="${build}/**"/>
+            </srcfiles>
+        </uptodate>
+        <echo message="the files are up to date = ${jars.uptodate}"></echo>
+    </target>
+
+</project>

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/HeaderConstants.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/HeaderConstants.java?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/HeaderConstants.java (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/HeaderConstants.java Tue Jul 26 05:17:44 2005
@@ -0,0 +1,37 @@
+package org.apache.axis2.soap12testing.handlers;
+
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * 
+ */
+
+/**
+ * Author : Deepal Jayasinghe
+ * Date: Jul 26, 2005
+ * Time: 2:54:45 PM
+ */
+public interface HeaderConstants {
+
+    String REQUEST_HEADERBLOCK_NAME = "echoOk";
+    String RESPONSE_HEADERBLOCK_NAME = "responseOk";
+    String SAMPLE_ROLE = "http://example.org/ts-tests";
+    String SOAP12_ROLE = "http://www.w3.org/2003/05/soap-envelope/role";
+    String ULTIMATERECEIVER_ROLE = "ultimateReceiver";
+    String NEXT_ROLE = "next";
+    String NONE_ROLE = "none";
+    String ROLE_BY_B = "B";
+    String ROLE_BY_C = "C";
+}

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultC.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultC.java?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultC.java (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultC.java Tue Jul 26 05:17:44 2005
@@ -0,0 +1,160 @@
+package org.apache.axis2.soap12testing.handlers;
+
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * 
+ */
+
+/**
+ * Author : Deepal Jayasinghe
+ * Date: Jul 26, 2005
+ * Time: 2:58:54 PM
+ */
+import org.apache.axis2.context.MessageContext;
+import org.apache.axis2.soap.*;
+import org.apache.axis2.soap.impl.llom.SOAPProcessingException;
+import org.apache.axis2.soap.impl.llom.soap12.SOAP12Constants;
+import org.apache.axis2.om.OMAttribute;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMNamespace;
+import org.apache.axis2.handlers.AbstractHandler;
+import org.apache.axis2.engine.AxisFault;
+
+
+import java.util.Iterator;
+
+public class SOAP12InFlowHandlerDefaultC extends AbstractHandler implements HeaderConstants {
+    private OMNamespace attributeNS;
+    private boolean attributePresent = false;
+    Integer headerBlockPresent = new Integer(0);
+    SOAPHeaderBlock headerBlock;
+
+
+    public void revoke(MessageContext msgContext) {
+
+    }
+
+    public void invoke(MessageContext msgContext) throws AxisFault {
+        SOAPEnvelope envelope = msgContext.getEnvelope();
+        if (envelope.getHeader() != null) {
+            Iterator headerBlocks = envelope.getHeader().examineAllHeaderBlocks();
+            SOAPFactory factory = OMAbstractFactory.getSOAP12Factory();
+            SOAPHeader headerAdd = factory.createSOAPHeader(envelope);
+
+            while (headerBlocks.hasNext()) {
+                try {
+                    headerBlock = (SOAPHeaderBlock) headerBlocks.next();
+                } catch (ClassCastException e) {
+                    continue;
+                }
+                Iterator attributes = headerBlock.getAttributes();
+
+                if (attributes.hasNext()) {
+                    OMAttribute firstAttribute = (OMAttribute) attributes.next();
+                    attributeNS = firstAttribute.getNamespace();
+                    attributePresent = true;
+                }
+
+                String roleValue = headerBlock.getRole();
+                boolean mustUnderstand = headerBlock.getMustUnderstand();
+                String elementName = headerBlock.getLocalName();
+                OMNamespace headerBlockNamespace = headerBlock.getNamespace();
+
+                if (elementName.equals(REQUEST_HEADERBLOCK_NAME)) {
+                    if (roleValue == null || roleValue.equals(SAMPLE_ROLE + "/" + ROLE_BY_C) || roleValue.equals(SOAP12_ROLE + "/" + ULTIMATERECEIVER_ROLE) ||
+                            roleValue.equals(SOAP12_ROLE + "/" + NEXT_ROLE)) {
+                        headerBlock.setLocalName(RESPONSE_HEADERBLOCK_NAME);
+                        if (attributePresent) {
+                            headerBlock.removeAttribute((OMAttribute) headerBlock.getAttributes().next());
+                            attributePresent = false;
+                        }
+                        headerBlockPresent = new Integer(1);
+                        msgContext.getOperationContext().setProperty("HEADER_BLOCK_PRESENT", headerBlockPresent, true);
+                        headerAdd.addChild(headerBlock);
+                        msgContext.getOperationContext().setProperty("HEADER_BLOCK", headerAdd, true);
+
+                    }
+                } else {
+                    if (roleValue == null || roleValue.equals(SAMPLE_ROLE + "/" + ROLE_BY_C) ||
+                            roleValue.equals(SOAP12_ROLE + "/" + ULTIMATERECEIVER_ROLE) || roleValue.equals(SOAP12_ROLE + "/" + NEXT_ROLE)) {
+
+                        if (mustUnderstand) {
+
+                            SOAPBody body = factory.getDefaultEnvelope().getBody();
+                            if (attributePresent && attributeNS.getName() == "http://schemas.xmlsoap.org/soap/envelope/") {
+
+                            } else {
+
+                                try {
+                                    SOAPFault fault = factory.createSOAPFault(body);
+                                    SOAPFaultCode code = factory.createSOAPFaultCode(fault);
+                                    SOAPFaultValue value = factory.createSOAPFaultValue(code);
+                                    value.setText("env:MustUnderstand");
+                                    SOAPFaultReason reason = factory.createSOAPFaultReason(fault);
+                                    SOAPFaultText text = factory.createSOAPFaultText(reason);
+                                    text.setLang("en-US");
+                                    text.setText("Header not understood");
+                                    reason.setSOAPText(text);
+                                    //fault.setReason(reason);
+                                    if (roleValue != null && roleValue.equals(SAMPLE_ROLE + "/" + ROLE_BY_B)) {
+                                        SOAPFaultNode node = factory.createSOAPFaultNode(fault);
+                                        node.setNodeValue(SAMPLE_ROLE + "/" + ROLE_BY_B);
+                                        SOAPFaultRole role = factory.createSOAPFaultRole(fault);
+                                        role.setRoleValue(SAMPLE_ROLE + "/" + ROLE_BY_B);
+                                        msgContext.setProperty(SOAP12Constants.SOAP_FAULT_NODE_LOCAL_NAME, node, true);
+                                        msgContext.setProperty(SOAP12Constants.SOAP_FAULT_ROLE_LOCAL_NAME, role, true);
+                                    }
+
+                                    msgContext.setProperty(SOAP12Constants.SOAP_FAULT_CODE_LOCAL_NAME, code);
+                                    msgContext.setProperty(SOAP12Constants.SOAP_FAULT_REASON_LOCAL_NAME, reason);
+
+                                } catch (SOAPProcessingException e) {
+                                    e.printStackTrace();
+                                }
+
+
+                                headerBlock.discard();
+                                SOAPHeaderBlock newHeaderBlock = null;
+                                try {
+                                    newHeaderBlock = envelope.getHeader().addHeaderBlock("NotUnderstood", envelope.getNamespace());
+                                    newHeaderBlock.declareNamespace(headerBlockNamespace);
+                                    newHeaderBlock.addAttribute("qname", headerBlockNamespace.getName() + ":" + elementName, null);
+                                } catch (SOAPProcessingException e) {
+                                    e.printStackTrace();
+                                }
+                                headerBlockPresent = new Integer(1);
+                                msgContext.getOperationContext().setProperty("HEADER_BLOCK_PRESENT", headerBlockPresent, true);
+                                headerAdd.addChild(newHeaderBlock);
+                                msgContext.getOperationContext().setProperty("HEADER_BLOCK", headerAdd, true);
+                                throw new AxisFault("Intentional Failure from SOAP 1.2 testing ...");
+                            }
+                        }
+
+                    }
+                }
+            }
+            if (headerBlockPresent.equals(new Integer(0))) {
+                msgContext.getOperationContext().setProperty("HEADER_BLOCK_PRESENT", headerBlockPresent, true);
+            }
+
+            headerBlockPresent = new Integer(0);
+
+        } else {
+            headerBlockPresent = new Integer(0);
+            msgContext.getOperationContext().setProperty("HEADER_BLOCK_PRESENT", headerBlockPresent, true);
+        }
+    }
+}

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/SOAP12OutFaultFlowHandlerDefault.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/SOAP12OutFaultFlowHandlerDefault.java?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/SOAP12OutFaultFlowHandlerDefault.java (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/SOAP12OutFaultFlowHandlerDefault.java Tue Jul 26 05:17:44 2005
@@ -0,0 +1,54 @@
+package org.apache.axis2.soap12testing.handlers;
+
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * 
+ */
+
+/**
+ * Author : Deepal Jayasinghe
+ * Date: Jul 26, 2005
+ * Time: 2:56:05 PM
+ */
+
+import org.apache.axis2.context.MessageContext;
+import org.apache.axis2.soap.SOAPHeaderBlock;
+import org.apache.axis2.soap.SOAPHeader;
+import org.apache.axis2.handlers.AbstractHandler;
+
+import java.util.Iterator;
+
+public class SOAP12OutFaultFlowHandlerDefault extends AbstractHandler {
+
+
+    public void revoke(MessageContext msgContext) {
+
+    }
+
+    public void invoke(MessageContext msgContext) {
+        Integer headerBlockPresent = (Integer) msgContext.getOperationContext().getProperty("HEADER_BLOCK_PRESENT", true);
+        if (headerBlockPresent.equals(new Integer(1))) {
+            SOAPHeader headerAdd = (SOAPHeader) msgContext.getOperationContext().getProperty("HEADER_BLOCK", true);
+           Iterator headerBlocks = headerAdd.examineAllHeaderBlocks();
+            while(headerBlocks.hasNext()){
+                SOAPHeaderBlock headerBlock=(SOAPHeaderBlock) headerBlocks.next();
+                msgContext.getEnvelope().getHeader().addChild(headerBlock);
+            }
+        } else {
+            msgContext.getEnvelope().getHeader().discard();
+        }
+    }
+}



Mime
View raw message