|
Oracle BPEL Process Manager Client API Reference 10g Release 2 (10.1.2) B25709-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class has been deprecated and replaced by the IDeliveryService
subinterface. If will be kept around to preserve backward compatibility until the 10.1.3 release. The delivery service allows users to feed messages into the BPEL domain for invocation or callback.
There are two ways to deliver messages to the domain: post and request. Which method to call depends on the wsdl interface of the BPEL process you wish to deliver the message to.
Field Summary | |
static java.lang.String |
LOCAL_SERVICE_NAME Name of local delivery service. |
static java.lang.String |
SERVICE_NAME Name of the delivery service. |
Method Summary | |
void |
post(java.lang.String processId, java.lang.String operationName, NormalizedMessage message) Invokes the specified operation on the BPEL process using the passed message as input. |
void |
post(java.lang.String processId, java.lang.String revisionTag, java.lang.String operationName, NormalizedMessage message) Invokes the specified operation on the BPEL process using the passed message as input. |
void |
post(java.lang.String processId, java.lang.String revisionTag, java.lang.String partnerLinkName, java.lang.String roleName, java.lang.String operationName, NormalizedMessage message) Invokes the specified operation on the BPEL process using the passed message as input. |
void |
post(java.lang.String processId, java.lang.String revisionTag, java.lang.String partnerLinkName, java.lang.String roleName, java.lang.String operationName, NormalizedMessage message, java.util.Map headers) Performs the same action as post( String, String, String, String, String, NormalizedMessage ) but allows the user to pass in SOAP headers with the message. |
NormalizedMessage |
request(java.lang.String processId, java.lang.String operationName, NormalizedMessage message) Invokes the specified operation on the BPEL process using the passed message as input. |
NormalizedMessage |
request(java.lang.String processId, java.lang.String revisionTag, java.lang.String operationName, NormalizedMessage message) Invokes the specified operation on the BPEL process using the passed message as input. |
NormalizedMessage |
request(java.lang.String processId, java.lang.String revisionTag, java.lang.String partnerLinkName, java.lang.String roleName, java.lang.String operationName, NormalizedMessage message) Invokes the specified operation on the BPEL process using the passed message as input. |
NormalizedMessage |
request(java.lang.String processId, java.lang.String revisionTag, java.lang.String partnerLinkName, java.lang.String roleName, java.lang.String operationName, NormalizedMessage message, java.util.Map headers) Performs the same action as request( String, String, String, String, String, NormalizedMessage ) but allows the user to pass in SOAP headers with the message. |
Methods inherited from interface com.oracle.bpel.client.IService |
getName |
Field Detail |
public static final java.lang.String SERVICE_NAME
Locator.lookupService(java.lang.String)
, Constant Field Valuespublic static final java.lang.String LOCAL_SERVICE_NAME
Locator.lookupService(java.lang.String)
, Constant Field ValuesMethod Detail |
public NormalizedMessage request(java.lang.String processId, java.lang.String operationName, NormalizedMessage message) throws ServerException, java.rmi.RemoteException
This method will invoke the default revision of the BPEL process (that is, the one most recently deployed to the process domain).
processId
- the BPEL process identifieroperationName
- the operation to invoke on the processmessage
- the input messageServerException
- if the process does not exist or if there was a problem with the invocation.java.rmi.RemoteException
- if there was a problem connecting to the j2ee server.public NormalizedMessage request(java.lang.String processId, java.lang.String revisionTag, java.lang.String operationName, NormalizedMessage message) throws ServerException, java.rmi.RemoteException
This method will invoke the specified revision of the BPEL process. If revisionTag
is null, the default process will be invoked.
processId
- the BPEL process identifierrevisionTag
- the BPEL process revision tagoperationName
- the operation to invoke on the processmessage
- the input messageServerException
- if the process does not exist or if there was a problem with the invocation.java.rmi.RemoteException
- if there was a problem connecting to the j2ee server.public NormalizedMessage request(java.lang.String processId, java.lang.String revisionTag, java.lang.String partnerLinkName, java.lang.String roleName, java.lang.String operationName, NormalizedMessage message) throws ServerException, java.rmi.RemoteException
If the request will result in an instance being created the partner link and role names are ignored. The current implementation can only support a single instance creating activity. If the request is a callback to an existing instance, the partner link and role names will be used to properly correlate the request to the receiving activity.
processId
- the BPEL process identifierrevisionTag
- the BPEL process revision tagpartnerLinkName
- name of the partner link that includes the port type that has this operationroleName
- name of the role in the partner link that uses the port type that has this operationoperationName
- the operation to invoke on the processmessage
- the input messageServerException
- if the process does not exist or if there was a problem with the invocation.java.rmi.RemoteException
- if there was a problem connecting to the j2ee server.public NormalizedMessage request(java.lang.String processId, java.lang.String revisionTag, java.lang.String partnerLinkName, java.lang.String roleName, java.lang.String operationName, NormalizedMessage message, java.util.Map headers) throws ServerException, java.rmi.RemoteException
request( String, String, String, String, String, NormalizedMessage )
but allows the user to pass in SOAP headers with the message.processId
- the BPEL process identifierrevisionTag
- the BPEL process revision tagpartnerLinkName
- name of the partner link that includes the port type that has this operationroleName
- name of the role in the partner link that uses the port type that has this operationoperationName
- the operation to invoke on the processmessage
- the input messageheaders
- a Map of header messages keyed by the message type QNameServerException
- if the process does not exist or if there was a problem with the invocation.java.rmi.RemoteException
- if there was a problem connecting to the j2ee server.public void post(java.lang.String processId, java.lang.String operationName, NormalizedMessage message) throws ServerException, java.rmi.RemoteException
This method will invoke the default revision of the BPEL process (that is, the one most recently deployed to the process domain).
processId
- the BPEL process identifieroperationName
- the operation to invoke on the processmessage
- the input messageServerException
- if the process does not exist or if there was a problem with the invocation.java.rmi.RemoteException
- if there was a problem connecting to the j2ee server.public void post(java.lang.String processId, java.lang.String revisionTag, java.lang.String operationName, NormalizedMessage message) throws ServerException, java.rmi.RemoteException
This method will invoke the specified revision of the BPEL process. If revisionTag
is null, the default process will be invoked.
processId
- the BPEL process identifierrevisionTag
- the BPEL process revision tagoperationName
- the operation to invoke on the processmessage
- the input messageServerException
- if the process does not exist or if there was a problem with the invocation.java.rmi.RemoteException
- if there was a problem connecting to the j2ee server.public void post(java.lang.String processId, java.lang.String revisionTag, java.lang.String partnerLinkName, java.lang.String roleName, java.lang.String operationName, NormalizedMessage message) throws ServerException, java.rmi.RemoteException
If the post will result in an instance being created the partner link and role names are ignored. The current implementation can only support a single instance creating activity. If the post is a callback to an existing instance, the partner link and role names will be used to properly correlate the post to the receiving activity.
processId
- the BPEL process identifierrevisionTag
- the BPEL process revision tagpartnerLinkName
- name of the partner link that includes the port type that has this operationroleName
- name of the role in the partner link that uses the port type that has this operationoperationName
- the operation to invoke on the processmessage
- the input messageServerException
- if the process does not exist or if there was a problem with the invocation.java.rmi.RemoteException
- if there was a problem connecting to the j2ee server.public void post(java.lang.String processId, java.lang.String revisionTag, java.lang.String partnerLinkName, java.lang.String roleName, java.lang.String operationName, NormalizedMessage message, java.util.Map headers) throws ServerException, java.rmi.RemoteException
post( String, String, String, String, String, NormalizedMessage )
but allows the user to pass in SOAP headers with the message.processId
- the BPEL process identifierrevisionTag
- the BPEL process revision tagpartnerLinkName
- name of the partner link that includes the port type that has this operationroleName
- name of the role in the partner link that uses the port type that has this operationoperationName
- the operation to invoke on the processmessage
- the input messageheaders
- a Map of header messages keyed by the message type QNameServerException
- if the process does not exist or if there was a problem with the invocation.java.rmi.RemoteException
- if there was a problem connecting to the j2ee server.
|
Oracle BPEL Process Manager Client API Reference 10g Release 2 (10.1.2) B25709-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |