You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "David Illsley (JIRA)" <ji...@apache.org> on 2007/06/28 16:41:26 UTC

[jira] Created: (WSCOMMONS-211) Body is lost when a SOAPEnvelope which has had headers touched is re-serialized

Body is lost when a SOAPEnvelope which has had headers touched is re-serialized
-------------------------------------------------------------------------------

                 Key: WSCOMMONS-211
                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-211
             Project: WS-Commons
          Issue Type: Bug
          Components: AXIOM
            Reporter: David Illsley
         Attachments: EnvelopeTest.java

When a SOAPEnvelope is built from some XML and then serialized with serializeAndConsume, if the headers have been touched but the body has not, the body is not serialized and is lost entirely.
I'll attach a testcase showing the failure momentarily. Unfortunatley I don't have enough Axiom expertise to fix this myself.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org


[jira] Updated: (WSCOMMONS-211) Body is lost when a SOAPEnvelope which has had headers touched is re-serialized

Posted by "David Illsley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WSCOMMONS-211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Illsley updated WSCOMMONS-211:
------------------------------------

    Attachment: EnvelopeTest.java

Simple testcase demonstrating the problem.

> Body is lost when a SOAPEnvelope which has had headers touched is re-serialized
> -------------------------------------------------------------------------------
>
>                 Key: WSCOMMONS-211
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-211
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: AXIOM
>            Reporter: David Illsley
>         Attachments: EnvelopeTest.java
>
>
> When a SOAPEnvelope is built from some XML and then serialized with serializeAndConsume, if the headers have been touched but the body has not, the body is not serialized and is lost entirely.
> I'll attach a testcase showing the failure momentarily. Unfortunatley I don't have enough Axiom expertise to fix this myself.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org


[jira] Updated: (WSCOMMONS-211) Body is lost when a SOAPEnvelope which has had headers touched is re-serialized

Posted by "David Illsley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WSCOMMONS-211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Illsley updated WSCOMMONS-211:
------------------------------------

    Priority: Blocker  (was: Major)

> Body is lost when a SOAPEnvelope which has had headers touched is re-serialized
> -------------------------------------------------------------------------------
>
>                 Key: WSCOMMONS-211
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-211
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: AXIOM
>            Reporter: David Illsley
>            Priority: Blocker
>         Attachments: EnvelopeTest.java
>
>
> When a SOAPEnvelope is built from some XML and then serialized with serializeAndConsume, if the headers have been touched but the body has not, the body is not serialized and is lost entirely.
> I'll attach a testcase showing the failure momentarily. Unfortunatley I don't have enough Axiom expertise to fix this myself.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org


[jira] Commented: (WSCOMMONS-211) Body is lost when a SOAPEnvelope which has had headers touched is re-serialized

Posted by "Eran Chinthaka (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WSCOMMONS-211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12509315 ] 

Eran Chinthaka commented on WSCOMMONS-211:
------------------------------------------

I am now trying to fix this issue. Actually the problem is not abt losing the body. When I called serialize instead of serialize and consume, it worked. Now trying to debug the root cause by looking at serailizeAndConsume.

> Body is lost when a SOAPEnvelope which has had headers touched is re-serialized
> -------------------------------------------------------------------------------
>
>                 Key: WSCOMMONS-211
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-211
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: AXIOM
>            Reporter: David Illsley
>            Priority: Blocker
>         Attachments: EnvelopeTest.java
>
>
> When a SOAPEnvelope is built from some XML and then serialized with serializeAndConsume, if the headers have been touched but the body has not, the body is not serialized and is lost entirely.
> I'll attach a testcase showing the failure momentarily. Unfortunatley I don't have enough Axiom expertise to fix this myself.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org


[jira] Resolved: (WSCOMMONS-211) Body is lost when a SOAPEnvelope which has had headers touched is re-serialized

Posted by "Ajith Harshana Ranabahu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WSCOMMONS-211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ajith Harshana Ranabahu resolved WSCOMMONS-211.
-----------------------------------------------

    Resolution: Fixed

Fixed. The fault was in the OMStaxWrapper logic. The attached test case is added to the standard tests

> Body is lost when a SOAPEnvelope which has had headers touched is re-serialized
> -------------------------------------------------------------------------------
>
>                 Key: WSCOMMONS-211
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-211
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: AXIOM
>            Reporter: David Illsley
>            Priority: Blocker
>         Attachments: EnvelopeTest.java
>
>
> When a SOAPEnvelope is built from some XML and then serialized with serializeAndConsume, if the headers have been touched but the body has not, the body is not serialized and is lost entirely.
> I'll attach a testcase showing the failure momentarily. Unfortunatley I don't have enough Axiom expertise to fix this myself.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org