You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Grant McDonald (JIRA)" <ji...@apache.org> on 2006/08/09 12:25:23 UTC

[jira] Created: (SM-526) Fault messages returned to BPEL via servicemix-bpe are not accessible in BPEL

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: servicemix-bpe.zip

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.

-- 
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

        

[jira] Commented: (SM-526) Fault messages returned to BPEL via servicemix-bpe are not accessible in BPEL

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-526?page=comments#action_36753 ] 
            
Guillaume Nodet commented on SM-526:
------------------------------------

Could you please use the 'svn diff' command to create patches ?
They are much easier to work with :)

> 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: servicemix-bpe.zip
>
>   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 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.

-- 
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

        

[jira] Commented: (SM-526) Fault messages returned to BPEL via servicemix-bpe are not accessible in BPEL

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-526?page=comments#action_36757 ] 
            
Guillaume Nodet commented on SM-526:
------------------------------------

Thx.  When you launch the command from the root dir, the patch file will include the path informations.  This is much easier to apply as you only need to apply one patch file.  

> 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: servicemix-bpe.zip
>
>   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 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.

-- 
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

        

[jira] Commented: (SM-526) Fault messages returned to BPEL via servicemix-bpe are not accessible in BPEL

Posted by "Grant McDonald (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-526?page=comments#action_36755 ] 
            
Grant McDonald commented on SM-526:
-----------------------------------

The patch in the zip file was created using the svn diff command, but I put it in the zip to preserve the path information.  I guess the command should have just been issued from the ServiceMix root directory :)  I'll do that next time instead.

> 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: servicemix-bpe.zip
>
>   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 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.

-- 
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

        

[jira] Updated: (SM-526) Fault messages returned to BPEL via servicemix-bpe are not accessible in BPEL

Posted by "Grant McDonald (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-526?page=all ]

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

    Attachment: JbiInvokeAction.java.patch

The patch is now ready to go and has been tested to allow BPEL to receive and manipulate fault messages.  As discussed the patch is in a form that can be applied from the root apache-servicemix directory.

The problem lay in how XMLInteractionObjects are dealt with in BPE.  Initially it was suggested by the ODE dev list that the fault/response messages should be wrapped in DescribedValue objects.  Unfortunately when either type was received they were wrapped in a CannedFormattableValue which does not lend itself to further manipulation.  To alleviate this issue fault messages and response messages have now been wrapped in a intance of the DocumentFormattableValue class which fixes the problem.

> 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 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.

-- 
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

        

[jira] Commented: (SM-526) Fault messages returned to BPEL via servicemix-bpe are not accessible in BPEL

Posted by "Grant McDonald (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-526?page=comments#action_36726 ] 
            
Grant McDonald commented on SM-526:
-----------------------------------

Hold off on this one, further testing has indicated that this issue needs a more thorough investigation.

> 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: servicemix-bpe.zip
>
>   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 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.

-- 
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

        

[jira] Resolved: (SM-526) Fault messages returned to BPEL via servicemix-bpe are not accessible in BPEL

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-526?page=all ]

Guillaume Nodet resolved SM-526.
--------------------------------

    Fix Version/s: 3.0-M3
       Resolution: Fixed
         Assignee: Guillaume Nodet

Author: gnodet
Date: Sun Aug 13 23:45:09 2006
New Revision: 431301

URL: http://svn.apache.org/viewvc?rev=431301&view=rev
Log:
SM-526: Fault messages returned to BPEL via servicemix-bpe are not accessible in BPEL

Modified:
    incubator/servicemix/trunk/servicemix-bpe/src/main/java/org/apache/servicemix/bpe/external/JbiInvokeAction.java



> 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
>         Assigned To: Guillaume Nodet
>             Fix For: 3.0-M3
>
>         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

        

[jira] Updated: (SM-526) Fault messages returned to BPEL via servicemix-bpe are not accessible in BPEL

Posted by "Grant McDonald (JIRA)" <ji...@apache.org>.
     [ 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

        

[jira] Commented: (SM-526) Fault messages returned to BPEL via servicemix-bpe are not accessible in BPEL

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-526?page=comments#action_36762 ] 
            
Guillaume Nodet commented on SM-526:
------------------------------------

Is this patch ok to apply ? Your last comment seens to indicate it was not ready ...

> 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: servicemix-bpe.zip
>
>   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 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.

-- 
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

        

[jira] Updated: (SM-526) Fault messages returned to BPEL via servicemix-bpe are not accessible in BPEL

Posted by "Grant McDonald (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-526?page=all ]

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

    Attachment:     (was: servicemix-bpe.zip)

> 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
>   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 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.

-- 
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