The schema used in the examples for the customer business object is shown next:
CustomerClass { int CustomerID; BSTR Name; BSTR Remarks; ContactDetails { BSTR Adderess1; BSTR City; BSTR State; BSTR Country; BSTR PIN; BSTR Email; } BusinessContact { BSTR Organization; BSTR URI; BSTR Phone; BSTR FAX; } DomainIdentities { BSTR Domain; BSTR Identities; } }
The Get
operation demonstrates a Request-Response scenario.
To retrieve a customer record:
Customer
.Get
. The Get Customer Details page is displayed.Customer ID
field or use the default.ENTRY NOT FOUND
is displayed on the html page.
The Insert-Update
operation demonstrates a Request-Response scenario.
To insert or update a customer record:
Customer
.Insert-Update
. The Customer Insert_Update page is displayed.Customer ID
field or use the default.INSERTED ENTRY
, is displayed on the html page. If the record exists, it is updated and the status UPDATED ENTRY
is displayed on the html page.
The delete
operation demonstrates a Request-Response scenario.
To delete a customer record:
Customer
.Delete
. The Delete Customer Details page is displayed.Customer ID
field or use the default.DELETED ENTRY
is displayed on the html page. If the customer record does not exist, the status ENTRY NOT FOUND
is displayed on the html page.
The Sync
operation demonstrates a Publication scenario. TIBCO BusinessWorks listens to the publish events related to the customer business object, and displays this information on the browser when you use the Sync
operation.
The Sync
operation is only available for the TIBCO BusinessWorks examples.
To publish a customer record:
TIBCO Adapter™ for COM Examples Guide Software Release 5.3, September 2005 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |