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 Rafael Jose Deitos <de...@das.ufsc.br> on 2005/09/12 18:55:52 UTC
Deserialization Problem
Hi all...
I'm using this code for the service invocation (Axis-1.2.1, jdk-1.5.0,
Tomcat-5.5.9):
Service s = new Service();
Call call = (Call) s.createCall();
call.setTargetEndpointAddress(serviceURI);
Object response =
call.invoke("name_of_the_method",newObject[]{object_to_invoke});
and I'm receiving the error message
Deserializing parameter 'My_Return': could not find deserializer for
type {My_package}The_Result_Class
Im my server-config I set the default serializer and deserializer classes
from Axis: BeanSerializer and BeanDeserializer, assuming the fact that the
return of the method is a complex type.
I was wondering if anyone could help me... What kind of basic mistake am I
doing???
PS: when I invoke the service with the service locator there are no
problems, the objects are completely (de)serialized with no errors
thanks in advance
===============================================
I am careful not to confuse
excellence with perfection.
Excellence, I can reach for;
perfection is God's business.
RAFAEL J. DEITOS
Industrial Automation and Control Engineering
UFSC - Florianopolis - SC - Brazil
http://www.das.ufsc.br/~deitos
===============================================