axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: Converting from UTF-8 to ISO-8859-I with Axis2 and Java
Date Wed, 01 Nov 2006 01:39:41 GMT
the CHARACTER_SET_ENCODING attribute you are seeking is defined in javax.xml.soap.SOAPMessage
abstract class
of course you must derive your own concrete class from SOAPMessage before being able to use
it..

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 
  To: axis-user@ws.apache.org ; Martin Gainty 
  Sent: Tuesday, October 31, 2006 7:26 PM
  Subject: Re: Converting from UTF-8 to ISO-8859-I with Axis2 and Java


  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 <mgainty@hotmail.com> 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 
      To: axis-user@ws.apache.org ; dims@apache.org 
      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 <davanum@gmail.com> 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 <bnegrao@gmail.com> 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: axis-user-unsubscribe@ws.apache.org
        For additional commands, e-mail: axis-user-help@ws.apache.org






Mime
View raw message