You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by bob <gu...@noos.fr> on 2003/05/12 11:40:57 UTC
Setting the character encoding inside SOAP messages
Hello,
I need to know if there is a possibility to set the character encoding
inside a SOAP message so that the answer would be in a particular encoding.
My purpose is to get an answer encoded in "ISO-8859-1" instead of "UTF-8"
the default for me.
Thanks for your help.
Guy
Re: Setting the character encoding inside SOAP messages
Posted by Scott Nichol <sn...@scottnichol.com>.
Send an e-mail to soap-user-unsubscribe@ws.apache.org
On 12 May 2003 at 6:31, pravin pachbhai wrote:
> i dont want any emais related to SOAP.
>
> Remove my email ID.
> please
> --- bob <gu...@noos.fr> wrote:
> > Hello,
> >
> > I need to know if there is a possibility to set the
> > character encoding
> > inside a SOAP message so that the answer would be in
> > a particular encoding.
> >
> > My purpose is to get an answer encoded in
> > "ISO-8859-1" instead of "UTF-8"
> > the default for me.
> >
> > Thanks for your help.
> >
> > Guy
> >
> >
> >
>
>
> =====
>
> Contact No: 630-865-6296
>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
>
Scott Nichol
Do not reply directly to this e-mail address,
as it is filtered to only receive e-mail from
specific mailing lists.
Re: Setting the character encoding inside SOAP messages
Posted by Tamara <tm...@paradis.dk>.
To remove your address from the list, send a message to:
<so...@xml.apache.org>
----- Original Message -----
From: "pravin pachbhai" <pr...@yahoo.com>
To: <so...@ws.apache.org>
Sent: Monday, May 12, 2003 3:31 PM
Subject: Re: Setting the character encoding inside SOAP messages
> i dont want any emais related to SOAP.
>
> Remove my email ID.
> please
> --- bob <gu...@noos.fr> wrote:
> > Hello,
> >
> > I need to know if there is a possibility to set the
> > character encoding
> > inside a SOAP message so that the answer would be in
> > a particular encoding.
> >
> > My purpose is to get an answer encoded in
> > "ISO-8859-1" instead of "UTF-8"
> > the default for me.
> >
> > Thanks for your help.
> >
> > Guy
> >
> >
> >
>
>
> =====
>
> Contact No: 630-865-6296
>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
Re: Remove my email id in this group
Posted by Scott Nichol <sn...@scottnichol.com>.
Please try sending e-mail to soap-user-unsubscribe@ws.apache.org.
Many people report failure with the old address, which was
@xml.apache.org. Also, you must send the e-mail from the account
that is subscribed.
On 13 May 2003 at 9:53, Balaji wrote:
> I want to signout from this group. Remove my email id from this group.
>
> Thanks
>
>
>
>
Scott Nichol
Do not reply directly to this e-mail address,
as it is filtered to only receive e-mail from
specific mailing lists.
Remove my email id in this group
Posted by Balaji <ba...@ionidea.com>.
I want to signout from this group. Remove my email id from this group.
Thanks
Re: Setting the character encoding inside SOAP messages
Posted by pravin pachbhai <pr...@yahoo.com>.
i dont want any emais related to SOAP.
Remove my email ID.
please
--- bob <gu...@noos.fr> wrote:
> Hello,
>
> I need to know if there is a possibility to set the
> character encoding
> inside a SOAP message so that the answer would be in
> a particular encoding.
>
> My purpose is to get an answer encoded in
> "ISO-8859-1" instead of "UTF-8"
> the default for me.
>
> Thanks for your help.
>
> Guy
>
>
>
=====
Contact No: 630-865-6296
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
Re: Setting the character encoding inside SOAP messages
Posted by Scott Nichol <sn...@scottnichol.com>.
You may be able to set the HTTP Content-Type, the xml declaration, or
both, but I do not recall which.
For an RPC client, one does something like
SOAPContext ctx = new SOAPContext();
ctx.setRootPart("X", "text/xml; charset=utf-7");
Call call = new Call("urn:AddressFetcher", "getAddressFromName",
params, null, encodingStyleURI, ctx);
call.setSOAPMappingRegistry(smr);
For a message-based server, you could do something similar with the
response context. For an RPC-based server, I am not sure you can
access the response context.
On 12 May 2003 at 11:40, bob wrote:
> Hello,
>
> I need to know if there is a possibility to set the character encoding
> inside a SOAP message so that the answer would be in a particular encoding.
>
> My purpose is to get an answer encoded in "ISO-8859-1" instead of "UTF-8"
> the default for me.
>
> Thanks for your help.
>
> Guy
>
>
>
>
Scott Nichol
Do not reply directly to this e-mail address,
as it is filtered to only receive e-mail from
specific mailing lists.