public static final class EndpointArgumentsBuilder.Body extends EndpointArgumentsBuilder
EndpointArgumentsBuilder.AttachmentBuilder, EndpointArgumentsBuilder.Body, EndpointArgumentsBuilder.Composite, EndpointArgumentsBuilder.DocLit, EndpointArgumentsBuilder.Header, EndpointArgumentsBuilder.NullSetter, EndpointArgumentsBuilder.RpcLit
NONE, wrappedParts, wrapperName
Constructor and Description |
---|
Body(XMLBridge<?> bridge,
EndpointValueSetter setter) |
Modifier and Type | Method and Description |
---|---|
void |
readRequest(com.sun.xml.ws.api.message.Message msg,
Object[] args)
Reads a request
Message , disassembles it, and moves obtained
Java values to the expected places. |
getVMUninitializedValue, getWSDLPartName, readWrappedRequest
public Body(XMLBridge<?> bridge, EndpointValueSetter setter)
bridge
- specifies how to unmarshal the payload into a JAXB object.setter
- specifies how the obtained value is returned to the client.public void readRequest(com.sun.xml.ws.api.message.Message msg, Object[] args) throws JAXBException
EndpointArgumentsBuilder
Message
, disassembles it, and moves obtained
Java values to the expected places.readRequest
in class EndpointArgumentsBuilder
msg
- The request 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 request message.Copyright © 2015 Oracle Corporation. All rights reserved.