Hi,
First: I'm not realy an axis developer. I do a litlle developing on Mule, which has an Axis connector.

When I use the rpc/encoded style, everything seems to be Ok - JavaBeans as parameters are serialized as expected. When I use wrapped/literal I get the 'No serializer found for class <javabean>' exception.

I tried to debug into axis to see what happened, and the java bean mapping is set in a TypeMappingRegistry as a side effect of calling isPrimitive in SerializationContext:serialize : if (doMultiRefs && isEncoded() && (value != forceSer) && !isPrimitive(value)) { if (multiRefIndex == -1) multiRefValues = new HashMap(); , and of course isPrimitive is only called for rpc/encoded - not for wrapped/literal. If I try to always call isPrimitive at that place, serialization works for wrapped/literal too. isPrimitive is called before and registring type mapping, but in a Typemap registry which is empty and not used, and that counts for both rpc/encoded and wrapped/literal.

Can sombody help me with a hint to, what may be the problem ?

best regards

--
Hardy Henneberg
Henneberg Consult
http://www.hhenne.dk


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to