Class ResponseBuilder.Header

    • Constructor Detail

      • Header

        public Header​(SOAPVersion soapVersion,
                      QName name,
                      XMLBridge<?> bridge,
                      ValueSetter setter)
        Parameters:
        soapVersion - SOAP1.1 or 1.2
        name - The name of the header element.
        bridge - specifies how to unmarshal a header into a JAXB object.
        setter - specifies how the obtained value is returned to the client.
    • Method Detail

      • readResponse

        public Object readResponse​(Message msg,
                                   Object[] args)
                            throws jakarta.xml.bind.JAXBException
        Description copied from class: ResponseBuilder
        Reads a response Message, disassembles it, and moves obtained Java values to the expected places.
        Specified by:
        readResponse in class ResponseBuilder
        Parameters:
        msg - The reply Message to be de-composed.
        args - The Java arguments given to the SEI method invocation. Some parts of the reply message may be set to Holders in the arguments.
        Returns:
        If a part of the reply message is returned as a return value from the SEI method, this method returns that value. Otherwise null.
        Throws:
        jakarta.xml.bind.JAXBException - if there's an error during unmarshalling the reply message.