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 tool it tries to create a class DefaultNamespace._char. Is their 
any way to around it???





>From: "Russell Butek" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: Char!!!!
>Date: Wed, 1 May 2002 13:53:09 -0500
>
>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!!!!
>
>
>
>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




_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

Reply via email to