How a Remote Request Is Processed
In this example, when a client application submits a ViewUserQuery request to the Task Execution Web Service, the following actions occur:
cim1268
In this example, when a client application submits a ViewUserQuery request to the Task Execution Web Service, the following actions occur:
- The client application gathers the required information. With ViewUserQuery, the required information consists of the following:
- The task tag
- The environment where the task is being submitted
- The unique identifier of the administrator who is submitting the task
- An identifier (such as a name or unique identifier) of the user whose profile information is being requested
- The application formats the SOAP request according to the XML element ViewUserQuery in the WSDL definition.
- The application sends the XML document to the Task Execution Web Service as an HTTP POST request.
- When the Task Execution Web Service receives the request, it instructs to execute the operation and returns the status and profile information in a SOAP response.
- Depending on the outcome of the request, the application processes the result (for example, displays the result in a custom UI) or takes an appropriate action based on any error information included in the result.
Note:
It is mandatory to add "Transaction_ID" tag for all the public tasks in TEWS request. Example: <wsdl:transaction_id>New</wsdl:transaction_id>