Verify WSRequest Host Object sets FaultTo correctly.
----------------------------------------------------
Key: MASHUP-866
URL: https://wso2.org/jira/browse/MASHUP-866
Project: WSO2 Mashup Server
Issue Type: Bug
Reporter: Jonathan Marsh
Assignee: Keith Godwin Chapman
Lines 990-999 of WSRequestHostImpl.java read:
Object replyToObject = optionsArray.get("replyTo", optionsArray);
if (replyToObject != null && !(replyToObject instanceof Undefined)
&& !(replyToObject instanceof UniqueTag)) {
options.setReplyTo(new
EndpointReference(replyToObject.toString()));
}
Object faultToObject = optionsArray.get("faultTo", optionsArray);
if (faultToObject != null && !(faultToObject instanceof Undefined)
&& !(faultToObject instanceof UniqueTag)) {
options.setReplyTo(new
EndpointReference(faultToObject.toString()));
}
Shouldn't the last line be
options.setFaultTo(new EndpointReference(faultToObject.toString()));
?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev