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:
- <s:element name="GetCharResponse">
- <s:complexType>
- <s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="GetCharResult"
type="s1:char" />
</s:sequence>
</s:complexType>
</s:element>
where
s1="http://microsoft.com/wsdl/types/"
----- Original Message -----
From: "Jianliang Zhao" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 03, 2002 3:00 PM
Subject: RE: Char datatypes with SOAP
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