Re: UTF-8 char issue with 1.2RC2 ?

2005-02-02 Thread Aleksander Slominski
th that simple output/intput stream URLConnection debugger. If I tell it to use ISO-8859-1 for the response envelope, then it does decode that char correctly, so I'll assume the service provider is incorrectly encoding via ISO-8859-1 despite it claiming that it's encoded via UTF-8... i think

RE: UTF-8 char issue with 1.2RC2 ?

2005-02-02 Thread Mike Burati
59-1 for the response envelope, then it does decode that char correctly, so I'll assume the service provider is incorrectly encoding via ISO-8859-1 despite it claiming that it's encoded via UTF-8... Thanks again - that saved me some time - I would've started debugging too low in th

Re: UTF-8 char issue with 1.2RC2 ?

2005-02-02 Thread Aleksander Slominski
in the response. Note: I don't get the error if the response contains just ascii chars. Here's one exception I'm getting in the standalone test (MustUnderstand checker asks for the SOAP env): {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXParseException: Charac

UTF-8 char issue with 1.2RC2 ?

2005-02-02 Thread Mike Burati
ote: I don't get the error if the response contains just ascii chars. Here's one exception I'm getting in the standalone test (MustUnderstand checker asks for the SOAP env): {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXParseException: Character conversion

Bad XML because of bad char in UTF8

2003-07-22 Thread Chris Forbis
I have a problem with some soap services I have.  The problem is cause because data is stored in a database bellow in a non UTF8 style.  When I take a bean that has a string that has this data and then axis serves it up I get invalid XML character errors.   Is there a function I can pass a

Re: Char datatypes with SOAP

2002-10-07 Thread Scott Nichol
There is no built-in support for the Java char data type. You would need to write your own serializer and deserializer to use it. You can look at the StringDeserializer for a guide to how to deserialize, and the cleanSer instance in SOAPMappingRegistry for a guide to how to serialize. Scott

RE: Char datatypes with SOAP

2002-10-04 Thread Shellman, Joel
A Java char is 16 bits. Often Java's API will require an int where it needs a char because a byte won't work (well, I don't know exactly why they used an int instead of a char, but...) -Original Message- From: James Sent: Thursday, October 03, 2002 8:15 PM To: [

RE: Char datatypes with SOAP

2002-10-04 Thread Jianliang Zhao
Thanks, Steve. -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED]] Sent: 2002?10?4? 8:44 To: [EMAIL PROTECTED] Subject: Re: Char datatypes with SOAP well, it would work but you'd need some kind of wrapper object with a char getValue() method to get the char value

Re: Char datatypes with SOAP

2002-10-04 Thread Steve Loughran
well, it would work but you'd need some kind of wrapper object with a char getValue() method to get the char value back. Note that .NET sends chars in a com.microsoft. something namespace: - - - where s1="http://microsoft.com/wsdl/types/"; - Original Mes

Re: Char datatypes with SOAP

2002-10-03 Thread James
Jianliang Zhao wrote: >I got the same problem and didn't find anything in the documentation to deal with it. >Could someone give us a solution? > I believe byte is a possible data type, and as long as the datatype is 8 bits it shouldn't matter, you can convert back and forth. >

RE: Char datatypes with SOAP

2002-10-03 Thread Jianliang Zhao
Steve, Thanks a lot for your reply. If I wrote a custom serializer and deserializer for char.class, will it work? Will I get cast exception at deserialization time if I return a Char object? Thanks, Jianliang -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED]] Sent

Re: Char datatypes with SOAP

2002-10-03 Thread Steve Loughran
there is no char in XML Schema. You could add a hack into Axis to send chars, but nothing at the far end will map it to a char again. This will take consensus among Soap platform builders. Till then, send a short string. - Original Message - From: "Jianliang Zhao" <[EMAIL P

RE: Char datatypes with SOAP

2002-10-03 Thread Jianliang Zhao
I got the same problem and didn't find anything in the documentation to deal with it. Could someone give us a solution? -Original Message- From: Alphonsus [mailto:[EMAIL PROTECTED]] Sent: 2002?10?3? 12:21 To: SOAP List Subject: Char datatypes with SOAP Hi all, has anyon

Char datatypes with SOAP

2002-10-03 Thread Alphonsus
Hi all, has anyone had trouble using char properties with Apache SOAP? TIA, Alphonsus.

Re: Char!!!!

2002-05-01 Thread Steve Loughran
- Original Message - From: "Patricia Doyle" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 01, 2002 12:18 PM Subject: Re: Char > I want to return java.io.File object from method in webservice. But when I > create a WSDL file from

Re: Char!!!!

2002-05-01 Thread Patricia Doyle
I want to return java.io.File object from method in webservice. But when I create a WSDL file from JavaToWSDL tool it creates a complex type named java.io.File and in it two of element which are separatorChar and pathSeparatorChar are of char type. When I generate Java files using WSDLToJava

Re: Char!!!!

2002-05-01 Thread Russell Butek
Sorry. Right now you can't. There is no mapping from Java's primitive char type to an XML type. Russell Butek [EMAIL PROTECTED] "Patricia Doyle" <[EMAIL PROTECTED]> on 05/01/2002 01:23:19 PM Please respond to [EMAIL PROTECTED] To:[EMAIL PROTECTED] cc: Subject

Char!!!!

2002-05-01 Thread Patricia Doyle
How can I use char as datatype of one of fields in bean as in WSDL file xsd:char is not defined as valid type? _ Chat with friends online, try MSN Messenger: http://messenger.msn.com