public static final class ResponseBuilder.Header extends ResponseBuilder
ResponseBuilder.AttachmentBuilder, ResponseBuilder.Body, ResponseBuilder.Composite, ResponseBuilder.DocLit, ResponseBuilder.Header, ResponseBuilder.NullSetter, ResponseBuilder.RpcLitNONE, wrappedParts, wrapperName| Constructor and Description |
|---|
Header(SOAPVersion soapVersion,
ParameterImpl param,
ValueSetter setter) |
Header(SOAPVersion soapVersion,
QName name,
XMLBridge<?> bridge,
ValueSetter setter) |
| Modifier and Type | Method and Description |
|---|---|
Object |
readResponse(com.sun.xml.ws.api.message.Message msg,
Object[] args)
Reads a response
Message, disassembles it, and moves obtained Java values
to the expected places. |
getVMUninitializedValue, getWSDLPartName, readWrappedResponsepublic Header(SOAPVersion soapVersion, QName name, XMLBridge<?> bridge, ValueSetter setter)
soapVersion - SOAP1.1 or 1.2name - 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.public Header(SOAPVersion soapVersion, ParameterImpl param, ValueSetter setter)
public Object readResponse(com.sun.xml.ws.api.message.Message msg, Object[] args) throws JAXBException
ResponseBuilderMessage, disassembles it, and moves obtained Java values
to the expected places.readResponse in class ResponseBuildermsg - 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.JAXBException - if there's an error during unmarshalling the reply message.Copyright © 2015 Oracle Corporation. All rights reserved.