public class Utils extends Object
Modifier and Type | Field and Description |
---|---|
static org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
bindingTypesMatch(MessageContext mc,
EndpointDescription ed)
Compares the version of the message in the MessageContext to what's expected
given the ServiceDescription.
|
static boolean |
bindingTypesMatch(MessageContext mc,
ServiceDescription serviceDesc)
Deprecated.
|
static MessageContext |
createFaultMessage(MessageContext mc,
String msg) |
static MessageContext |
createVersionMismatchMessage(MessageContext mc,
Protocol protocol)
Creates a fault message that reflects a version mismatch for the configured message protocol.
|
static OperationDescription |
getOperationDescription(MessageContext mc) |
@Deprecated public static boolean bindingTypesMatch(MessageContext mc, ServiceDescription serviceDesc)
public static boolean bindingTypesMatch(MessageContext mc, EndpointDescription ed)
mc
- serviceDesc
- public static MessageContext createVersionMismatchMessage(MessageContext mc, Protocol protocol)
mc
- msg
- public static MessageContext createFaultMessage(MessageContext mc, String msg)
public static OperationDescription getOperationDescription(MessageContext mc)
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.