Return-Path: Delivered-To: apmail-cxf-dev-archive@www.apache.org Received: (qmail 95399 invoked from network); 9 Oct 2009 02:24:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Oct 2009 02:24:58 -0000 Received: (qmail 11905 invoked by uid 500); 9 Oct 2009 02:24:58 -0000 Delivered-To: apmail-cxf-dev-archive@cxf.apache.org Received: (qmail 11843 invoked by uid 500); 9 Oct 2009 02:24:57 -0000 Mailing-List: contact dev-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list dev@cxf.apache.org Received: (qmail 11831 invoked by uid 99); 9 Oct 2009 02:24:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Oct 2009 02:24:57 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [216.40.44.200] (HELO smtprelay.hostedemail.com) (216.40.44.200) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Oct 2009 02:24:46 +0000 Received: from filter.hostedemail.com (ff-bigip1 [10.5.19.254]) by smtprelay01.hostedemail.com (Postfix) with SMTP id DA97C254374B for ; Fri, 9 Oct 2009 02:24:24 +0000 (UTC) X-Spam-Summary: 50,0,0,ddd3b6c9b8d8c7a8,907452bc8cfe1759,dkulp@apache.org,dev@cxf.apache.org:kkw@evalleyvs.com,RULES_HIT:152:355:379:599:601:945:960:967:969:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1513:1515:1516:1518:1521:1534:1541:1593:1594:1676:1711:1730:1747:1766:1792:2393:2525:2553:2560:2563:2682:2685:2827:2857:2859:2933:2937:2939:2942:2945:2947:2951:2954:3022:3027:3352:3865:3866:3867:3868:3869:3870:3871:3872:3873:3874:3876:3877:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4250:4774:5007:6114:6117:6119:6261:7679:7903:8501:8957:8985:9025:9040:9388,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fu,MSBL:none,DNSBL:none X-Session-Marker: 64616E406B756C702E636F6D X-Filterd-Recvd-Size: 2810 Received: from server.dankulp.com (server1.dankulp.com [66.207.172.168]) (Authenticated sender: dan@kulp.com) by omf03.hostedemail.com (Postfix) with ESMTP for ; Fri, 9 Oct 2009 02:24:24 +0000 (UTC) Received: by server.dankulp.com (Postfix, from userid 5000) id 422DB5070020; Thu, 8 Oct 2009 22:24:24 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on server.dankulp.com X-Spam-Level: X-Msg-File: /tmp/mailfilter.M0FSUQ8Nbl Received: from dilbert.localnet (c-24-91-141-225.hsd1.ma.comcast.net [24.91.141.225]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server.dankulp.com (Postfix) with ESMTPSA id 7A1E65070016; Thu, 8 Oct 2009 22:24:22 -0400 (EDT) From: Daniel Kulp To: dev@cxf.apache.org Subject: Re: How do i changed Content-Type at used MTOM? Date: Thu, 8 Oct 2009 22:24:07 -0400 User-Agent: KMail/1.12.2 (Linux/2.6.31-gentoo; KDE/4.3.2; x86_64; ; ) Cc: =?utf-8?q?=EA=B9=80=EA=B0=95=EC=9B=90?= References: <002501ca483f$0791dde0$51aff2cb@kimcom> In-Reply-To: <002501ca483f$0791dde0$51aff2cb@kimcom> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <200910082224.07759.dkulp@apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-3.4 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=unavailable version=3.2.1-gr1 If the Content-Type isn't application/xop+xml, then it isn't an MTOM messag= e=20 and shouldn't be processed as such. It would be a huge bug not to send it= as=20 that. If you really want to try to change it, an interceptor that runs immediatel= y=20 after the AttachmentSerializer may be able to grab the content type out and= =20 re-set the header. Not really sure what else would break though. Dan On Thu October 8 2009 1:44:47 pm =EA=B9=80=EA=B0=95=EC=9B=90 wrote: > Dear! >=20 > I have a big problem in end of the project. >=20 > We have been used MTOM with clinet of WebService >=20 > But HTTP Header=E2=80=99s fixed content-type is problem >=20 > Looks like here : >=20 > Content-Type: multipart/related; type=3D"application/xop+xml"; >=20 > boundary=3D"uuid:d1b3cf01-b71e-47fe-916d-cc0488c7de38"; > start=3D""; start-info=3D"text/xml" >=20 > Most of all , We have big prblem is type parameter that is > type=3D"application/xop+xml"; >=20 >=20 >=20 > We want to change type=3D"application/xop+xml" to type=3D"text/xml" >=20 >=20 >=20 > How do you know using the MTOM while changing the content-type in CXF? >=20 >=20 >=20 > Please help me=E2=80=A6 >=20 >=20 >=20 > Thank you! >=20 =2D-=20 Daniel Kulp dkulp@apache.org http://www.dankulp.com/blog