public abstract static class ResponseBuilder.AttachmentBuilder extends ResponseBuilder
ResponseBuilder.AttachmentBuilder, ResponseBuilder.Body, ResponseBuilder.Composite, ResponseBuilder.DocLit, ResponseBuilder.Header, ResponseBuilder.NullSetter, ResponseBuilder.RpcLit
Modifier and Type | Field and Description |
---|---|
protected ParameterImpl |
param |
protected ValueSetter |
setter |
NONE, wrappedParts, wrapperName
Modifier and Type | Method and Description |
---|---|
static ResponseBuilder |
createAttachmentBuilder(ParameterImpl param,
ValueSetter setter)
Creates an AttachmentBuilder based on the parameter type
|
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
protected final ValueSetter setter
protected final ParameterImpl param
public static ResponseBuilder createAttachmentBuilder(ParameterImpl param, ValueSetter setter)
param
- runtime Parameter that abstracts the annotated java parametersetter
- specifies how the obtained value is set into the argument. Takes
care of Holder arguments.public Object readResponse(com.sun.xml.ws.api.message.Message msg, Object[] args) throws JAXBException, XMLStreamException
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.XMLStreamException
- if there's an error during unmarshalling the reply message.Copyright © 2015 Oracle Corporation. All rights reserved.