IBM E02HMLL-I Implementation Guide - Page 254
Sending, business, object, requests, synchronously, batch
![]() |
View all IBM E02HMLL-I manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 254 highlights
response business object is typically processed by the integration broker. The default mode for a Client Simulator view is asynchronous. To send a business object asynchronously, do the following: 1. Create the request business object instance, as described in "Creating request business objects" on page 241. 2. Click the down arrow in the right-hand corner of the title bar of the Client Simulator view and select Server > Mode > Asynchronous. Note: The Client Simulator view operates in "Asynchronous" mode by default, so you only have to perform this step if you previously were sending synchronous requests from the view. You do not have to set the mode before sending each request. 3. Do one of the following to send the request: v Click the down arrow in the right-hand corner of the title bar of the Client Simulator view and select Server > Send. v Click the Send BO button in the toolbar of the Client Simulator view. Sending business object requests synchronously When a source client sends a request business object synchronously, it expects to get back a response business object from the integration broker after any destination applications have processed the request. 1. Create the request business object instance, as described in "Creating request business objects" on page 241. 2. Click the down arrow in the right-hand corner of the title bar of the Client Simulator view and select Server > Mode > Synchronous to set the Client Simulator view to synchronous mode. 3. Do one of the following to send the request: v Click the down arrow in the right-hand corner of the title bar of the Client Simulator view and select Server > Send. v Click the Send BO button in the toolbar of the Client Simulator view. 4. When presented with the "Select Collaboration" dialog, select the collaboration to which the business object should be sent from the Collaboration drop-down menu and click OK. The business object request is sent to the configured port of the collaboration object chosen for processing. Sending business object requests in batch mode In batch mode, the Client Simulator view lets you specify the number of instances of a particular business object you want to send, as well as one attribute in the top-level object -a primary key attribute, for example-that you want set to a unique value for each instance. The Client Simulator view copies the business object as many times as you have specified, incrementing the value of the single attribute you specified for each instance, and then sends each instance. This option allows you to create a large number of business objects quickly and easily. If the selected attribute is a key field that participates in dynamic cross-referencing as part of an identity relationship, then you must guarantee that the initial value and all those that follow it are unique. Otherwise, the cross-referencing logic will fail, causing the request business objects to fail. To ensure that the values are unique, you can use Relationship Manager or execute SQL statements against the table for the relationship participant as follows. 242 IBM WebSphere Business Integration Server Express and Express Plus: System Implementation Guide
![](/manual_guide/products/ibm-e02hmlli-implementation-guide-69bfebe/254.png)