Author: dkulp
Date: Mon Apr 20 21:10:46 2009
New Revision: 766876
URL: http://svn.apache.org/viewvc?rev=766876&view=rev
Log:
Revert out something that apparently doesn't work on the 2.0.x line
Modified:
cxf/branches/2.0.x-fixes/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/soap/MAPCodec.java
Modified:
cxf/branches/2.0.x-fixes/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/soap/MAPCodec.java
URL:
http://svn.apache.org/viewvc/cxf/branches/2.0.x-fixes/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/soap/MAPCodec.java?rev=766876&r1=766875&r2=766876&view=diff
==============================================================================
---
cxf/branches/2.0.x-fixes/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/soap/MAPCodec.java
(original)
+++
cxf/branches/2.0.x-fixes/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/soap/MAPCodec.java
Mon Apr 20 21:10:46 2009
@@ -716,8 +716,7 @@
*/
private void restoreExchange(SoapMessage message, AddressingProperties
maps) {
if (maps != null
- && maps.getRelatesTo() != null
- && isRelationshipReply(maps.getRelatesTo())) {
+ && maps.getRelatesTo() != null) {
Exchange correlatedExchange =
uncorrelatedExchanges.remove(maps.getRelatesTo().getValue());
if (correlatedExchange != null) {
@@ -747,14 +746,6 @@
}
- /**
- * @param relatesTo the current RelatesTo
- * @return true iff the relationship type is reply
- */
- private boolean isRelationshipReply(RelatesToType relatesTo) {
- return
Names.WSA_RELATIONSHIP_REPLY.equals(relatesTo.getRelationshipType());
- }
-
/**
* Marks a message as partial response
*