axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r289289 [79/134] - in /webservices/axis2/trunk/java: ./ etc/ modules/addressing/ modules/addressing/src/META-INF/ modules/addressing/src/org/apache/axis2/handlers/addressing/ modules/addressing/test-resources/ modules/addressing/test/org/ap...
Date Thu, 15 Sep 2005 19:07:03 GMT
Modified: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT69.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT69.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT69.xml (original)
+++ webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT69.xml Thu Sep 15 11:52:11 2005
@@ -1,6 +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>
+<?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>

Propchange: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT69.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT6_A.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT6_A.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT6_A.xml (original)
+++ webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT6_A.xml Thu Sep 15 11:52:11 2005
@@ -1,11 +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>
+<?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>

Propchange: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT6_A.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT6_B.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT6_B.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT6_B.xml (original)
+++ webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT6_B.xml Thu Sep 15 11:52:11 2005
@@ -1,11 +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>
+<?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>

Propchange: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT6_B.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT74.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT74.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT74.xml (original)
+++ webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT74.xml Thu Sep 15 11:52:11 2005
@@ -1,16 +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>
+<?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>

Propchange: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT74.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT75.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT75.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT75.xml (original)
+++ webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT75.xml Thu Sep 15 11:52:11 2005
@@ -1,14 +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>
+<?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>

Propchange: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT75.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT78.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT78.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT78.xml (original)
+++ webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT78.xml Thu Sep 15 11:52:11 2005
@@ -1,11 +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>
+<?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>

Propchange: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT78.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT7_A.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT7_A.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT7_A.xml (original)
+++ webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT7_A.xml Thu Sep 15 11:52:11 2005
@@ -1,11 +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>
+<?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>

Propchange: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT7_A.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT7_B.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT7_B.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT7_B.xml (original)
+++ webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT7_B.xml Thu Sep 15 11:52:11 2005
@@ -1,5 +1,5 @@
-<?xml version='1.0' ?>
-<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> 
-  <env:Body>
-  </env:Body>
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> 
+  <env:Body>
+  </env:Body>
 </env:Envelope>

Propchange: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT7_B.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT8_A.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT8_A.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT8_A.xml (original)
+++ webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT8_A.xml Thu Sep 15 11:52:11 2005
@@ -1,18 +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>
+<?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>

Propchange: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT8_A.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT8_B.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT8_B.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT8_B.xml (original)
+++ webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT8_B.xml Thu Sep 15 11:52:11 2005
@@ -1,14 +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>
+<?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>

Propchange: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT8_B.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT9_A.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT9_A.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT9_A.xml (original)
+++ webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT9_A.xml Thu Sep 15 11:52:11 2005
@@ -1,11 +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>
+<?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>

Propchange: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT9_A.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT9_B.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT9_B.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT9_B.xml (original)
+++ webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT9_B.xml Thu Sep 15 11:52:11 2005
@@ -1,11 +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>
+<?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>

Propchange: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT9_B.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/META-INF/module.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/META-INF/module.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/META-INF/module.xml (original)
+++ webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/META-INF/module.xml Thu Sep 15 11:52:11 2005
@@ -1,14 +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 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>

Propchange: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/META-INF/module.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/build.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/build.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/build.xml (original)
+++ webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/build.xml Thu Sep 15 11:52:11 2005
@@ -1,52 +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>
+<?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>

Propchange: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/HeaderConstants.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/HeaderConstants.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/HeaderConstants.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/HeaderConstants.java Thu Sep 15 11:52:11 2005
@@ -1,37 +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";
-}
+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";
+}

Propchange: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/HeaderConstants.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultB.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultB.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultB.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultB.java Thu Sep 15 11:52:11 2005
@@ -1,159 +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.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.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) {
-                                   throw new AxisFault(e);
-                                }
-
-                                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);
-        }
-    }
-}
-
+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.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.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) {
+                                   throw new AxisFault(e);
+                                }
+
+                                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);
+        }
+    }
+}
+

Propchange: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultB.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12OutFaultFlowHandlerDefault.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12OutFaultFlowHandlerDefault.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12OutFaultFlowHandlerDefault.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12OutFaultFlowHandlerDefault.java Thu Sep 15 11:52:11 2005
@@ -1,55 +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();
-        }
-    }
-}
-
+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();
+        }
+    }
+}
+

Propchange: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12OutFaultFlowHandlerDefault.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12OutFlowHandlerDefault.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12OutFlowHandlerDefault.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12OutFlowHandlerDefault.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12OutFlowHandlerDefault.java Thu Sep 15 11:52:11 2005
@@ -1,54 +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();
-        }
-    }
-}
+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();
+        }
+    }
+}

Propchange: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12OutFlowHandlerDefault.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/META-INF/module.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/META-INF/module.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/META-INF/module.xml (original)
+++ webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/META-INF/module.xml Thu Sep 15 11:52:11 2005
@@ -1,14 +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 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>

Propchange: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/META-INF/module.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/build.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/build.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/build.xml (original)
+++ webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/build.xml Thu Sep 15 11:52:11 2005
@@ -1,52 +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>
+<?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>

Propchange: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/HeaderConstants.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/HeaderConstants.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/HeaderConstants.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/HeaderConstants.java Thu Sep 15 11:52:11 2005
@@ -1,37 +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";
-}
+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";
+}

Propchange: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/HeaderConstants.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultC.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultC.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultC.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultC.java Thu Sep 15 11:52:11 2005
@@ -1,160 +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.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.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);
-        }
-    }
-}
+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.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.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);
+        }
+    }
+}

Propchange: webservices/axis2/trunk/java/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultC.java
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message