Petals SE JSR181

Attachment handling: 1st attachment contains payload...

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Resolution: Won't Fix
  • Affects Version/s: 1.2
  • Fix Version/s: None
  • Component/s: None
  • Security Level: Public
  • Description:
    Hide

    When an attachment is joined to a JSR181 call, 2 attachments are present in the Exchange : the 1st attachment contains the payload + soap envelope, and the real attachment is the 2nd one.

    If there is no attachment in the original message, then there is no attachment at all in the Exchange (as expected).

    Workaround: when there are attachments... ignore the 1st one (or remove it in case of subsequent calls).

    Show
    When an attachment is joined to a JSR181 call, 2 attachments are present in the Exchange : the 1st attachment contains the payload + soap envelope, and the real attachment is the 2nd one. If there is no attachment in the original message, then there is no attachment at all in the Exchange (as expected). Workaround: when there are attachments... ignore the 1st one (or remove it in case of subsequent calls).
  • Environment:
    Petals 4.

Activity

Hide
Vincent Zurczak added a comment - Wed, 11 Apr 2012 - 10:53:19 +0200

I don't think this is a bug in the JSR-181 component.
If there are two attachments, it is due to the SOAP BC that converts the SOAP request in a JBI message.
And I think this behavior is due to the support of attachments with SwA. The SOAP message parts are mapped to attachments.

Show
Vincent Zurczak added a comment - Wed, 11 Apr 2012 - 10:53:19 +0200 I don't think this is a bug in the JSR-181 component. If there are two attachments, it is due to the SOAP BC that converts the SOAP request in a JBI message. And I think this behavior is due to the support of attachments with SwA. The SOAP message parts are mapped to attachments.

People

Dates

  • Created:
    Mon, 5 Mar 2012 - 10:49:34 +0100
    Updated:
    Wed, 11 Apr 2012 - 10:53:19 +0200
    Resolved:
    Wed, 11 Apr 2012 - 10:53:19 +0200