| java.lang.Object com.sun.xml.ws.api.rm.client.ClientSequenceFactory
ClientSequenceFactory | public class ClientSequenceFactory (Code) | | Factory used by clients who need to provide their own
sequences for use by the RMClient runtime. Typically, the
client application is maintaining its own persistent store
of sent messages and needs to monitor their acknowledgements.
|
createSequence | public static ClientSequence createSequence(javax.xml.ws.Service service, QName portName)(Code) | | Establishes a new session with the endpoint. The returned (@link ClientSequence}
can be specified for use by one or more client instances connected to the endpoint
by setting it as the value of the com.sun.xml.rm.session property.
Parameters: service - The JAX-WS service representing the service. Parameters: portName - The name of the endpoint. The ClientSequence obtained by sending a RM Protol CreateSequence messageto the endpoint. Returns null if thesequence creation fails. |
createSequence | public static ClientSequence createSequence(javax.xml.ws.Service service, QName portName, SequenceSettings settings)(Code) | | Re-establishes a session using persisted data from an existing session.
Parameters: service - The JAX-WS service representing the service. Parameters: portName - The name of the endpoint. The ClientSequence obtained by sending a RM Protol CreateSequence messageto the endpoint and replacing its state with the state savedpreviously from another session with the same endpoint. Returnsnull is sequence creation fails. |
|
|