Patricia - 

SOAP does not create remote references to objects.  A java.io.File is
actually an object used to access a file, not the actual file itself.
That is what is causing the serialization issues.

Are you attempting to just pass file contents, or attempting to pass
file attributes (name, file system properties, .... etc)? 

If passing file contents, you probably should be using the Axis SOAP
Attachment support. See xml-axis.java.samples.attachments

/Chris

-----Original Message-----
From: Patricia Doyle [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, May 01, 2002 3:19 PM
To: [EMAIL PROTECTED]
Subject: Re: Char!!!!

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