|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<RmVersion>
com.sun.xml.ws.rm.RmVersion
public enum RmVersion
This enumeration contains all currently supported WS-ReliableMessaging versions. The used reliable messaging version affects the WS-ReliableMessaging Policy assertions displayed int the web service's WSDL, XML namespace of RM protocol element being created as well as RM protocol message processing logic.
WSRM200502
,
WSRM200702
Enum Constant Summary | |
---|---|
WSRM200502
This value represents the outdated and obsolete WS-ReliableMessaging v1.0 protocol. |
|
WSRM200702
This value represents the version of WS-ReliableMessaging protocol standardized by OASIS organization. |
Field Summary | |
---|---|
java.lang.String |
ackRequestedAction
Action constants |
java.lang.String |
closeSequenceAction
|
java.lang.String |
closeSequenceResponseAction
|
java.lang.String |
createSequenceAction
|
javax.xml.namespace.QName |
createSequenceRefusedFaultCode
|
java.lang.String |
createSequenceResponseAction
|
javax.xml.namespace.QName |
invalidAcknowledgementFaultCode
|
java.lang.String |
lastAction
|
javax.xml.namespace.QName |
lastMessageNumberExceededFaultCode
|
java.lang.String |
makeConnectionAction
|
javax.xml.namespace.QName |
messageNumberRolloverFaultCode
|
java.lang.String |
namespaceUri
General constants |
java.lang.String |
policyNamespaceUri
|
java.lang.String |
sequenceAcknowledgementAction
|
javax.xml.namespace.QName |
sequenceClosedFaultCode
|
javax.xml.namespace.QName |
sequenceTerminatedFaultCode
Fault codes |
java.lang.String |
terminateSequenceAction
|
java.lang.String |
terminateSequenceResponseAction
|
javax.xml.namespace.QName |
unknownSequenceFaultCode
|
java.lang.String |
wsrmFaultAction
|
javax.xml.namespace.QName |
wsrmRequiredFaultCode
|
Method Summary | |
---|---|
javax.xml.bind.Unmarshaller |
createUnmarshaller(com.sun.xml.ws.api.addressing.AddressingVersion av)
Creates JAXB Unmarshaller that is able to unmarshall Rm protocol elements for given WS-RM version. |
com.sun.xml.bind.api.JAXBRIContext |
getJaxbContext(com.sun.xml.ws.api.addressing.AddressingVersion av)
Returns JAXB context that is intitialized based on a given addressing version. |
boolean |
isRmAction(java.lang.String wsaAction)
TODO javadoc |
boolean |
isRmFault(java.lang.String wsaAction)
TODO javadoc |
boolean |
isRmProtocolRequest(java.lang.String wsaAction)
TODO javadoc |
boolean |
isRmProtocolResponse(java.lang.String wsaAction)
TODO javadoc |
static RmVersion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static RmVersion[] |
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 RmVersion WSRM200502
This value represents the outdated and obsolete WS-ReliableMessaging v1.0 protocol.
You may want to choose this version for your WS endpoints to ensure maximum backward compatibility with clients running on older systems, such as Metro 1.0 or .NET 3.0
RmVersion
public static final RmVersion WSRM200702
This value represents the version of WS-ReliableMessaging protocol standardized by OASIS organization. This is currently the most up-to-date version.
You should primarily use this version for your WS endpoints. It is compatible with clients running on Metro 1.3 or .NET 3.5 and later.
RmVersion
Field Detail |
---|
public final java.lang.String namespaceUri
public final java.lang.String policyNamespaceUri
public final java.lang.String ackRequestedAction
public final java.lang.String createSequenceAction
public final java.lang.String createSequenceResponseAction
public final java.lang.String closeSequenceAction
public final java.lang.String closeSequenceResponseAction
public final java.lang.String lastAction
public final java.lang.String makeConnectionAction
public final java.lang.String sequenceAcknowledgementAction
public final java.lang.String wsrmFaultAction
public final java.lang.String terminateSequenceAction
public final java.lang.String terminateSequenceResponseAction
public final javax.xml.namespace.QName sequenceTerminatedFaultCode
public final javax.xml.namespace.QName unknownSequenceFaultCode
public final javax.xml.namespace.QName invalidAcknowledgementFaultCode
public final javax.xml.namespace.QName messageNumberRolloverFaultCode
public final javax.xml.namespace.QName lastMessageNumberExceededFaultCode
public final javax.xml.namespace.QName createSequenceRefusedFaultCode
public final javax.xml.namespace.QName sequenceClosedFaultCode
public final javax.xml.namespace.QName wsrmRequiredFaultCode
Method Detail |
---|
public static final RmVersion[] values()
for(RmVersion c : RmVersion.values()) System.out.println(c);
public static RmVersion valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic boolean isRmAction(java.lang.String wsaAction)
public boolean isRmProtocolRequest(java.lang.String wsaAction)
public boolean isRmProtocolResponse(java.lang.String wsaAction)
public boolean isRmFault(java.lang.String wsaAction)
public javax.xml.bind.Unmarshaller createUnmarshaller(com.sun.xml.ws.api.addressing.AddressingVersion av) throws RxRuntimeException
Unmarshaller
that is able to unmarshall Rm protocol elements for given WS-RM version.
As JAXB unmarshallers are not thread-safe, this method should be used to create a new Unmarshaller
instance whenever there is a chance that the same instance might be invoked concurrently from multiple
threads. On th other hand, it is prudent to cache or pool Unmarshaller
instances if possible as
constructing a new Unmarshaller
instance is rather expensive.
For additional information see this blog entry.
RxRuntimeException
- in case the creation of unmarshaller failedpublic com.sun.xml.bind.api.JAXBRIContext getJaxbContext(com.sun.xml.ws.api.addressing.AddressingVersion av)
av
- addressing version used to initialize JAXB context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |