public interface MethodMarshaller
for details on Type Enabled and Element
Enabled objects.
The values are enhanced (if necessary) into Element Enabled Objects. These can be
marshalled or unmarshalled using JAXB.,
The element enabled objects are put onto the message.
The high-level view of unmarshalling is the reverse. SIGNATURE_ARGS <---- Type Enabled
Object <----- Element Enabled Object <---- MESSAGE (XML)
See the specific MethodMarshaller implementations to see how doc/lit wrapped, doc/lit bare
and rpc/lit affect the process of going from SIGNATURE_ARGS to the element enabled objects.
If there are any problems, a WebServiceException is thrown. (Each of the methods is
guranteed to catch any unchecked exception and wrap it in a WebServiceException).| Modifier and Type | Method and Description |
|---|---|
Throwable |
demarshalFaultResponse(Message message,
org.apache.axis2.jaxws.description.OperationDescription opDesc)
This method converts a Message (containing a fault) into a JAX-WS Service or
WebServiceException.
|
Object[] |
demarshalRequest(Message message,
org.apache.axis2.jaxws.description.OperationDescription opDesc)
This method converts the Message into a SIGNATURE_ARGS It is used on the server
|
Object |
demarshalResponse(Message message,
Object[] signatureArgs,
org.apache.axis2.jaxws.description.OperationDescription opDesc)
This method gets the objects from the Message and sets them onto the SIGNATURE_ARGS It also
returns the RETURN object.
|
Message |
marshalFaultResponse(Throwable throwable,
org.apache.axis2.jaxws.description.OperationDescription opDesc,
Protocol protocol)
This method creates a Message from a Throwable input parameter.
|
Message |
marshalRequest(Object[] signatureArgs,
org.apache.axis2.jaxws.description.OperationDescription opDesc,
Map<String,Object> requestContext)
This method converts SIGNATURE_ARGS into a Message.
|
Message |
marshalResponse(Object returnObject,
Object[] signatureArgs,
org.apache.axis2.jaxws.description.OperationDescription opDesc,
Protocol protocol)
This method converts the SIGNATURE_ARGS and RETURN object into a Message.
|
Message marshalRequest(Object[] signatureArgs, org.apache.axis2.jaxws.description.OperationDescription opDesc, Map<String,Object> requestContext) throws javax.xml.ws.WebServiceException
signatureArgs - opDesc - requestContext - javax.xml.ws.WebServiceExceptionMessage marshalResponse(Object returnObject, Object[] signatureArgs, org.apache.axis2.jaxws.description.OperationDescription opDesc, Protocol protocol) throws javax.xml.ws.WebServiceException
returnObject - signatureArgs - OperationDesc - Protocol - for responsejavax.xml.ws.WebServiceExceptionObject[] demarshalRequest(Message message, org.apache.axis2.jaxws.description.OperationDescription opDesc) throws javax.xml.ws.WebServiceException
message - javax.xml.ws.WebServiceExceptionObject demarshalResponse(Message message, Object[] signatureArgs, org.apache.axis2.jaxws.description.OperationDescription opDesc) throws javax.xml.ws.WebServiceException
message - signatureAgs - (same array of args that were used for marshalRequest. The out/inout
holders are populated with new values)OperationDesc - javax.xml.ws.WebServiceExceptionThrowable demarshalFaultResponse(Message message, org.apache.axis2.jaxws.description.OperationDescription opDesc) throws javax.xml.ws.WebServiceException
message - Message - javax.xml.ws.WebServiceExceptionMessage marshalFaultResponse(Throwable throwable, org.apache.axis2.jaxws.description.OperationDescription opDesc, Protocol protocol) throws javax.xml.ws.WebServiceException
Throwable - OperationDesc - Protocol - for responsejavax.xml.ws.WebServiceExceptionCopyright © 2004–2017 The Apache Software Foundation. All rights reserved.