In this section: |
You can create service schemas for Business Services, Business Components, and Integration Objects using iWay Explorer. For information on creating schemas for Integration Objects, see Creating an XML Schema for a Siebel Integration Object.
The following topic describes how to create schemas for the adapter when you deploy the iWay Application Adapter for Siebel for use in a Service Manager environment or an iWay Business Services environment.
If you plan to deploy the iWay Application Adapter for Siebel in a web services environment, see also Creating iWay Business Services.
Once you have connected to your Siebel target, you can browse the available Siebel Business Components using iWay Explorer and create an XML schema directly.
However, if you want to browse metadata for Siebel Business Services, create an XML schema or publish a WSDL file for a specific Siebel Business Service method, you must consider the following:
For more information on adding a Service Node, see How to Create a Service Node.
Once a Service Node is added, you can continue to browse metadata, create an XML schema, or publish a WSDL file for the Siebel Business Service.
For more information, see Creating an XML Schema for a Siebel Business Component or Siebel Business Service.
After you create a schema, you can use it to generate service request and response schemas for the Business Service or Business Component.
Siebel Business Objects contain one or more Siebel Business Components. You can view Business Components by clicking the associated Business Object.
The following image shows the Account Business Object node expanded to display all Business Components beneath it.
To generate service request and response schemas for a Business Component:
You can also use the Search feature to find a particular Business Component or Business Service. For more information, see How to Search for a Specific Siebel Object.
For a Business Component, expand the Business Object node, then expand the Business Component you want, then expand the node you want, and select the method for which you want to create a schema.
The following image shows the Account Business Component expanded to reveal the Account node and all the available methods. This node is expanded with the Insert method selected.
The following groups of methods are available for each Business Component:
Standard Methods - Provide basic functionality to integrate with Siebel.
For more information about the QueryEx method, see Using the QueryWithView and QueryEx Methods.
RPC Methods - Issue a simple Remote Procedure Call (RPC) to integrate with Siebel.
View Mode Methods - Specify a specific Siebel view level to use during integration with Siebel. Views in Siebel are used for data access control.
In Siebel systems, each record is assigned to a team of members. Your user role must be defined as a team member of a record. If you want to access a record, but you are not a team member of that record, you must use a view mode method and specify a specific Siebel view level (for example, Sales Rep View, Manager View, Personal View, etc.).
For a list of available Siebel view levels and more information about the QueryWithView method, see Using the QueryWithView and QueryEx Methods.
Business Component System Attributes
When an XML schema is generated for a Business Component, the iWay Application Adapter for Siebel automatically adds the following system attributes to each schema:
The type of method that is used to generate the XML schema determines whether the system attributes are added to the request or response schema and also their specific location within the schema.
Insert and InsertRPC Methods
No systems attributes are added for the request schema. However, the response schema includes a ROW_ID attribute and the ID is returned during run time.
Update and UpdateRPC Methods
The system attributes are added to the select section of the request schema. For example:
UpdateWithView Method
The response schema includes the ROW_ID, Updated, and Updated_By attributes. These values are returned during run time.
Delete and DeleteRPC Methods
The system attributes are added to the select section of the request schema. For example:
DeleteWithView Method
The system attributes are added to the select section of the request schema. For example:
In addition, the response schema includes a ROW_ID attribute and the ID is returned during run time.
Query, QueryWithView, and QueryRPC Methods
The system attributes are added to the request and response schema.
For a Siebel Business Service, expand the Business Service node containing the object for which you want to create schema.
The following image shows the Simple Add Account Business Service expanded with the addAccount object selected.
iWay Explorer accesses the Siebel repository and builds schemas.
The following image shows the Schemas table that appears on the right and has three columns, labeled Part, Root Tag, and Schema. The Schema column provides the locations of the schemas. There are three rows: Request, Response, and Event.
The following image shows the XML schema that appears in the right pane.
For more information on where the schemas are stored, see Locating Schemas.
You can use the search function in iWay Explorer to locate a Siebel object or node quickly.
The following image shows Business Object selected in the left pane.
The following image shows the Search feature that appears in the right pane. It has a search path input area.
The following image shows the search results that appear when a search for Account is conducted against the Siebel Business Objects.
iWay Explorer locates the node you select, for example, Account.
Before viewing Business Service metadata, you must add a Service Node if the Business Service method has a method argument of type hierarchy.
To create a Service Node:
The Add Service Node pane opens on the right, as shown in the following image.
Perform the following steps:
For more information on creating a Siebel XDR or XSD schema using Siebel Tools, see Creating a Siebel XDR or XSD Schema.
The Service Node is created and appears in the left pane within the folder you selected earlier, for example, IntObjHierToXMLDoc.
You will need to persist the Service Node you just created by refreshing your target to Siebel.
You can now generate an XML schema based on this Service Node.
For more information on how to generate an XML schema, see Creating a Schema for a Siebel Business Component or Siebel Business Service.
iWay Software |