|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.idp.dsc.clientsdk.ServiceClient
public final class ServiceClient
Enables a client application to invoke a Adobe Experience Manager forms service
by sending an invocation request and handling an invocation response. The recommended way to programmatically
invoke a Adobe Experience Manager forms service is to use a service's strongly-typed API as opposed to using this object.
However, not all Adobe Experience Manager forms services have a strongly-typed API. An orchestrated service does not have a
service client and as a result, you can use a ServiceClient
object to programmatically
invoke an orchestrated service. For information, see Invoking Adobe Experience Manager forms Services.
Method Summary | |
---|---|
com.adobe.idp.dsc.FaultResponse |
createFaultReponse(java.lang.String invocationId)
Creates the FaultResponse object that is used for a long-lived operation. |
InvocationResponse |
createInvocationReponse(java.lang.String invocationId)
Creates an InvocationResponse object to complete a long-lived operation. |
InvocationResponse |
invoke(InvocationRequest aInvocationRequest)
Invokes a specific Adobe Experience Manager forms service operation by sending it an invocation request. |
void |
sendFaultReponse(com.adobe.idp.dsc.FaultResponse faultResponse)
Sends a FaultReponse instance to a long-lived operation. |
void |
sendInvocationResponse(InvocationResponse response)
Sends an invocation response to complete a long-lived operation invocation. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public InvocationResponse createInvocationReponse(java.lang.String invocationId) throws com.adobe.idp.dsc.DSCException
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.
invocationId
- A string value that specifies an invocationId
value.
InvocationResponse
instance that completes a long-lived operation.
com.adobe.idp.dsc.DSCException
public com.adobe.idp.dsc.FaultResponse createFaultReponse(java.lang.String invocationId) throws com.adobe.idp.dsc.DSCException
FaultResponse
object that is used for a long-lived operation.
invocationId
- A string value that specifies an invocationId
value.
FaultResponse
object that is used for a long-lived operation.
com.adobe.idp.dsc.DSCException
public void sendFaultReponse(com.adobe.idp.dsc.FaultResponse faultResponse) throws com.adobe.idp.dsc.DSCException
FaultReponse
instance to a long-lived operation.
faultResponse
- A FaultReponse
instance to send to a long-lived operation.
com.adobe.idp.dsc.DSCException
public void sendInvocationResponse(InvocationResponse response) throws com.adobe.idp.dsc.DSCException
response
- An InvocationResponse
object that represents an invocation response.
com.adobe.idp.dsc.DSCException
public InvocationResponse invoke(InvocationRequest aInvocationRequest) throws com.adobe.idp.dsc.DSCException
aInvocationRequest
- An InvocationRequest
object that represens the invocation request to send to a Adobe Experience Manager forms
service.
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.
com.adobe.idp.dsc.DSCException
- If the operation fails.
com.adobe.idp.dsc.DSCRuntimeException
- If the invocation request is not successfully sent to the Adobe Experience Manager forms service.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |