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
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
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
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
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
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
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: [
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
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
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.
>
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
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
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
Hi all,
has anyone had trouble using char properties with Apache SOAP?
TIA,
Alphonsus.
- 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
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
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
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
18 matches
Mail list logo