How to: |
For Business Components, the iWay Application Adapter for Siebel enables the following Query methods:
The Query method performs a standard query function using the Document Object Model (DOM).
The QueryRPC method performs a standard query function using a simple Remote Procedure Call (RPC).
The QueryWithView method allows you to specify a Siebel view mode as a parameter. The API parameters allow different presentations of data depending on the Siebel environment that you configured. If you want to enable a user to retrieve records based on different view modes, using the QueryWithView method is recommended.
The following view levels are available:
The QueryEx method allows you to create the request schema and response schema, and choose specific input and output fields from the Siebel system.
To create a simple query using the QueryEx method:
The Add Simple Query dialog box opens, as shown in the following image.
The following Add Simple Query dialog box opens, which prompts you for the input and output fields you want to query.
Note: Since this example is using only 1 input field and 1 output field, the Add Simple Query dialog box is configured accordingly.
The new simple query, for example, SampleQuery is added below the queryEx method node, as shown in the following image.
The request and response schemas for the new simple query (SampleQuery) are available in the right pane, as shown in the following image.
You can also create an iWay Business Service for the new simple query. For more information, see Creating iWay Business Services.
To delete a simple query using the QueryEx method:
The Remove Simple Query dialog box opens, as shown in the following image.
The simple query node, for example, SampleQuery, is removed from the left pane, as shown in the following image.
iWay Software |