You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Raghavendra SM <ra...@aylus.com> on 2007/08/01 12:03:16 UTC
Issue with Content Type
Hi All,
Recently, we migrated from Axis0.90 to Axis1.0.
The responses are observed to have the following content-type with 0.90,
>>>>> Content-Type: text/xml;charset=UTF-8
and the following Content-type with 1.0,
>>>>> Content-Type: multipart/related;
boundary=MIMEBoundaryd76c50d0-3f64-1dc1-23a5-0030488bee4e;
type="application/xop+xml"; start="<0.d76c5120-3f64-1dc1-23a6-
0030488bee4e@apache.org>"; start-info="text/xml"; charset="UTF-8"
Due to the php client's limitation we have, the content-type needs to be
as observed in 0.90. Can anyone help us to get the same content-type
with the Axis1.0 library too? Is there any configurability to take care
of the above?
Thanks & Regards,
~raghav
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org
Re: Issue with Content Type
Posted by Sahan Gamage <sa...@gmail.com>.
Hello Raghav,
This content type(multipart/related) is because you have enabled MTOM
in Axis2/C server side. Edit the axis2.xml and comment out the line
that enables MTOM.
(<parameter name="enableMTOM" locked="false">true</parameter>).
Thanks
-sahan
On 8/1/07, Raghavendra SM <ra...@aylus.com> wrote:
> Hi All,
>
> Recently, we migrated from Axis0.90 to Axis1.0.
>
> The responses are observed to have the following content-type with 0.90,
> >>>>> Content-Type: text/xml;charset=UTF-8
>
> and the following Content-type with 1.0,
> >>>>> Content-Type: multipart/related;
> boundary=MIMEBoundaryd76c50d0-3f64-1dc1-23a5-0030488bee4e;
> type="application/xop+xml"; start="<0.d76c5120-3f64-1dc1-23a6-
> 0030488bee4e@apache.org>"; start-info="text/xml"; charset="UTF-8"
>
> Due to the php client's limitation we have, the content-type needs to be
> as observed in 0.90. Can anyone help us to get the same content-type
> with the Axis1.0 library too? Is there any configurability to take care
> of the above?
>
> Thanks & Regards,
> ~raghav
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org