Return-Path: Delivered-To: apmail-cxf-users-archive@www.apache.org Received: (qmail 58542 invoked from network); 9 Jun 2008 19:01:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Jun 2008 19:01:06 -0000 Received: (qmail 17093 invoked by uid 500); 9 Jun 2008 19:01:08 -0000 Delivered-To: apmail-cxf-users-archive@cxf.apache.org Received: (qmail 16606 invoked by uid 500); 9 Jun 2008 19:01:07 -0000 Mailing-List: contact users-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cxf.apache.org Delivered-To: mailing list users@cxf.apache.org Received: (qmail 16593 invoked by uid 99); 9 Jun 2008 19:01:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jun 2008 12:01:07 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [68.142.206.139] (HELO web33407.mail.mud.yahoo.com) (68.142.206.139) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 09 Jun 2008 19:00:11 +0000 Received: (qmail 48015 invoked by uid 60001); 9 Jun 2008 19:00:33 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=J7BBzXiXZTJZQIBiUYsksZ2bDqgXv4GfefxOs0m16yu2TBZRRb0asoDhdyMKD8nTWz/awaybJken5HY58sSOLue1GuPPq99/xXQXM8jdAk5bEGDxN7YpePhdoAXEnkAdELFK4vdW359zC2KQVZa6/EavGKu2aoSvylpFVJbtIyU=; Received: from [216.31.248.226] by web33407.mail.mud.yahoo.com via HTTP; Mon, 09 Jun 2008 12:00:32 PDT X-Mailer: YahooMailRC/975.45 YahooMailWebService/0.7.199 Date: Mon, 9 Jun 2008 12:00:32 -0700 (PDT) From: Boxiong Ding Subject: Does MTOM keep filename? To: users@cxf.apache.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-362258172-1213038032=:47876" Message-ID: <80679.47876.qm@web33407.mail.mud.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org --0-362258172-1213038032=:47876 Content-Type: text/plain; charset=us-ascii I have a service that uses MTOM to send a image file. As a client I can get the data, but the file name is lost. I have tried to set it in ByteArrayDataSource.setName() and create a DataHandler using it on server side. But still, the client always get null from DataSource.getName() and when I use tcpmon to look at the traffic, I couldn't find the file name any where. Is this how it works? And how can I preserver the file name? Thanks, Boxiong --0-362258172-1213038032=:47876--