Class MissingAddressingHeaderException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.xml.ws.WebServiceException
com.sun.xml.ws.addressing.model.MissingAddressingHeaderException
All Implemented Interfaces:
Serializable

public class MissingAddressingHeaderException extends jakarta.xml.ws.WebServiceException
This exception signals that a particular WS-Addressing header is missing in a SOAP message.
Author:
Rama Pulavarthi
See Also:
  • Constructor Details

    • MissingAddressingHeaderException

      public MissingAddressingHeaderException(@NotNull QName name)
      Parameters:
      name - QName of the missing WS-Addressing Header
    • MissingAddressingHeaderException

      public MissingAddressingHeaderException(@NotNull QName name, @Nullable Packet p)
  • Method Details

    • getMissingHeaderQName

      public QName getMissingHeaderQName()
      Gets the QName of the missing WS-Addressing Header.
      Returns:
      never null.
    • getPacket

      public Packet getPacket()
      The Packet in which a header was missing.

      This object can be used to deep-inspect the problematic SOAP message.