You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by da...@apache.org on 2006/11/22 11:20:50 UTC

svn commit: r478110 - in /webservices/axis2/trunk/java/modules/addressing: src/org/apache/axis2/handlers/addressing/AddressingOutHandler.java test-resources/OutHandlerTest.xml test-resources/mustUnderstandTest.xml

Author: davidillsley
Date: Wed Nov 22 02:20:49 2006
New Revision: 478110

URL: http://svn.apache.org/viewvc?view=rev&rev=478110
Log:
Fix Addressing interop issue - RelationshipType attribute should not be namespace qualified.

Modified:
    webservices/axis2/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingOutHandler.java
    webservices/axis2/trunk/java/modules/addressing/test-resources/OutHandlerTest.xml
    webservices/axis2/trunk/java/modules/addressing/test-resources/mustUnderstandTest.xml

Modified: webservices/axis2/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingOutHandler.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingOutHandler.java?view=diff&rev=478110&r1=478109&r2=478110
==============================================================================
--- webservices/axis2/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingOutHandler.java (original)
+++ webservices/axis2/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingOutHandler.java Wed Nov 22 02:20:49 2006
@@ -219,7 +219,7 @@
                         
                         relatesToHeader.addAttribute(WSA_RELATES_TO_RELATIONSHIP_TYPE,
                                 relationshipType,
-                                addressingNamespaceObject);
+                                null);
                     }
                 }
             }

Modified: webservices/axis2/trunk/java/modules/addressing/test-resources/OutHandlerTest.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/addressing/test-resources/OutHandlerTest.xml?view=diff&rev=478110&r1=478109&r2=478110
==============================================================================
--- webservices/axis2/trunk/java/modules/addressing/test-resources/OutHandlerTest.xml (original)
+++ webservices/axis2/trunk/java/modules/addressing/test-resources/OutHandlerTest.xml Wed Nov 22 02:20:49 2006
@@ -14,7 +14,7 @@
         <wsa:ReplyTo>
             <wsa:Address>http://www.replyTo.org/service/</wsa:Address>
         </wsa:ReplyTo>
-        <wsa:RelatesTo wsa:RelationshipType="TestRelation">http://www.relatesTo.org/service/</wsa:RelatesTo>
+        <wsa:RelatesTo RelationshipType="TestRelation">http://www.relatesTo.org/service/</wsa:RelatesTo>
     </soapenv:Header>
     <soapenv:Body></soapenv:Body>
-</soapenv:Envelope>
\ No newline at end of file
+</soapenv:Envelope>

Modified: webservices/axis2/trunk/java/modules/addressing/test-resources/mustUnderstandTest.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/addressing/test-resources/mustUnderstandTest.xml?view=diff&rev=478110&r1=478109&r2=478110
==============================================================================
--- webservices/axis2/trunk/java/modules/addressing/test-resources/mustUnderstandTest.xml (original)
+++ webservices/axis2/trunk/java/modules/addressing/test-resources/mustUnderstandTest.xml Wed Nov 22 02:20:49 2006
@@ -14,7 +14,7 @@
         <wsa:ReplyTo soapenv:mustUnderstand="1">
             <wsa:Address>http://www.replyTo.org/service/</wsa:Address>
         </wsa:ReplyTo>
-        <wsa:RelatesTo soapenv:mustUnderstand="1" wsa:RelationshipType="TestRelation">http://www.relatesTo.org/service/</wsa:RelatesTo>
+        <wsa:RelatesTo soapenv:mustUnderstand="1" RelationshipType="TestRelation">http://www.relatesTo.org/service/</wsa:RelatesTo>
     </soapenv:Header>
     <soapenv:Body></soapenv:Body>
-</soapenv:Envelope>
\ No newline at end of file
+</soapenv:Envelope>



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org