[ https://issues.apache.org/activemq/browse/SM-526?page=all ]

Grant McDonald updated SM-526:
------------------------------

    Description: 
When returning output and fault messages an XMLInteractionObject is currently 
being used to wrap the Document object created from the NormalizedMessage.  The 
use of XMLInteractionObject is deprecated within ODE and due to some not 
entirely   understood code paths this results in Fault messages being wrapped 
in a CannedFormattableValue which renders the object immutable in BPEL and its 
data unretrieveable to the JBI world when sent back to ServiceMix.

The answer is to use instead DocumentFormattableValue from ODE/BPE to wrap both 
the output and fault messages of a JBI invoke action.  A patch for this has 
been attached.  Testing has confirmed the correctness of the solution works for 
namespace and non-namespace messages that contain mixed namespace declarations.

  was:
When returning output and fault messages an XMLInteractionObject is currently 
being used to wrap the Document object created from the NormalizedMessage.  The 
use of XMLInteractionObject is deprecated within ODE and due to some not 
entirely   understood code paths this results in Fault messages being wrapped 
in a CannedFormattableValue which renders the object immutable in BPEL and its 
data unretrieveable to the JBI world when sent back to ServiceMix.

The answer is to use instead DescribedValue from ODE/BPE to wrap both the 
output and fault messages of a JBI invoke action.  A patch for this has been 
attached.  Testing has been done, although no test cases have been prepared.


> Fault messages returned to BPEL via servicemix-bpe are not accessible in BPEL
> -----------------------------------------------------------------------------
>
>                 Key: SM-526
>                 URL: https://issues.apache.org/activemq/browse/SM-526
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-bpe
>         Environment: Ubuntu Linux 5.10, Windows XP SP2, ServiceMix HEAD
>            Reporter: Grant McDonald
>         Attachments: JbiInvokeAction.java.patch
>
>   Original Estimate: 15 minutes
>  Remaining Estimate: 15 minutes
>
> When returning output and fault messages an XMLInteractionObject is currently 
> being used to wrap the Document object created from the NormalizedMessage.  
> The use of XMLInteractionObject is deprecated within ODE and due to some not 
> entirely   understood code paths this results in Fault messages being wrapped 
> in a CannedFormattableValue which renders the object immutable in BPEL and 
> its data unretrieveable to the JBI world when sent back to ServiceMix.
> The answer is to use instead DocumentFormattableValue from ODE/BPE to wrap 
> both the output and fault messages of a JBI invoke action.  A patch for this 
> has been attached.  Testing has confirmed the correctness of the solution 
> works for namespace and non-namespace messages that contain mixed namespace 
> declarations.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to