| Package | com.adobe.idp.dsc.clientsdk |
| Class | public final class ServiceClient |
| Inheritance | ServiceClient Object
|
ServiceClient object to programmatically invoke an orchestrated service. For information, see Invoking LiveCycle Services.
| Method | Defined by | ||
|---|---|---|---|
|
FaultResponse createFaultReponse(String invocationId)
Creates the
FaultResponse object that is used for a long-lived operation. | ServiceClient | ||
|
InvocationResponse createInvocationReponse(String invocationId)
Creates an
InvocationResponse object to complete a long-lived operation. | ServiceClient | ||
|
Invokes a specific LiveCycle service operation by sending it an invocation request.
| ServiceClient | ||
|
void sendFaultReponse(FaultResponse faultResponse)
Sends a
FaultReponse instance to a long-lived operation. | ServiceClient | ||
|
void sendInvocationResponse(InvocationResponse response)
Sends an invocation response to complete a long-lived operation invocation.
| ServiceClient | ||
| createFaultReponse | () |
public FaultResponse createFaultReponse(String invocationId)Creates the FaultResponse object that is used for a long-lived operation.
Parameters
invocationId — A string value that specifies an invocationId value. |
FaultResponse A FaultResponse object that is used for a long-lived operation. |
| createInvocationReponse | () |
public InvocationResponse createInvocationReponse(String invocationId)Creates an InvocationResponse object to complete a long-lived operation. This method validates that the invocationId value matches an existing long-lived operation and the operation is in a running state.
Parameters
invocationId — A string value that specifies an invocationId value. |
InvocationResponse An InvocationResponse instance that completes a long-lived operation. |
| invoke | () |
public InvocationResponse invoke(InvocationRequest aInvocationRequest)Invokes a specific LiveCycle service operation by sending it an invocation request. The current implementation only supports RMI protocol.
Parameters
aInvocationRequest — An InvocationRequest object that represens the invocation request to send to a LiveCycle service. |
An InvocationResponse object that contains the operation results if the operation is invoked synchronously. If the operation is invoked asynchronously, then the InvocationResponse object contains the job identifier value. |
DSCException — If the operation fails. |
|
DSCRuntimeException — If the invocation request is not successfully sent to the LiveCycle service. |
| sendFaultReponse | () |
public void sendFaultReponse(FaultResponse faultResponse)Sends a FaultReponse instance to a long-lived operation.
Parameters
faultResponse — A FaultReponse instance to send to a long-lived operation. |
| sendInvocationResponse | () |
public void sendInvocationResponse(InvocationResponse response)Sends an invocation response to complete a long-lived operation invocation.
Parameters
response — An InvocationResponse object that represents an invocation response. |
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/javadoc/com/adobe/idp/dsc/clientsdk/ServiceClient.html