Class MessageContextUtils


  • public class MessageContextUtils
    extends Object
    A utility class for handling some of the common issues related to the JAX-WS MessageContext.
    • Constructor Detail

      • MessageContextUtils

        public MessageContextUtils()
    • Method Detail

      • createResponseMessageContext

        public static MessageContext createResponseMessageContext​(MessageContext mc)
        Given a request MessageContext, create a new MessageContext from there with the necessary information to make sure the new MessageContext is related to the existing one.
        Parameters:
        mc - - the MessageContext to use as the source
        Returns:
      • createFaultMessageContext

        public static MessageContext createFaultMessageContext​(MessageContext mc)
        Given a request MessageContext, create a new MessageContext for a fault response.
        Parameters:
        mc -
        Returns:
      • getJaxwsProviderInterpretNullOneway

        public static boolean getJaxwsProviderInterpretNullOneway​(MessageContext mc)