You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Angel Todorov <at...@gmail.com> on 2007/06/12 16:24:02 UTC
ServiceClient always sends SOAP 1.1 requests
Hi guys,
I noticed that no matter what WSDL (and portName) I specify in the Service
Client constructor, the request is always send as content-type text/xml,
instead of the one I want : soap/xml.
Is that a known bug or i am doing something wrong ? Thanks
Regards,
Angel
Re: ServiceClient always sends SOAP 1.1 requests
Posted by Angel Todorov <at...@gmail.com>.
I figured out that in fact only when the rampart module is engaged, the
request is automatically "converted" to SOAP 1.1
Ruchith: can you give some insight why this is happening? Thanks.
Regards,
Angel
On 6/12/07, Angel Todorov <at...@gmail.com> wrote:
>
> Hi guys,
>
> I noticed that no matter what WSDL (and portName) I specify in the Service
> Client constructor, the request is always send as content-type text/xml,
> instead of the one I want : soap/xml.
>
> Is that a known bug or i am doing something wrong ? Thanks
>
> Regards,
> Angel
>
Re: ServiceClient always sends SOAP 1.1 requests
Posted by Angel Todorov <at...@gmail.com>.
I figured out that in fact only when the rampart module is engaged, the
request is automatically "converted" to SOAP 1.1
Ruchith: can you give some insight why this is happening? Thanks.
Regards,
Angel
On 6/12/07, Angel Todorov <at...@gmail.com> wrote:
>
> Hi guys,
>
> I noticed that no matter what WSDL (and portName) I specify in the Service
> Client constructor, the request is always send as content-type text/xml,
> instead of the one I want : soap/xml.
>
> Is that a known bug or i am doing something wrong ? Thanks
>
> Regards,
> Angel
>