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

java.lang.Object
  extended by org.apache.axis2.jaxws.marshaller.impl.alt.DocLitBareMethodMarshaller
All Implemented Interfaces:
MethodMarshaller

public class DocLitBareMethodMarshaller
extends java.lang.Object
implements MethodMarshaller


Constructor Summary
DocLitBareMethodMarshaller()
           
 
Method Summary
 java.lang.Throwable demarshalFaultResponse(Message message, OperationDescription operationDesc)
          This method converts a Message (containing a fault) into a JAX-WS Service or WebServiceException.
 java.lang.Object[] demarshalRequest(Message message, OperationDescription operationDesc)
          This method converts the Message into a SIGNATURE_ARGS It is used on the server
 java.lang.Object demarshalResponse(Message message, java.lang.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(java.lang.Throwable throwable, OperationDescription operationDesc, Protocol protocol)
          This method creates a Message from a Throwable input parameter.
 Message marshalRequest(java.lang.Object[] signatureArguments, OperationDescription operationDesc)
          This method converts SIGNATURE_ARGS into a Message.
 Message marshalResponse(java.lang.Object returnObject, java.lang.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

DocLitBareMethodMarshaller

public DocLitBareMethodMarshaller()
Method Detail

demarshalResponse

public java.lang.Object demarshalResponse(Message message,
                                          java.lang.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 java.lang.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(java.lang.Object returnObject,
                               java.lang.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(java.lang.Object[] signatureArguments,
                              OperationDescription operationDesc)
                       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(java.lang.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 java.lang.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 © 2007 Apache Web Services Project. All Rights Reserved.