|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AddressingVersion>
com.sun.xml.ws.api.addressing.AddressingVersion
public enum AddressingVersion
'Traits' object that absorbs differences of WS-Addressing versions.
Nested Class Summary | |
---|---|
static class |
AddressingVersion.EPR
|
Enum Constant Summary | |
---|---|
MEMBER
|
|
W3C
|
Field Summary | |
---|---|
QName |
actionMismatchTag
Represents the QName of the fault code when Action is not supported at this endpoint. |
QName |
actionNotSupportedTag
Represents the QName of the fault code when Action is not supported at this endpoint. |
String |
actionNotSupportedText
Represents the text of the fault when Action is not supported at this endpoint. |
QName |
actionTag
Represents the Action QName in the SOAP message for a specific WS-Addressing Version. |
WSEndpointReference |
anonymousEpr
Represents the anonymous EPR. |
String |
anonymousUri
Gets the anonymous URI value associated with this WS-Addressing version. |
AddressingVersion.EPR |
eprType
Representing either W3CEndpointReference or
MemberSubmissionEndpointReference . |
static QName |
fault_duplicateAddressInEpr
Fault sub-sub-code that represents duplicate <Address> element in EPR. |
QName |
fault_missingAddressInEpr
Fault sub-sub-code that represents "Specifies that the invalid header was expected to be an EPR but did not contain an [address]." |
QName |
faultDetailTag
Represents the QName of the header element that is used to capture the fault detail if there is a fault processing WS-Addressing Message Addressing Property. |
QName |
faultToTag
Represents the FaultTo QName for a specific WS-Addressing Version. |
QName |
fromTag
Represents the From QName in the SOAP message for a specific WS-Addressing Version. |
QName |
invalidAddressTag
Represents the QName of the fault code when a header representing an address is not valid. |
QName |
invalidCardinalityTag
Represents the QName of the fault code when a header representing a WS-Addressing Message Addressing Property occurs greater than expected number. |
QName |
invalidMapTag
Represents the QName of the fault code when a header representing a WS-Addressing Message Addressing Property is invalid and cannot be processed. |
QName |
isReferenceParameterTag
Represents the QName of the reference parameter in a SOAP message. |
QName |
mapRequiredTag
Represents the QName of the fault code when a required header representing a WS-Addressing Message Addressing Property is not present. |
QName |
messageIDTag
Represents the MessageID QName in the SOAP message for a specific WS-Addressing Version. |
String |
noneUri
Gets the none URI value associated with this WS-Addressing version. |
String |
nsUri
Namespace URI |
String |
policyNsUri
Namespace URI for the WSDL Binding |
QName |
problemActionTag
Represents the QName of the element that conveys additional information if Action is not matching with that expected. |
QName |
problemHeaderQNameTag
Represents the QName of the element that conveys additional information on the pre-defined WS-Addressing faults. |
QName |
relatesToTag
Represents the RelatesTo QName in the SOAP message for a specific WS-Addressing Version. |
QName |
replyToTag
Represents the ReplyTo QName in the SOAP message for a specific WS-Addressing Version. |
QName |
toTag
Represents the To QName in the SOAP message for a specific WS-Addressing Version. |
static String |
UNSET_INPUT_ACTION
|
static String |
UNSET_OUTPUT_ACTION
|
QName |
wsdlActionTag
Represents the Action QName in the WSDL for a specific WS-Addressing Version. |
QName |
wsdlAnonymousTag
Represents the WSDL anonymous QName for a specific WS-Addressing Version. |
QName |
wsdlExtensionTag
Represents the WSDL extension QName for a specific WS-Addressing Version. |
String |
wsdlNsUri
Namespace URI for the WSDL Binding |
Method Summary | |
---|---|
(package private) abstract Header |
createReferenceParameterHeader(com.sun.xml.stream.buffer.XMLStreamBuffer mark,
String nsUri,
String localName)
Creates an outbound Header from a reference parameter. |
static AddressingVersion |
fromBinding(WSBinding binding)
Gets the AddressingVersion from a WSBinding |
static AddressingVersion |
fromFeature(javax.xml.ws.WebServiceFeature af)
|
static AddressingVersion |
fromNsUri(String nsUri)
Returns AddressingVersion whose nsUri equals to
the given string. |
static AddressingVersion |
fromPort(WSDLPort port)
Gets the AddressingVersion from a WSDLPort |
static AddressingVersion |
fromSpecClass(Class<? extends javax.xml.ws.EndpointReference> eprClass)
Gets the corresponding AddressingVersion instance from the
EPR class. |
(package private) abstract String |
getActionMismatchLocalName()
Gets the local name of the fault when a header representing a WS-Addressing Action is not same as SOAPAction |
String |
getAnonymousUri()
Deprecated. Use anonymousUri |
String |
getDefaultFaultAction()
Gets the default fault Action value associated with this WS-Addressing version. |
static javax.xml.ws.WebServiceFeature |
getFeature(String nsUri,
boolean enabled,
boolean required)
Gets the WebServiceFeature corresponding to the namespace URI of
WS-Addressing policy assertion in the WSDL. |
abstract Class<? extends javax.xml.ws.WebServiceFeature> |
getFeatureClass()
|
(package private) abstract String |
getInvalidAddressLocalName()
Gets the local name of the fault when a header representing anaddress is invalid. |
(package private) abstract String |
getInvalidCardinalityLocalName()
Gets the local name of the fault when a header representing a WS-Addressing Message Addresing Property occurs greater than expected number. |
(package private) abstract String |
getInvalidMapLocalName()
Gets the local name of the fault when a header representing a WS-Addressing Message Addresing Property is invalid and cannot be processed. |
abstract String |
getInvalidMapText()
Gets the description text when a header representing a WS-Addressing Message Addressing Property is invalid and cannot be processed. |
(package private) abstract String |
getIsReferenceParameterLocalName()
Gets the local name for wsa:IsReferenceParameter. |
(package private) abstract String |
getMapRequiredLocalName()
Gets the local name of the fault when a header representing a WS-Addressing Message Addresing Property is absent. |
abstract String |
getMapRequiredText()
Gets the description text when a required WS-Addressing header representing a Message Addressing Property is absent. |
String |
getNoneUri()
Deprecated. Use noneUri . |
String |
getNsUri()
Deprecated. Use nsUri . |
abstract String |
getPrefix()
|
abstract WsaTubeHelper |
getWsaHelper(WSDLPort wsdlPort,
SEIModel seiModel,
WSBinding binding)
Returns WsaTubeHelper for the WS-Addressing version identified by binding
WSBinding and for the WSDLPort port. |
(package private) abstract String |
getWsdlAnonymousLocalName()
|
abstract String |
getWsdlPrefix()
|
static boolean |
isEnabled(WSBinding binding)
Returns true if binding contains either a AddressingFeature or
MemberSubmissionAddressingFeature and is enabled. |
abstract boolean |
isReferenceParameter(String localName)
Returns true if the given local name is considered as a reference parameter in EPR. |
static boolean |
isRequired(javax.xml.ws.WebServiceFeature wsf)
Returns true if the WebServiceFeature is either a AddressingFeature or
MemberSubmissionAddressingFeature and is required. |
static boolean |
isRequired(WSBinding binding)
Returns true if binding contains either a AddressingFeature or
MemberSubmissionAddressingFeature and is required. |
static AddressingVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AddressingVersion[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final AddressingVersion W3C
public static final AddressingVersion MEMBER
Field Detail |
---|
public final String nsUri
public final String wsdlNsUri
public final AddressingVersion.EPR eprType
W3CEndpointReference
or
MemberSubmissionEndpointReference
.
public final String policyNsUri
@NotNull public final String anonymousUri
@NotNull public final String noneUri
public final WSEndpointReference anonymousEpr
public final QName toTag
public final QName fromTag
public final QName replyToTag
public final QName faultToTag
public final QName actionTag
public final QName messageIDTag
public final QName relatesToTag
public final QName mapRequiredTag
public final QName actionMismatchTag
public final QName actionNotSupportedTag
public final String actionNotSupportedText
public final QName invalidMapTag
public final QName invalidCardinalityTag
public final QName invalidAddressTag
public final QName problemHeaderQNameTag
public final QName problemActionTag
public final QName faultDetailTag
public final QName fault_missingAddressInEpr
public final QName wsdlActionTag
public final QName wsdlExtensionTag
public final QName wsdlAnonymousTag
public final QName isReferenceParameterTag
public static final String UNSET_OUTPUT_ACTION
public static final String UNSET_INPUT_ACTION
public static final QName fault_duplicateAddressInEpr
Method Detail |
---|
public static final AddressingVersion[] values()
for(AddressingVersion c : AddressingVersion.values()) System.out.println(c);
public static AddressingVersion valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified nameabstract String getActionMismatchLocalName()
public static AddressingVersion fromNsUri(String nsUri)
AddressingVersion
whose nsUri
equals to
the given string.
This method does not perform input string validation.
nsUri
- must not be null.
@Nullable public static AddressingVersion fromBinding(WSBinding binding)
AddressingVersion
from a WSBinding
binding
- WSDL binding
public static AddressingVersion fromPort(WSDLPort port)
AddressingVersion
from a WSDLPort
port
- WSDL port
public String getNsUri()
nsUri
.
nsUri
associated with this AddressingVersion
public abstract boolean isReferenceParameter(String localName)
public abstract WsaTubeHelper getWsaHelper(WSDLPort wsdlPort, SEIModel seiModel, WSBinding binding)
binding
WSBinding
and for the WSDLPort
port.
public final String getNoneUri()
noneUri
.
public final String getAnonymousUri()
anonymousUri
public String getDefaultFaultAction()
abstract String getMapRequiredLocalName()
public abstract String getMapRequiredText()
abstract String getInvalidAddressLocalName()
abstract String getInvalidMapLocalName()
public abstract String getInvalidMapText()
abstract String getInvalidCardinalityLocalName()
abstract String getWsdlAnonymousLocalName()
public abstract String getPrefix()
public abstract String getWsdlPrefix()
public abstract Class<? extends javax.xml.ws.WebServiceFeature> getFeatureClass()
abstract Header createReferenceParameterHeader(com.sun.xml.stream.buffer.XMLStreamBuffer mark, String nsUri, String localName)
Header
from a reference parameter.
abstract String getIsReferenceParameterLocalName()
public static AddressingVersion fromFeature(javax.xml.ws.WebServiceFeature af)
@NotNull public static javax.xml.ws.WebServiceFeature getFeature(String nsUri, boolean enabled, boolean required)
WebServiceFeature
corresponding to the namespace URI of
WS-Addressing policy assertion in the WSDL. enabled
and
required
are used to initialize the value of the feature.
nsUri
- namespace URI of the WS-Addressing policy assertion in the WSDLenabled
- true if feature is to be enabled, false otherwiserequired
- true if feature is required, false otherwise. Corresponds
to wsdl:required on the extension/assertion.
javax.xml.ws.WebServiceException
- if an unsupported namespace URI is passed@NotNull public static AddressingVersion fromSpecClass(Class<? extends javax.xml.ws.EndpointReference> eprClass)
AddressingVersion
instance from the
EPR class.
public static boolean isRequired(javax.xml.ws.WebServiceFeature wsf)
AddressingFeature
or
MemberSubmissionAddressingFeature
and is required.
wsf
- The WebServiceFeature encaps
wsf
requires WS-Addressing
javax.xml.ws.WebServiceException
- if wsf
does not contain either AddressingFeature
or
MemberSubmissionAddressingFeature
public static boolean isRequired(WSBinding binding)
binding
contains either a AddressingFeature
or
MemberSubmissionAddressingFeature
and is required.
binding
- The binding
binding
requires WS-Addressingpublic static boolean isEnabled(WSBinding binding)
binding
contains either a AddressingFeature
or
MemberSubmissionAddressingFeature
and is enabled.
binding
- The binding
binding
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |