You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Mark Harris <ma...@uk.easynet.net> on 2005/04/22 09:39:55 UTC

SAXException: No deserializer

Hello,

I'm writing a web service which includes a SOAP interface on an Orion
server. This interface has 2 calls, both read-only. They both return an
instance of the same object, a custom Java class. One of the instance
variables in this class is a java.util.List.

It all works well if I just add Strings to the java.util.List - the data
gets returned correctly. However, problems arise if I add objects to the
List whose type is of a 2nd custom class I've created, rather than Strings.
When I try and get data out, I get errors of the type "No deserializer for
{urn:MyUrn}MyClass", where MyClass is the name of the 2nd custom class I've
created.

Both custom classes implement java.io.Serializable and I've added a
reference to MyClass in the server-config.wsdd file but am unsure as to how
to progress further with this error.

Thanks,

Mark

Re: SAXException: No deserializer

Posted by Scott Nichol <sn...@scottnichol.com>.
Mark,

Please post Axis questions to axis-user@ws.apache.org.

Thanks.

Scott Nichol

Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
----- Original Message ----- 
From: "Mark Harris" <ma...@uk.easynet.net>
To: <so...@ws.apache.org>
Sent: Friday, April 22, 2005 3:39 AM
Subject: SAXException: No deserializer


> Hello,
> 
> I'm writing a web service which includes a SOAP interface on an Orion
> server. This interface has 2 calls, both read-only. They both return an
> instance of the same object, a custom Java class. One of the instance
> variables in this class is a java.util.List.
> 
> It all works well if I just add Strings to the java.util.List - the data
> gets returned correctly. However, problems arise if I add objects to the
> List whose type is of a 2nd custom class I've created, rather than Strings.
> When I try and get data out, I get errors of the type "No deserializer for
> {urn:MyUrn}MyClass", where MyClass is the name of the 2nd custom class I've
> created.
> 
> Both custom classes implement java.io.Serializable and I've added a
> reference to MyClass in the server-config.wsdd file but am unsure as to how
> to progress further with this error.
> 
> Thanks,
> 
> Mark
>