Return-Path: Delivered-To: apmail-ws-commons-dev-archive@minotaur.apache.org Received: (qmail 37961 invoked from network); 13 Jul 2009 21:47:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Jul 2009 21:47:28 -0000 Received: (qmail 62219 invoked by uid 500); 13 Jul 2009 21:47:37 -0000 Delivered-To: apmail-ws-commons-dev-archive@ws.apache.org Received: (qmail 62068 invoked by uid 500); 13 Jul 2009 21:47:37 -0000 Mailing-List: contact commons-dev-help@ws.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: commons-dev@ws.apache.org Delivered-To: mailing list commons-dev@ws.apache.org Received: (qmail 62050 invoked by uid 99); 13 Jul 2009 21:47:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jul 2009 21:47:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jul 2009 21:47:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DA9F9234C055 for ; Mon, 13 Jul 2009 14:47:14 -0700 (PDT) Message-ID: <2007267130.1247521634894.JavaMail.jira@brutus> Date: Mon, 13 Jul 2009 14:47:14 -0700 (PDT) From: "Andreas Veithen (JIRA)" To: commons-dev@ws.apache.org Subject: [jira] Assigned: (WSCOMMONS-446) Serializing an MTOM SOAPEnvelope inlines the attachments In-Reply-To: <2144448084.1236208439005.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/WSCOMMONS-446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andreas Veithen reassigned WSCOMMONS-446: ----------------------------------------- Assignee: Andreas Veithen > Serializing an MTOM SOAPEnvelope inlines the attachments > -------------------------------------------------------- > > Key: WSCOMMONS-446 > URL: https://issues.apache.org/jira/browse/WSCOMMONS-446 > Project: WS-Commons > Issue Type: Bug > Components: AXIOM > Affects Versions: Axiom 1.2.8 > Reporter: Andreas Veithen > Assignee: Andreas Veithen > Fix For: Axiom 1.2.9 > > > Scenario: > * Create a SOAPEnvelope from an MTOM message using MTOMStAXSOAPModelBuilder. > * Serialize the SOAPEnvelope using OMNode#serialize(OutputStream), or alternatively call toString on the SOAPEnvelope. > * Serialize the SOAPEnvelope again using serializeAndConsume with optimize == true. > Result: In the serialized message from the last step, the attachments are inlined. > Skipping the second step gives the expected result, i.e. a message with XOP:Include elements. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.