Class Utils
java.lang.Object
org.apache.axis2.jaxws.server.endpoint.Utils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanbindingTypesMatch(MessageContext mc, org.apache.axis2.jaxws.description.EndpointDescription ed) Compares the version of the message in the MessageContext to what's expected given the ServiceDescription.static booleanbindingTypesMatch(MessageContext mc, org.apache.axis2.jaxws.description.ServiceDescription serviceDesc) Deprecated.static MessageContextcreateFaultMessage(MessageContext mc, String msg) static MessageContextcreateVersionMismatchMessage(MessageContext mc, Protocol protocol) Creates a fault message that reflects a version mismatch for the configured message protocol.static org.apache.axis2.jaxws.description.OperationDescription
-
Field Details
-
log
public static final org.apache.commons.logging.Log log
-
-
Constructor Details
-
Utils
public Utils()
-
-
Method Details
-
bindingTypesMatch
@Deprecated public static boolean bindingTypesMatch(MessageContext mc, org.apache.axis2.jaxws.description.ServiceDescription serviceDesc) Deprecated. -
bindingTypesMatch
public static boolean bindingTypesMatch(MessageContext mc, org.apache.axis2.jaxws.description.EndpointDescription ed) Compares the version of the message in the MessageContext to what's expected given the ServiceDescription. The behavior is described in the SOAP 1.2 specification under Appendix 'A'.- Parameters:
mc-serviceDesc-- Returns:
-
createVersionMismatchMessage
Creates a fault message that reflects a version mismatch for the configured message protocol. The returned message will always be a SOAP 1.1 message per the specification.- Parameters:
mc-msg-- Returns:
-
createFaultMessage
-
getOperationDescription
public static org.apache.axis2.jaxws.description.OperationDescription getOperationDescription(MessageContext mc)
-