You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Christopher Johnson <jo...@clarkson.edu> on 2005/02/16 14:12:32 UTC

No serializer found

I'm in the process of writing a web service and have ran into the problem
of sending custom objects.

I have an object that contains nothing more then a few String[] and
Datahandler[].  When calling invoke I get the error "No serializer
found"... understandable..

in my client code I added the following...

QName qname = new QName("urn:Service", "MyClassName");

call.registerTypeMapping(object.getClass(),
			qname,
			BeanSerializerFactory.class,
			BeanDeserializerFactory.class);

But then I get..

No serializer found for class javax.activation.DataHandler error...

Can anybody help me out or point me toward some examples for serializers?

Thanks