Programming Guides › Programming Guide for Java › Task Execution Web Service › Task Operation Types › A Task Operations Example
A Task Operations Example
The following remote web service calling sequence demonstrates the WSDL operations required to complete the Modify User task:
- A search operation retrieves a list of objects that match the specified search criteria (for example, LastName=Smith).
The WSDL operation to call is ModifyUserSearch.
- Programming logic in the client application selects a particular object from the list of returned objects (for example, the user object for John Smith). The selected object is the subject of the task.
- A query operation retrieves profile and relationship information for the object selected in step 2. The query operation specifies the object to retrieve through information (such as a unique name) specified in the <Filter> or <Subject> element. Typically, the specified information includes information returned from the search operation.
The WSDL operation to call is ModifyUserQuery.
- Once the object information is retrieved through the query, the information can be managed in the task.
The client application modifies one or more of the attribute values retrieved in the query.
- The client application submits the remote request. If the request is submitted successfully, the task enters the asynchronous phase for task processing.
The WSDL operation to call is ModifyUser.
Copyright © 2013 CA.
All rights reserved.
|
|