Class DocLitBareMethodMarshaller
- java.lang.Object
-
- org.apache.axis2.jaxws.marshaller.impl.alt.DocLitBareMethodMarshaller
-
- All Implemented Interfaces:
MethodMarshaller
public class DocLitBareMethodMarshaller extends Object implements MethodMarshaller
-
-
Constructor Summary
Constructors Constructor Description DocLitBareMethodMarshaller()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThrowabledemarshalFaultResponse(Message message, OperationDescription operationDesc)This method converts a Message (containing a fault) into a JAX-WS Service or WebServiceException.Object[]demarshalRequest(Message message, OperationDescription operationDesc)This method converts the Message into a SIGNATURE_ARGS It is used on the serverObjectdemarshalResponse(Message message, Object[] signatureArgs, OperationDescription operationDesc)This method gets the objects from the Message and sets them onto the SIGNATURE_ARGS It also returns the RETURN object.MessagemarshalFaultResponse(Throwable throwable, OperationDescription operationDesc, Protocol protocol)This method creates a Message from a Throwable input parameter.MessagemarshalRequest(Object[] signatureArguments, OperationDescription operationDesc, Map<String,Object> requestContext)This method converts SIGNATURE_ARGS into a Message.MessagemarshalResponse(Object returnObject, Object[] signatureArgs, OperationDescription operationDesc, Protocol protocol)This method converts the SIGNATURE_ARGS and RETURN object into a Message.
-
-
-
Method Detail
-
demarshalResponse
public Object demarshalResponse(Message message, Object[] signatureArgs, OperationDescription operationDesc) throws WebServiceException
Description copied from interface:MethodMarshallerThis method gets the objects from the Message and sets them onto the SIGNATURE_ARGS It also returns the RETURN object. Called on client- Specified by:
demarshalResponsein interfaceMethodMarshaller- Returns:
- returnObject
- Throws:
WebServiceException
-
demarshalRequest
public Object[] demarshalRequest(Message message, OperationDescription operationDesc) throws WebServiceException
Description copied from interface:MethodMarshallerThis method converts the Message into a SIGNATURE_ARGS It is used on the server- Specified by:
demarshalRequestin interfaceMethodMarshaller- Returns:
- signature args
- Throws:
WebServiceException
-
marshalResponse
public Message marshalResponse(Object returnObject, Object[] signatureArgs, OperationDescription operationDesc, Protocol protocol) throws WebServiceException
Description copied from interface:MethodMarshallerThis method converts the SIGNATURE_ARGS and RETURN object into a Message. It is used on the server- Specified by:
marshalResponsein interfaceMethodMarshaller- Returns:
- Message
- Throws:
WebServiceException
-
marshalRequest
public Message marshalRequest(Object[] signatureArguments, OperationDescription operationDesc, Map<String,Object> requestContext) throws WebServiceException
Description copied from interface:MethodMarshallerThis method converts SIGNATURE_ARGS into a Message. It is used on the client- Specified by:
marshalRequestin interfaceMethodMarshaller- Returns:
- Message
- Throws:
WebServiceException
-
marshalFaultResponse
public Message marshalFaultResponse(Throwable throwable, OperationDescription operationDesc, Protocol protocol) throws WebServiceException
Description copied from interface:MethodMarshallerThis method creates a Message from a Throwable input parameter. Used on the server.- Specified by:
marshalFaultResponsein interfaceMethodMarshaller- Returns:
- Throws:
WebServiceException
-
demarshalFaultResponse
public Throwable demarshalFaultResponse(Message message, OperationDescription operationDesc) throws WebServiceException
Description copied from interface:MethodMarshallerThis method converts a Message (containing a fault) into a JAX-WS Service or WebServiceException. Used on the client.- Specified by:
demarshalFaultResponsein interfaceMethodMarshaller- Returns:
- Throwable
- Throws:
WebServiceException
-
-