users@jax-rpc.java.net

accessing the TypeMappingRegistry in a JAXRPC implemenation

From: Mark D. Hansen <khookguy_at_YAHOO.COM>
Date: Fri, 25 Jul 2003 18:37:29 -0400

I am looking for a way to do custom serialization/deserialization that will run on any JAXRPC runtime implementation in a Servlet container. Is this possible? I would think that you could get to the TypeMappingRegistry for a service endpoint by implementing the service with the ServiceLifecycle interface and getting the endpoint's MessageContext from the implementation supplied ServletEndpointContext. But, I see that javax.xml.rpc.handler.SOAPMessageContext does not define a getTypeMappingRegistry() method.

Does this mean that JAXRPC does not define a standard way for developers to access the TypeMappingRegistry of a service endpoint?

BTW, I notice that the Axis implemenation of SOAPMessageContext (org.apache.axis.MessageContext) does in fact have a getTypeMappingRegistry() method. Is this a "de facto" standard approach that other implementations use?

Thanks for your help,

Mark