| org.apache.axis2.jaxws.marshaller.MethodMarshaller
All known Subclasses: org.apache.axis2.jaxws.marshaller.impl.alt.DocLitWrappedMethodMarshaller, org.apache.axis2.jaxws.marshaller.impl.alt.DocLitBareMethodMarshaller, org.apache.axis2.jaxws.marshaller.impl.alt.DocLitWrappedPlusMethodMarshaller, org.apache.axis2.jaxws.marshaller.impl.alt.DocLitBareMinimalMethodMarshaller, org.apache.axis2.jaxws.marshaller.impl.alt.DocLitWrappedMinimalMethodMarshaller, org.apache.axis2.jaxws.marshaller.impl.alt.RPCLitMethodMarshaller,
MethodMarshaller | public interface MethodMarshaller (Code) | | This class marshals and unmarshals method invocations.
Here is the high-level view of marshalling: SIGNATURE_ARGS ---> Type Enabled Object ----->
Element Enabled Object ---> MESSAGE (XML)
The Signature objects are the objects from the SEI method signature. They may be values or
holders of values. The values are "type enabled objects" (i.e. String), which means that they
cannot be marshalled or unmarshalled.
See Also: org.apache.axis2.jaxws.util.XMLRootElementUtils See Also: for details on Type Enabled and Element See Also: Enabled objects. See Also: See Also: The values are enhanced (if necessary) into Element Enabled Objects. These can be See Also: marshalled or unmarshalled using JAXB. See Also: org.apache.axis2.jaxws.marshaller.impl.alt.PDElement See Also: See Also: The element enabled objects are put onto the message. See Also: See Also: The high-level view of unmarshalling is the reverse. SIGNATURE_ARGS <---- Type Enabled See Also: Object <----- Element Enabled Object <---- MESSAGE (XML) See Also: See Also: See the specific MethodMarshaller implementations to see how doc/lit wrapped, doc/lit bare See Also: and rpc/lit affect the process of going from SIGNATURE_ARGS to the element enabled objects. See Also: See Also: If there are any problems, a WebServiceException is thrown. (Each of the methods is See Also: guranteed to catch any unchecked exception and wrap it in a WebServiceException). |
Method Summary | |
public Throwable | demarshalFaultResponse(Message message, OperationDescription opDesc) This method converts a Message (containing a fault) into a JAX-WS Service or
WebServiceException. | public Object[] | demarshalRequest(Message message, OperationDescription opDesc) | public Object | demarshalResponse(Message message, Object[] signatureArgs, OperationDescription opDesc) This method gets the objects from the Message and sets them onto the SIGNATURE_ARGS It also
returns the RETURN object. | public Message | marshalFaultResponse(Throwable throwable, OperationDescription opDesc, Protocol protocol) This method creates a Message from a Throwable input parameter. | public Message | marshalRequest(Object[] signatureArgs, OperationDescription opDesc) This method converts SIGNATURE_ARGS into a Message. | public Message | marshalResponse(Object returnObject, Object[] signatureArgs, OperationDescription opDesc, Protocol protocol) This method converts the SIGNATURE_ARGS and RETURN object into a Message. |
demarshalFaultResponse | public Throwable demarshalFaultResponse(Message message, OperationDescription opDesc) throws WebServiceException(Code) | | This method converts a Message (containing a fault) into a JAX-WS Service or
WebServiceException. Used on the client.
Parameters: message - Parameters: Message - Throwable |
demarshalRequest | public Object[] demarshalRequest(Message message, OperationDescription opDesc) throws WebServiceException(Code) | | This method converts the Message into a SIGNATURE_ARGS It is used on the server
Parameters: message - signature args |
demarshalResponse | public Object demarshalResponse(Message message, Object[] signatureArgs, OperationDescription opDesc) throws WebServiceException(Code) | | This method gets the objects from the Message and sets them onto the SIGNATURE_ARGS It also
returns the RETURN object. Called on client
Parameters: message - Parameters: signatureAgs - (same array of args that were used for marshalRequest. The out/inoutholders are populated with new values) Parameters: OperationDesc - returnObject |
marshalRequest | public Message marshalRequest(Object[] signatureArgs, OperationDescription opDesc) throws WebServiceException(Code) | | This method converts SIGNATURE_ARGS into a Message. It is used on the client
Parameters: signatureArgs - Message |
marshalResponse | public Message marshalResponse(Object returnObject, Object[] signatureArgs, OperationDescription opDesc, Protocol protocol) throws WebServiceException(Code) | | This method converts the SIGNATURE_ARGS and RETURN object into a Message. It is used on the
server
Parameters: returnObject - Parameters: signatureArgs - Parameters: OperationDesc - Parameters: Protocol - for response Message |
|
|