Hi Martin,

I'm sorry for the stupid question but, what would I check in javax.xml.soap.SOAPMessage? Aren't we talking about Axis2? ....

thank you,
bruno

On 10/31/06, Martin Gainty <[EMAIL PROTECTED]> wrote:
Bruno
 
did u check javax.xml.soap.SOAPMessage?
 
M-
 
This e-mail communication and any attachments may contain confidential and privileged information for the use of the
designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received
this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its
contents
----- Original Message -----
From: Bruno Negrao
Sent: Tuesday, October 31, 2006 6:39 PM
Subject: Re: Converting from UTF-8 to ISO-8859-I with Axis2 and Java

Thank you Davanum,

But the class org.apache.axis2.Constants.Configuration I'm using here does not contain the CHARACTER_SET_ENCODING constant declared.

Which version of axis2 should I use? where can I download it?

thank you,

bruno

On 10/31/06, Davanum Srinivas <[EMAIL PROTECTED]> wrote:
Set the options

org.apache.axis2.Constants.Configuration.CHARACTER_SET_ENCODING

http://www.wso2.net/articles/axis2/java/2006/08/01/client-api-parameters

You can do this with ServiceClient or generated code

-- dims

On 10/31/06, Bruno Negrao <[EMAIL PROTECTED]> wrote:
> Guys, I'm developing a JAVA GUI that runs on Windows XP where the user can
> enter account data that will be stored on a linux+postgre server.
>
> The data is sent from the GUI to the postgre server using soap. I'm using
> axis2 on the client side. (the server-side uses Perl SOAP)
>
> The problem is the server is configured to use ISO-8859-1, while my Java
> application is sending the data using UTF-8. All the strings containing
> non-ascii characters are being stored incorrectly on the server. The server
> is not converting from utf-8 to iso-8859-i before storing the data.
>
> Since the people on the server-side say "we cannot change nothing", and they
> suggested "you have to send this data in iso-8859-1", I'm obligated to send
> my SOAP post's using ISO-8859-1 strings instead of UTF-8.
>
> I have no idea of how can I do this. Can someone give some hints on this?
>
> Thank you very much,
>
> bruno.
>


--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to