IBM E02HMLL-I Implementation Guide - Page 43
connectivity, application-specific, business, objects
View all IBM E02HMLL-I manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 43 highlights
then re-configure the connector definition to add support for the business object definitions and associate the required maps. See the guide for your adapter for information about its application-specific properties. See Chapter 7, "Configuring connectors," on page 121 for information about connector standard properties and information on how to use Connector Configurator. Test connectivity and application-specific business objects Once you have developed the application-specific business object and added support for it to a connector definition you should unit-test the business object to make sure that the connector can use it to exchange data with the application successfully. You do not need the generic objects, maps, or collaboration template that the interface will eventually use in order to perform this test. Do the following to unit-test an application-specific business object: 1. Create a pass-through collaboration template (see the Collaboration Development Guide) with the following design: v The collaboration template has two ports-one named From and one named To. v The From and To ports both support the application-specific business object definition. v The collaboration template has a single scenario named Main. v The From port is configured to be the triggering port for the Main scenario for all of the verbs belonging to the business object definition. v The Main scenario has the following elements: - A Start node that is connected to an Action node by a transition link. - A Service Call node that is attached to the Action node and that has the following characteristics: - The Port drop-down menu in the "Regular service call" pane is set to the To port. - The Verb drop-down menu in the "Regular service call" pane is set to the Create verb (or whatever the primary verb for the business object in question is). - The BO Variable field in the "Regular service call" pane is set to the value triggeringBusObj, which is the variable that can be used to reference the business object that triggers the collaboration. - An End Success node that is connected to the Action node by a transition link. For more information about creating collaboration templates, see the Collaboration Development Guide. 2. Configure the properties of the connector definition, add support for the business object definition, and enable the Agent Support checkbox for the business object definition. 3. Add support for the application-specific business object to another "dummy" connector definition. You do not have to configure this connector definition completely because you will only emulate it with testing tools. Ensure that the Agent Support checkbox is enabled for the business object definition. 4. If the connector is responsible for event notification, do the following: v Create a collaboration object based on the pass-through template with the connector to be tested bound to the From port and the "dummy" connector bound to the To port. Chapter 3. Developing business process interfaces 31