org.apache.axis2.jaxws.marshaller.impl.alt
Class DocLitWrappedPlusMethodMarshaller

java.lang.Object
  extended by 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
DocLitWrappedPlusMethodMarshaller()
           
 
Method Summary
 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 server
 Object 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocLitWrappedPlusMethodMarshaller

public DocLitWrappedPlusMethodMarshaller()
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 interface MethodMarshaller
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 interface MethodMarshaller
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 interface MethodMarshaller
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 interface MethodMarshaller
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 interface MethodMarshaller
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 interface MethodMarshaller
Returns:
Throwable
Throws:
WebServiceException


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.