Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 5 RPCC Service Example : Setting Up the Example

Setting Up the Example
To set up the environment for the example, you need to complete the following tasks:
To create a new SOA project instead of using the pre configured one, proceed with Task C through Task I.
 
Task A Configuring the Environment for TIBCO ActiveMatrix
For detailed information about configuring the Environment for TIBCO ActiveMatrix, refer to Configuring the Environment for TIBCO ActiveMatrix.
Task B Importing the Adapter Project, SOA Project, and TIBCO Designer Project
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 SBLAdapterRPCCSample, the SOA project SBLAdapterRPCCSOASample, and the TIBCO Designer project SBLAdapterRPCCBWSample 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
To create a new SOA project, follow these steps:
1.
2.
Select File > New > Project... from the Menu to open the New Project dialog.
3.
Expand TIBCO ActiveMatrix > ActiveMatrix SOA Project, and then click the Next button.
4.
Type SiebelAdapterRPCCSOASample in the Project name field, and then click the Next button.
5.
Click the Finish button.
Task D Creating a TIBCO Designer Project
To create a TIBCO Designer Project, follow these steps:
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 SiebelAdapterRPCCBWSample 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 WSDL
Before performing this task, make sure all the settings for the SiebelAdapterRPCCSample project are correct.
To generate the adapter WSDL file, follow these steps:
1.
In the Project Explorer Panel, right-click SiebelAdapterConfiguration.adsblmodel under the imported Adapter project SiebelAdapterRPCCSample.
2.
Select Generate Adapter WSDL from the pop-up menu.
3.
In the Target Project dialog, select SiebelAdapterRPCCSOASample as the matching resource.
4.
Click the OK button.
Task F Importing Resources to the TIBCO Designer Project
To import resources to the newly created TIBCO Designer Project, follow these steps:
1.
2.
Select File > Import... from the Menu to open the Import dialog.
3.
Expand the General folder and select File System, and then click the Next button.
4.
Click the Browse button to locate the SOA project SiebelAdapterRPCCSOASample 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
To configure the SOA project, follow these steps:
1.
In the Project Explorer Panel, select the SOA project SiebelAdapterRPCCSOASample, expand the Composites folder, and then double-click SiebelAdapterRPCCSOASample.composite to launch the Composite Editor on the right.
2.
Drag the SiebelAdapter component from the Palette to the Components column and enter SiebelAdapter as the component name.
3.
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 SBLAdapterRPCCSample are as follows:
rpccBusComp — Query Siebel Business Components
rpccNSBusComp — Query Non Siebel Business Component
rpccIntComp — Query Siebel Integration Components
rpccIntObj — Query Siebel Complete Integration Object
4.
In the Project Explorer Panel, right-click the Shared Resources folder under the SiebelAdapterRPCCSOASample project, select New > EMS from the pop-up menu, and then click the Finish button.
5.
a.
Double click SiebelAdapterRPCCSOASample.composite under the Composite folder.
b.
c.
Click the Shared Resource Profiles tab to add the shared resource.
d.
Click the Save button to save your configuration.
6.
To configure RPCC Services of different types, proceed with the following steps.
RPCC Service of Query Siebel Business Components
a.
Drag a JMS Service from the Palette to the Services column and name it RPCCBusCompJMS.
b.
Click the Target tab and click the radio button next to SiebelAdapter->rpccBusComp to draw a wire between the RPCCBusCompJMS service and the SiebelAdapter component.
c.
Click the Binding tab to add the shared resource profile in the Endpoint pane.
RPCC Service of Query Siebel Integration Components
a.
Drag a JMS Service from the Palette to the Services column and name it RPCCIntCompJMS.
b.
Click the Target tab and click the radio button next to SiebelAdapter->rpccIntComp to draw a wire between the RPCCIntCompJMS service and the SiebelAdapter component.
c.
Click the Binding tab to add the shared resource profile in the Endpoint pane.
RPCC Service of Query Non Siebel Business Component
a.
Drag a JMS Service from the Palette to the Services column and name it RPCCNSBusCompJMS.
b.
Click the Target tab and click the radio button next to SiebelAdapter->rpccNSBusComp to draw a wire between the RPCCNSBusCompJMS service and the SiebelAdapter component.
c.
Click the Binding tab to add the shared resource profile in the Endpoint pane.
RPCC Service of Query Siebel Complete Integration Object
a.
Drag a JMS Service from the Palette to the Services column and name it RPCCIntObjJMS.
b.
Click the Target tab and click the radio button next to SiebelAdapter->rpccIntObj to draw a wire between the RPCCIntObjJMS service and the SiebelAdapter component.
c.
Click the Binding tab to add the shared resource profile in the Endpoint pane.
Task H Configure the BusinessWorks Process in the TIBCO Designer Project
For different RPCC service types, proceed with the following steps.
RPCC Service of Query Siebel Business Components
1.
Create a process JMS_rpccBusComp.process under the TIBCO Designer project SiebelAdapterRPCCBWSample.
2.
Double-click JMS_rpccBusComp.process to open the Editor View on the right pane.
3.
Change the Start activity to the JMS Queue Receiver activity.
a.
Right-click the Editor View pane and select Add Resource > Service > JMS Queue Receiver from the pop-up menu. Ensure that the default Start activity has been changed, otherwise, it will not work.
b.
Click the JMS Queue Receiver activity to open the Configuration View panel. Configure JMS Connection and Destination Queue in this panel.
4.
Create a Reply to JMS Message activity for the process.
a.
Drag a Reply to JMS Message activity from the Palettes panel into the process.
b.
Configure Reply to and Message Type in the configuration tab
c.
Configure the schema for the Reply to JMS Message activity.
5.
Connect the JMS Queue Receive, Reply to JMS Message and End activities.
RPCC Service of Query Siebel Integration Components
1.
Create a process JMS_rpccIntComp.process under the TIBCO Designer project SiebelAdapterRPCCBWSample.
2.
Double-click JMS_rpccIntComp.process to open the Editor View on the right pane.
3.
Change the Start activity to the JMS Queue Receiver activity.
a.
Right-click the Editor View pane and select Add Resource > Service > JMS Queue Receiver from the pop-up menu. Ensure that the default Start activity has been changed, otherwise, it will not work.
b.
Click the JMS Queue Receiver activity to open the Configuration View panel. Configure JMS Connection and Destination Queue in this panel.
4.
Create a Reply to JMS Message activity for the process.
a.
Drag a Reply to JMS Message activity from the Palettes panel into the process.
b.
Configure Reply to and Message Type in the configuration tab
c.
Configure the schema for the Reply to JMS Message activity.
5.
Connect the JMS Queue Receive, Reply to JMS Message and End activities.
RPCC Service of Query Non Siebel Business Component
1.
Create a process JMS_rpccNSBusComp.process under the TIBCO Designer project SiebelAdapterRPCCBWSample.
2.
Double-click JMS_rpccNSBusComp.process to open the Editor View on the right pane.
3.
Change the Start activity to the JMS Queue Receiver activity.
a.
Right-click the Editor View pane and select Add Resource > Service > JMS Queue Receiver from the pop-up menu. Ensure that the default Start activity has been changed, otherwise, it will not work.
b.
Click the JMS Queue Receiver activity to open the Configuration View panel. Configure JMS Connection and Destination Queue in this panel.
4.
Create a Reply to JMS Message activity for the process.
a.
Drag a Reply to JMS Message activity from the Palettes panel into the process.
b.
Configure Reply to and Message Type in the configuration tab
c.
Configure the schema for the Reply to JMS Message activity.
5.
Connect the JMS Queue Receive, Reply to JMS Message and End activities.
RPCC Service of Query Siebel Complete Integration Object
1.
Create a process JMS_rpccIntObj.process under the TIBCO Designer project SiebelAdapterRPCCBWSample.
2.
Double-click JMS_rpccIntObj.process to open the Editor View on the right pane.
3.
Change the Start activity to the JMS Queue Receiver activity.
a.
Right-click the Editor View pane and select Add Resource > Service > JMS Queue Receiver from the pop-up menu. Ensure that the default Start activity has been changed, otherwise, it will not work.
b.
Click the JMS Queue Receiver activity to open the Configuration View panel. Configure JMS Connection and Destination Queue in this panel.
4.
Create a Reply to JMS Message activity for the process.
a.
Drag a Reply to JMS Message activity from the Palettes panel into the process.
b.
Configure Reply to and Message Type in the configuration tab
c.
Configure the schema for the Reply to JMS Message activity.
5.
Connect the JMS Queue Receive, Reply to JMS Message and End activities.
Task I Creating the Service Assembly
To create the service assembly, follow these steps:
1.
In the Project Explorer, select the SiebelAdapterRPCCSOASample project.
2.
Right-click the composite file SiebelAdapterRPCCSOASample.composite, and then select Service Assembly from the pop-up menu. Save the composite if prompted.
3.
Expand the Deployment Packages folder, right-click SiebelAdapterRPCCSOASample.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 SiebelAdapterRPCCSOASample.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