WebSphere Adapter for Siebel Business Applications

Testing the Insert operation

Test the execution of the Insert operation against the business service, Siebel Account, by using the WebSphere Integration Developer integration test client.

Before you begin

The module must be deployed to the project test environment.

About this task

You must test the module in the project test environment to ensure that it works properly.

How to perform this task

  1. From the Business Integration profile, select the Siebel_BS_OutboundApp module.
  2. Right-click on the Siebel_BS_OutboundApp module and select Test > Test Module.
  3. From the Events window, select the insertSiebelAccountInsertAccountInterface operation against the Operation property.
  4. Right-click the SiebelMessage attribute and click Add Element.
    Figure 1. Adding an element
    This image is described in the surrounding text.
  5. Set the values as needed against the attributes of the SiebelMessage element.

    Note: Under the SiebelMessage instance (of IOAccountInterfaceICAccount type), the attributes, Name, PrimaryOrganization, RelatedOrganization, RelatedSalesRep, Location, and CurrencyCode, are mandatory attributes that must have values set. For the remaining ones, there is no need to set the values unless there is a specific need in your environment to set the attributes.

    The values provided below are samples that may or not be valid in your environment. You can get the valid values for the attributes by checking existing enterprise information system records for the Account integration object.

    Table 1. Sample attribute values
    Attribute Attribute value
    CurrencyCode USD
    Location Burlingame
    Name TestSample
    PrimaryOrganization (This can be blank or contain the name of the organization)
    RelatedOrganization The attribute, Organization, should be set to the value, Default Organization.
    RelatedSalesRep

    The attribute, Login, should be set the value, sadmin.

    The attribute, Position, should be set the value, Siebel Administrator.

  6. For the container attributes under the SiebelMessage instance, select the null value, <null> for the container attributes (mandatory) under the SiebelMessage instance, with the exception of the attributes, RelatedOrganization and RelatedSalesRep.
  7. Set the rest of the simple non-required attributes to <unset>.
    1. To set the attribute, select one or more attributes.
    2. Right-click and select, Set-value.
    3. Enter the value, <null>.
  8. In the SiebelAccountInsertAccountInterfacewindow status-object attribute, set the value to <unset>, click OK and click Continue.
  9. To execute the operation, select the appropriate WebSphere Process Server instance, and click Finish.
    Figure 2. Selecting the deployment location
    This image is described in the surrounding text.

When the execution of the insert operation is successfully completed, the resultant business object with the key values that were filled in are returned, shown in the following figure. Make note of the AccountId key value because it is used later to clear the sample content that you created.

For Insert, the result object might only contain key field values, which means common non-key field values might be null. This will depend on the Siebel method design.

Figure 3. Business objects showing key value examples
This image is described in the surrounding text.

What to do next

Test the QueryByExample operation.


Terms of use |

Last updated: Mon 30 Oct 2006 03:37:38

(c) Copyright IBM Corporation 2005, 2006.
This information center is powered by Eclipse technology (http://www.eclipse.org)