![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
To create a new SOA project instead of using the pre configured one, proceed with Task D through Task J.Task A Preparing PeopleSoftFor detailed information about preparing PeopleSoft, refer to TIBCO ActiveMatrix Adapter Service Engine for PeopleSoft Configuration and Deployment.For detailed information about configuring the Environment for TIBCO ActiveMatrix, refer to Configuring the Environment for TIBCO ActiveMatrix.Task C Importing an Adapter Project, SOA Project and TIBCO Designer ProjectTo 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 PSAdapterCIPubSample, the SOA project PSAdapterCIPubSOASample and the TIBCO Designer project PSAdapterCIPubBWSample 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 D 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 PSAdapterCIPubBWSample in the Project name field, and select the Create new project in the workspace radio button.
4. Click the Finish button.Task F Generating the Adapter WSDLBefore performing this task, make sure all the settings for the PSAdapterPubSample project are correct.
1. In the Project Explorer Panel, right-click PeopleSoftAdapterConfiguration.adpsft8model under the imported Adapter project PSAdapterCIPubSample.
2. Select Generate Adapter WSDL from the pop-up menu.
3. In the Target Project dialog, select PSAdapterCIPubSOASample as the matching resource.
4. Click the OK button.
1. In the Project Explorer Panel, select the newly created TIBCO Designer project PSAdapterCIPubBWSample.
2. Select File > Import... from the Menu to open the Import dialog.
3.
4. Click the Browse button to locate the SOA project PSAdapterCIPubSOASample in the From directory drop-down list, and check the PeopleSoftAdapterConfiguration_genresources and schema checkboxes in the left pane.
5. Click the Finish button.Task H Configuring the SOA Project
1. In the Project Explorer Panel, select the SOA project PSAdapterCIPubSOASample, expand the Composites folder, and then double-click PSAdapterCIPubSOASample.composite to launch the Composite Editor on the right.
a. Drag the PeoplesoftAdapter component from the Palette to the Components column and enter PSAdapterComp as the component name.
b. 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 and select the adapter endpoint COUNTRY, 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.
a. Drag the BusinessWorks component from the Palette to the Components column and enter BWComp as the component name.
b. Click the Reference tab in the Properties view.Click the Add button to add the service reference that you have imported in Task G. The BusinessWorks process, PeopleSoftAdapterConfiguration_COUNTRY.process, will now be generated in the TIBCO Designer project.Click the radio button next to PSAdapterComp->COUNTRY to draw a wire between the BWComp component and the PSAdapterComp component.In Task H, the BusinessWorks process, PeopleSoftAdapterConfiguration_COUNTRY.process, was generated in the TIBCO Designer project.
1. Double-click PeopleSoftAdapterConfiguration_COUNTRY.process to open the Editor View on the right pane.
a. Right-click the Editor View pane and select Add Resource > Service > Receive Partner Notification from the pop-up menu. Ensure that the default Start activity has been changed, otherwise, it will not work.
b. Click the Receive Partner Notification activity to open the Configuration View panel. Configure Partner and Operation in this panel.
a. Drag a Write File activity from the Palettes panel into the process.
b. Click the Write File activity to open the Configuration View panel.
c. In the Input tab, type "PubResult.txt" in the fileName field and fill in the textContent field with the following content:concat("<COUNTRY>",$Receive-Partner-Notification/ns1:COUNTRY_data/data/ns:COUNTRY/PROPERTIES/COUNTRY,"</COUNTRY><DESCR>",$Receive-Partner-Notification/ns1:COUNTRY_data/data/ns:COUNTRY/PROPERTIES/DESCR,"</DESCR><DESCRSHORT>",$Receive-Partner-Notification/ns1:COUNTRY_data/data/ns:COUNTRY/PROPERTIES/DESCRSHORT,"</DESCRSHORT><COUNTRY__2CHAR>",$Receive-Partner-Notification/ns1:COUNTRY_data/data/ns:COUNTRY/PROPERTIES/COUNTRY__2CHAR,"</COUNTRY__2CHAR><EU__MEMBER__STATE>",$Receive-Partner-Notification/ns1:COUNTRY_data/data/ns:COUNTRY/PROPERTIES/EU__MEMBER__STATE,"</EU__MEMBER__STATE><POST__SRCH__AVAIL>",$Receive-Partner-Notification/ns1:COUNTRY_data/data/ns:COUNTRY/PROPERTIES/POST__SRCH__AVAIL,"</POST__SRCH__AVAIL>")
d.
1. In the Project Explorer, select the PSAdapterCIPubSOASample project.
2. Right-click the composite file PSAdapterCIPubSOASample.composite, and then select Service Assembly from the pop-up menu. Save the composite if prompted.
3. Expand the Deployment Packages folder, right-click PSAdapterCIPubSOASample.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 PSAdapterCIPubSOASample.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 |