[mashup-dev] [jira] Created: (MASHUP-866) Verify WSRequest Host Object sets FaultTo correctly.

Jonathan Marsh (JIRA) jira at wso2.org
Mon Jun 23 16:58:34 PDT 2008


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

        



More information about the Mashup-dev mailing list