public static final class ResponseBuilder.Body extends ResponseBuilder
ResponseBuilder.AttachmentBuilder, ResponseBuilder.Body, ResponseBuilder.Composite, ResponseBuilder.DocLit, ResponseBuilder.Header, ResponseBuilder.NullSetter, ResponseBuilder.RpcLit
NONE, wrappedParts, wrapperName
Constructor and Description |
---|
Body(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, readWrappedResponse
public Body(XMLBridge<?> bridge, ValueSetter setter)
bridge
- specifies how to unmarshal the payload into a JAXB object.setter
- specifies how the obtained value is returned to the client.public Object readResponse(com.sun.xml.ws.api.message.Message msg, Object[] args) throws JAXBException
ResponseBuilder
Message
, disassembles it, and moves obtained Java values
to the expected places.readResponse
in class ResponseBuilder
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 Holder
s in the arguments.JAXBException
- if there's an error during unmarshalling the reply message.Copyright © 2015 Oracle Corporation. All rights reserved.