com.sun.xml.ws.client.sei
Class ResponseBuilder.Body
java.lang.Object
com.sun.xml.ws.client.sei.ResponseBuilder
com.sun.xml.ws.client.sei.ResponseBuilder.Body
- Enclosing class:
- ResponseBuilder
public static final class ResponseBuilder.Body
- extends ResponseBuilder
Reads the whole payload into a single JAXB bean.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResponseBuilder.Body
public ResponseBuilder.Body(XMLBridge<?> bridge,
ValueSetter setter)
- Parameters:
bridge - specifies how to unmarshal the payload into a JAXB object.setter - specifies how the obtained value is returned to the client.
readResponse
public Object readResponse(Message msg,
Object[] args)
throws 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:
JAXBException - if there's an error during unmarshalling the reply message.
Copyright (c) 1997-2011 Oracle and/or its affiliates. All rights reserved.