![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
To create a new SOA project instead of using the pre configured one, proceed with Task C through Task I.For detailed information about configuring the Environment for TIBCO ActiveMatrix, refer to Configuring the Environment for TIBCO ActiveMatrix.To import the Adapter project, the SOA project, and the TIBCO Designer project into the TIBCO Business Studio, refer to Importing the Projects into TIBCO Business Studio.The Adapter project SBLAdapterSubSample, the SOA project SBLAdapterSubSOASample, and the TIBCO Designer project SBLAdapterSubBWSample must be imported into your workspace for this example.If you want to create a new SOA project and a new TIBCO Designer project instead of using the pre configured ones, proceed with the following tasks.Task C Creating an SOA Project
2. Select File > New > Project... from the Menu to open the New Project dialog.
3.
4.
5. Click the Finish button.
1. Select File > New > Project from the Menu to open the New Project dialog.
2. Select TIBCO Designer > TIBCO Designer Project in the Select a wizard page, and then click the Next button.
3. Type SiebelAdapterSubBWSample in the Project name field, and select the Create new project in the workspace radio button.
1. Click the Finish button.Task E Generating the Adapter WSDLBefore performing this task, make sure all the settings for the SiebelAdapterSubSample project are correct.
1. In the Project Explorer Panel, right-click SiebelAdapterConfiguration.adsblmodel under the imported Adapter project SiebelAdapterSubSample.
2. Select Generate Adapter WSDL from the pop-up menu.
3. In the Target Project dialog, select SiebelAdapterSubSOASample as the matching resource.
4. Click the OK button.
1. In the Project Explorer Panel, select the newly created TIBCO Designer project SiebelAdapterSubBWSample.
2. Select File > Import... from the Menu to open the Import dialog.
3.
4. Click the Browse button to locate the SOA project SiebelAdapterSubSOASample in the From directory drop-down list, and check the schema checkbox in the left pane.
5. Click the Finish button.Task G Configuring the SOA Project
1. In the Project Explorer Panel, select the SOA project SiebelAdapterSubSOASample, expand the Composites folder, and then double-click SiebelAdapterSubSOASample.composite to launch the Composite Editor on the right.Drag the SiebelAdapter component from the Palette to the Components column and enter SiebelAdapterComp as the component name.In the Properties view, click the Services tab and then click the Add button to open the Resource Picker dialog. Expand the tree in the left pane to select the appropriate adapter endpoint, and then click the Add button to add it into the Selected Adapter Endpoint pane on the right. Click the OK button and the added service will appear under the Services tab. The services pre-configured in the Adapter project SBLAdapterSubSample are as follows:sub_buscomp — Siebel Business Componentssub_intcomp — Siebel Integration Componentssub_workflow — Invoke Siebel Workflowsub_businessService — Invoke Siebel Business Service
− Drag the BusinessWorks component from the Palette to the Components column and enter BWComp as the component name.
− Click the Implementation tab and click Browse next to the BW Project field to select the SiebelAdapterSubBWSample.
− Click the Reference tab in the Properties view.Click Add to open the Add Partner Dialog. Expand the SiebelAdapterSubBWSample tree and select the sub_buscomp under SiebelAdapterConfiguration.wsdl. Click Finish to add it.Click the radio button next to SiebelAdapterComp->sub_buscomp to draw a wire between the BWComponent component and the SiebelAdapterComp component.
− A BusinessWorks process SiebelAdapterConfiguration_sub_buscomp.process is automatically created under the TIBCO Designer project SiebelAdapterSubBWSample.
a. In the Project Explorer Panel, right-click the Shared Resources folder under the SiebelAdapterSubSOASample project, select New > EMS from the pop-up menu and then click the Finish button.
− Double click SiebelAdapterSubSOASample.composite under the Composite folder.
− Click the canvas in the Composite Editor to open the Composite Properties Views panel which will appear under the Composite Editor.
− Click the Shared Resource Profiles tab to add the shared resource.
− Click the Save button to save your configuration.
− Drag a JMS Service from the Palette to the Services column and name it JMS_sub_intcomp.
− Click the Target tab and click the radio button next to SiebelAdapterComp->sub_intcomp to draw a wire between the JMS_sub_intcomp service and the SiebelAdapterComp component.
− Click the Binding tab to add the shared resource profile in the Endpoint pane.
a. In the Project Explorer Panel, right-click the Shared Resources folder under the SiebelAdapterSubSOASample project, select New > EMS from the pop-up menu and then click the Finish button.
− Double click SiebelAdapterSubSOASample.composite under the Composite folder.
− Click the canvas in the Composite Editor to open the Composite Properties Views panel which will appear under the Composite Editor.
− Click the Shared Resource Profiles tab to add the shared resource.
− Click the Save button to save your configuration.
− Drag a JMS Service from the Palette to the Services column and name it JMS_sub_workflow.
− Click the Target tab and click the radio button next to SiebelAdapterComp->sub_workflow to draw a wire between the JMS_sub_workflow service and the SiebelAdapterComp component.
− Click the Binding tab to add the shared resource profile in the Endpoint pane.
a. In the Project Explorer Panel, right-click the Shared Resources folder under the SiebelAdapterSubSOASample project, select New > EMS from the pop-up menu and then click the Finish button.
− Double click SiebelAdapterSubSOASample.composite under the Composite folder.
− Click the canvas in the Composite Editor to open the Composite Properties Views panel which will appear under the Composite Editor.
− Click the Shared Resource Profiles tab to add the shared resource.
− Click the Save button to save your configuration.
− Drag a JMS Service from the Palette to the Services column and name it sub_businessService.
− Click the Target tab and click the radio button next to SiebelAdapterComp->sub_businessService to draw a wire between the sub_businessService service and the SiebelAdapterComp component.
− Click the Binding tab to add the shared resource profile in the Endpoint pane.Task H Configuring the BusinessWorks Process in the TIBCO Designer ProjectIn Task F, the BusinessWorks process, SiebelAdapterConfiguration_sub_buscomp.process, was generated in the TIBCO Designer project.
1. Double-click SiebelAdapterConfiguration_sub_buscomp.process to open the Editor View on the right pane.
2. Change the Start activity to the HTTP Receiver activity.
a.
b. Right-click the Editor View pane and select Add Resource > Service > HTTP Receiver from the pop-up menu. Ensure that the default Start activity has been changed, otherwise, it will not work.
c. Click the HTTP Receiver activity to open the Configuration View panel. Configure HTTP Connection, name and location for Parameters in this panel.
a. Drag a Invoke Partner activity from the Palettes panel into the process.
b.
4.
1.
2.
3. Click the JMS Queue Sender activity to open the Configuration View panel. Configure JMS Connection and Destination Queue in this panel.
4.
1. Create a process JMS_sub_workflow.process under the TIBCO Designer project SiebelAdapterSubBWSample.
2.
3. Click the JMS Queue Sender activity to open the Configuration View panel. Configure JMS Connection and Destination Queue in this panel.
4.
1. Create a process JMS_sub_businessService.process under the TIBCO Designer project SiebelAdapterSubBWSample.
2. Double click JMS_sub_businessService.process and create a JMS Queue Sender activity for the process.
3. Click the JMS Queue Sender activity to open the Configuration View panel. Configure JMS Connection and Destination Queue in this panel.
4.
1. In the Project Explorer, select the SiebelAdapterSubSOASample project.
2. Right-click the composite file SiebelAdapterSubSOASample.composite, and then select Service Assembly from the pop-up menu. Save the composite if prompted.
3. Expand the Deployment Packages folder, right-click SiebelAdapterSubSOASample.saf, and then select Build Archive from the pop-up menu. Save the file if prompted.After completing the building process, you can see an SiebelAdapterSubSOASample.zip file which has been created in the Deployment packages folder. This is the SA Project to be deployed to TIBCO ActiveMatrix Administrator.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |