cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject svn commit: r596192 - /incubator/cxf/trunk/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/VersionTransformer.java
Date Mon, 19 Nov 2007 04:29:57 GMT
Author: mmao
Date: Sun Nov 18 20:29:56 2007
New Revision: 596192

URL: http://svn.apache.org/viewvc?rev=596192&view=rev
Log:
CXF-1216 
 WS-Addressing & .net Interop, Thanks Adrian for the patch


Modified:
    incubator/cxf/trunk/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/VersionTransformer.java

Modified: incubator/cxf/trunk/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/VersionTransformer.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/VersionTransformer.java?rev=596192&r1=596191&r2=596192&view=diff
==============================================================================
--- incubator/cxf/trunk/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/VersionTransformer.java
(original)
+++ incubator/cxf/trunk/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/VersionTransformer.java
Sun Nov 18 20:29:56 2007
@@ -236,12 +236,10 @@
             exposed.setValue(internal.getValue());
             String internalRelationshipType = internal.getRelationshipType();
             if (internalRelationshipType != null) {
-                QName exposedRelationshipType = 
-                    Names.WSA_RELATIONSHIP_REPLY.equals(
-                                                    internalRelationshipType)
-                    ? new QName(Names200408.WSA_NAMESPACE_NAME,
-                                Names.WSA_REPLY_NAME)
-                    : new QName(internalRelationshipType);
+                QName exposedRelationshipType = null;
+                if (!Names.WSA_RELATIONSHIP_REPLY.equals(internalRelationshipType)) {
+                    exposedRelationshipType = new QName(internalRelationshipType);
+                }
                 exposed.setRelationshipType(exposedRelationshipType);
             }
             putAll(exposed.getOtherAttributes(), internal.getOtherAttributes());



Mime
View raw message