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...
fatih
Tom Jordahl <[EMAIL PROTECTED]> wrote:
Do you have a Deserializer registered for the XML type {http://object.myObject}MyObject?
--
Tom Jordahl
Macromedia
-----Original Message-----
From: McCaslin Orion [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 08, 2003 7:51 PM
To: [EMAIL PROTECTED]
Subject: No deserializer defined for array type ?
Hi,
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
org.apache.axis.encoding.ser.ArrayDeserializer.onStartElement(ArrayDeseriali
zer.java:257)
The Service function:
public MyObject[] getMyObjects() {
MyObject[] myObjArray = new MyObject[3];
myObjArray[0]= new MyObject();
myObjArray[1]= new MyObject();
myObjArray[2]= new MyObject();
return(myObjArray);
}
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,
Orion
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
