Class UnmarshalMessageContextListener

  • All Implemented Interfaces:
    MessageContextListener

    public class UnmarshalMessageContextListener
    extends Object
    implements MessageContextListener
    This MessageContextListener is triggered when a ServiceContext is attached to the MessageContext and when a SOAPEnvelope is attached to the MessageContext. In such cases, it attempts to get a previously cached (from a prior web service call) UnmarshalInfo object from the AxisService. The UnmarshalInfo data is used to create a JAXBCustomBuilder on the SOAPEnvelope's builder. The net effect is that the StAXOMBuilder will use the JAXBCustomBuilder during unmarshalling. This saves time and space.