axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Jordahl <>
Subject RE: No deserializer defined for array type ?
Date Fri, 10 Jan 2003 16:10:02 GMT
As someone else mentioned, you should be using attachments.
SOAP does not emulate RMI - you can't send java objects around the network, you can only send
XML representation of data around.  If the FileInputStream object is not a JavaBean (which
it isn't) then you would have to write your own custom serializer and deserializer to convert
to/from XML.
Use attachments.

Tom Jordahl 
Macromedia Server Development 

-----Original Message-----
From: Fatih Mustacoglu []
Sent: Thursday, January 09, 2003 11:04 AM
Subject: RE: No deserializer defined for array type ?

no I do not have... 

Actually, what I am trying to is implementing a file copy service...I am sending a FileInputStream
object to the webservice that expects an object, and then I am casting it FileInputStream
object inside the method, then I got this previous exception. 

So, should I  have a Deserializer registered for the XML type then? 

thanks alot... 


 Tom Jordahl <> wrote: 

Do you have a Deserializer registered for the XML type {http://object.myObject}MyObject?

Tom Jordahl

-----Original Message-----
From: McCaslin Orion []
Sent: Wednesday, January 08, 2003 7:51 PM
Subject: No deserializer defined for array type ?


I am not having success getting an array of complex objects deserialized in
a simple test client.

Has anybody figured out how to solve this error?

org.xml.sax.SAXException: No deserializer defined for array type
{http://object.myObject}MyObject at

The Service function:
public MyObject[] getMyObjects() {
MyObject[] myObjArray = new MyObject[3];
myObjArray[0]= new MyObject();
myObjArray[1]= new MyObject();
myObjArray[2]= new MyObject();

I've seen a few of these error postings w/o answers.

In another posting, a workaround was mentioned...
Define a class which holds your array, and make the
new class a bean. Something like this

class Folders {
Folder[] folders;
getter/setter functions
Is this really the only way?

Many thanks,


Do you Yahoo!?
New DSL Internet  <*> Access from
SBC & Yahoo!

View raw message