Skip navigation links

Java API Reference for Oracle Infrastructure Web Services
11
Release 1 (11.1.1)

E10654-02


oracle.webservices.annotations
Annotation Type ConversationalOperation


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface ConversationalOperation

This annotation is to be used on the methods of a JAX-WS service endpoint implementation bean that is annotated as Conversational with the "Session" scope. If the scope is not Session, all the ConversationalOperation annotations are ignored. If there is at least one operation annotated as Initiator, a session is created when an Initiator operation is called and the request message does not carry a session/conversation identifier. Any request message targeting an operation that is NOT annotated as Initiator or Stateless MUST carry a session identifier; otherwise a client fault is returned. If there is NO method annotated as Initiator, a session is created when the targeting operation is NOT annotated as Terminator or Stateless and the request message is NOT carrying a session identifier. If there is NO operation annotated as Terminator, a session is ended when timeout, or expired. If a valid session cannot be identified by the session identifier associated with a request message, a client fault MUST be returned complaining the session identifier is invalid.


Optional Element Summary
 ConversationalOperation.Phase value
          The phase of the conversation.

 

value

public abstract ConversationalOperation.Phase value
The phase of the conversation.
Default:
oracle.webservices.annotations.ConversationalOperation.Phase.Conversation

Skip navigation links

Copyright © 2006, 2009 Oracle. All Rights Reserved.