public class AddressingHelper extends Object
Constructor and Description |
---|
AddressingHelper() |
Modifier and Type | Method and Description |
---|---|
static org.apache.axiom.om.OMElement |
getAddressingIdentityParameterValue(AxisEndpoint endpoint) |
static String |
getAddressingRequirementParemeterValue(AxisDescription axisDescription) |
static String |
getInvocationPatternParameterValue(AxisOperation axisOperation)
Extract the parameter representing the Anonymous flag from the AxisOperation
and return the String value.
|
static String |
getRequestAddressingRequirementParameterValue(MessageContext response) |
static boolean |
isFaultRedirected(MessageContext messageContext)
Returns true if the FaultTo address does not match one of the supported
anonymous urls.
|
static boolean |
isReplyRedirected(MessageContext messageContext)
Returns true if the ReplyTo address does not match one of the supported
anonymous urls.
|
static boolean |
isSyncFaultAllowed(MessageContext messageContext)
Returns true if the FaultTo address matches one of the supported
anonymous urls.
|
static boolean |
isSyncReplyAllowed(MessageContext messageContext)
Returns true if the ReplyTo address matches one of the supported
anonymous urls.
|
static void |
setAddressingRequirementParemeterValue(AxisDescription axisDescription,
String value) |
static void |
setInvocationPatternParameterValue(AxisOperation axisOperation,
String value)
Set the value of an existing unlocked Parameter representing Anonymous or add a new one if one
does not exist.
|
static boolean |
shouldSendFaultToFaultTo(MessageContext messageContext)
If the inbound FaultTo header was invalid and caused a fault, the fault should not be
sent to it.
|
public static boolean isSyncReplyAllowed(MessageContext messageContext)
messageContext
- public static boolean isSyncFaultAllowed(MessageContext messageContext)
messageContext
- isSyncReplyAllowed(org.apache.axis2.context.MessageContext)
public static boolean isReplyRedirected(MessageContext messageContext)
messageContext
- public static boolean isFaultRedirected(MessageContext messageContext)
messageContext
- isReplyRedirected(org.apache.axis2.context.MessageContext)
public static boolean shouldSendFaultToFaultTo(MessageContext messageContext)
public static String getAddressingRequirementParemeterValue(AxisDescription axisDescription)
public static String getRequestAddressingRequirementParameterValue(MessageContext response)
public static String getInvocationPatternParameterValue(AxisOperation axisOperation)
axisOperation
- public static void setInvocationPatternParameterValue(AxisOperation axisOperation, String value)
axisOperation
- value
- public static void setAddressingRequirementParemeterValue(AxisDescription axisDescription, String value)
public static org.apache.axiom.om.OMElement getAddressingIdentityParameterValue(AxisEndpoint endpoint)
endpoint
- The endpoint to check for a
AddressingConstants.ADDRESSING_IDENTITY_PARAMETER
. Must not be
null
AddressingConstants.QNAME_IDENTITY
) if
such is configured on the specified endpoint
or its binding
, or null
if not available. This will normally be available if the
service was created from a WSDL which contains a WS-Addressing endpoint reference
with an <wsid:Identity> extension either on the port or corresponding binding.Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.