Class DocLitWrappedPlusMethodMarshaller
- java.lang.Object
-
- org.apache.axis2.jaxws.marshaller.impl.alt.DocLitWrappedPlusMethodMarshaller
-
- All Implemented Interfaces:
MethodMarshaller
public class DocLitWrappedPlusMethodMarshaller extends Object implements MethodMarshaller
The DocLitWrapped "plus" marshaller is used when the java method is doc/lit wrapped, but it does not exactly comply with the doc/lit rules. This can result from the customer adding annotations, but it can also be the result of WSGEN generation Here is an example:
-
-
Constructor Summary
Constructors Constructor Description DocLitWrappedPlusMethodMarshaller()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Throwable
demarshalFaultResponse(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 serverObject
demarshalResponse(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.Message
marshalFaultResponse(Throwable throwable, OperationDescription operationDesc, Protocol protocol)
This method creates a Message from a Throwable input parameter.Message
marshalRequest(Object[] signatureArguments, OperationDescription operationDesc, Map<String,Object> requestContext)
This method converts SIGNATURE_ARGS into a Message.Message
marshalResponse(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:MethodMarshaller
This 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:
demarshalResponse
in interfaceMethodMarshaller
- Returns:
- returnObject
- Throws:
WebServiceException
-
demarshalRequest
public Object[] demarshalRequest(Message message, OperationDescription operationDesc) throws WebServiceException
Description copied from interface:MethodMarshaller
This method converts the Message into a SIGNATURE_ARGS It is used on the server- Specified by:
demarshalRequest
in interfaceMethodMarshaller
- Returns:
- signature args
- Throws:
WebServiceException
-
marshalResponse
public Message marshalResponse(Object returnObject, Object[] signatureArgs, OperationDescription operationDesc, Protocol protocol) throws WebServiceException
Description copied from interface:MethodMarshaller
This method converts the SIGNATURE_ARGS and RETURN object into a Message. It is used on the server- Specified by:
marshalResponse
in interfaceMethodMarshaller
- Returns:
- Message
- Throws:
WebServiceException
-
marshalRequest
public Message marshalRequest(Object[] signatureArguments, OperationDescription operationDesc, Map<String,Object> requestContext) throws WebServiceException
Description copied from interface:MethodMarshaller
This method converts SIGNATURE_ARGS into a Message. It is used on the client- Specified by:
marshalRequest
in interfaceMethodMarshaller
- Returns:
- Message
- Throws:
WebServiceException
-
marshalFaultResponse
public Message marshalFaultResponse(Throwable throwable, OperationDescription operationDesc, Protocol protocol) throws WebServiceException
Description copied from interface:MethodMarshaller
This method creates a Message from a Throwable input parameter. Used on the server.- Specified by:
marshalFaultResponse
in interfaceMethodMarshaller
- Returns:
- Throws:
WebServiceException
-
demarshalFaultResponse
public Throwable demarshalFaultResponse(Message message, OperationDescription operationDesc) throws WebServiceException
Description copied from interface:MethodMarshaller
This method converts a Message (containing a fault) into a JAX-WS Service or WebServiceException. Used on the client.- Specified by:
demarshalFaultResponse
in interfaceMethodMarshaller
- Returns:
- Throwable
- Throws:
WebServiceException
-
-