Query JD Edwards EnterpriseOne Customer Credit using Oracle BPEL Process Manager



Similar documents
Building an Agile PLM Web Application with JDeveloper and Agile 93 Web Services

Remote Viewer Recording Backup

Quick Start Guide. Installation and Setup

How do I use Citrix Staff Remote Desktop

Application. 1.1 About This Tutorial Tutorial Requirements Provided Files

Virtual Office Remote Installation Guide

ACT State Testing Online Services Tutorial

Terminal Four. Content Management System. Moderator Access

Weston Public Schools Virtual Desktop Access Instructions

TAMUS Terminal Server Setup BPP SQL/Alva

owncloud Configuration and Usage Guide

Using Remote Web Workplace Version 1.01

Transitioning from TurningPoint 5 to TurningPoint Cloud - LMS 1

Snow Active Directory Discovery

Kaldeera Workflow Designer 2010 User's Guide

WSDOT ProjectWise V8i Training 101

Business Process Management IBM Business Process Manager V7.5

Signup instructions for the End User

An Associate of the UOB Group A UTRADE FX ELITE QUICK START GUIDE

MiraCosta College now offers two ways to access your student virtual desktop.

Contents. VPN Instructions. VPN Instructions... 1

Dynamic DNS How-To Guide

Citrix Client Install Instructions

Disabling Microsoft SharePoint in order to install the OneDrive for Business Client

FlexSim LAN License Server

EBOX Digital Content Management System (CMS) User Guide For Site Owners & Administrators

Outlook Profile Setup Guide Exchange 2010 Quick Start and Detailed Instructions

Remote Desktop Services

Tutorial on Building a web Application with Jdeveloper using EJB, JPA and Java Server Faces By Phaninder Surapaneni

Exchange Outlook Profile/POP/IMAP/SMTP Setup Guide

Table of Contents. 1. Content Approval...1 EVALUATION COPY

Tutorial: BlackBerry Object API Application Development. Sybase Unwired Platform 2.2 SP04

Building Java Servlets with Oracle JDeveloper

QUANTIFY INSTALLATION GUIDE

CA Nimsoft Service Desk

How To Connect To A Wireless Network On Windows 7 (Windows 7) On A Pc Or Mac Or Ipad (Windows) On Pc Or Ipa (Windows 8) On Your Computer Or Mac (Windows). (Windows.7) On An

Integrating ConnectWise Service Desk Ticketing with the Cisco OnPlus Portal

ANYWHERE POLLING - POLLING WITH A QUESTION LIST

Instructions for Accessing the Hodges University Virtual Lab

Installing Microsoft Outlook on a Macintosh. This document explains how to download, install and configure Microsoft Outlook on a Macintosh.

Team Foundation Server 2012 Installation Guide

Note: With v3.2, the DocuSign Fetch application was renamed DocuSign Retrieve.

Manufacturing Representative SSL VDM Login User s Guide

Monitoring Oracle Enterprise Performance Management System Release Deployments from Oracle Enterprise Manager 12c

FTP Over SSL (FTPS) Core FTP LE. Installing Core FTP LE"

Online Statements. About this guide. Important information

UP L18 Enhanced MDM and Updated Protection Hands-On Lab

Building and Using Web Services With JDeveloper 11g

MultiSite Manager. User Guide

Initial Setup of Mozilla Thunderbird with IMAP for OS X Lion

SQL Server Setup for Assistant/Pro applications Compliance Information Systems

ECA IIS Instructions. January 2005

Remote Access Enhancements

Accessing vlabs using the VMware Horizon View Client for OSX

Guide to Using Citrix at SLU (Windows)

Windows Firewall Configuration with Group Policy for SyAM System Client Installation

Cloud Administration Guide for Service Cloud. August 2015 E

GRICdial User's Guide

OneLogin Integration User Guide

Microsoft Dynamics CRM Clients

Configuring Color Access on the WorkCentre 7120 Using Microsoft Active Directory Customer Tip

Configuring a Custom Load Evaluator Use the XenApp1 virtual machine, logged on as the XenApp\administrator user for this task.

Active Directory Integration

Zoho CRM and Google Apps Synchronization

Lab 05: Deploying Microsoft Office Web Apps Server

DocuSign Connect for Salesforce Guide

Setting up Remote Desktop

Tutorial: Mobile Business Object Development. SAP Mobile Platform 2.3

IBM Operational Decision Manager Version 8 Release 5. Getting Started with Business Rules

Scribe Online Integration Services (IS) Tutorial

Student Manager s Guide to the Talent Management System

Installing TestNav Mac with Apple Remote Desktop

QuickBooks Mac 2014 Getting Started Guide

Orchestrating Document and Media Management using CMIS

UF Health SharePoint 2010 Introduction to Content Administration

Initial Setup of Microsoft Outlook 2011 with IMAP for OS X Lion

Enterprise Reporting Advanced Web Intelligence Training. Enterprise Reporting Services

Installation Guide. Research Computing Team V1.9 RESTRICTED

Integrating Oracle Sales Cloud, Release 9 with JD Edwards EnterpriseOne release 9.1 Implementation Guide

Introduction Download and Install Mobile Application About Logging In Springboard Navigation List Pages...

NextGen Setup Guide First-time Workstation Setup & Logging In

SchoolMessenger for iphone

Shavlik Patch for Microsoft System Center

Guide to Automating Workflows Quickly and Easily

User Guide Microsoft Exchange Remote Test Instructions

DATA SHEET Setup Tutorial

Registering the Digital Signature Certificate for Bank Officials

New Participant Digital Certificate Enrollment Procedure

LogMeIn Network Console Version 8 Getting Started Guide

Publishing, Consuming, Deploying and Testing Web Services

Affiliated Provider Billing/Coding

Reading Wonders Training Resource Guide

For Mac User Directions, see page 5

Hamline University Administrative Computing Page 1

SHC Client Remote Access User Guide for Citrix & F5 VPN Edge Client

How to Use JCWHosting Reseller Cloud Storage Solution

Integrating LivePerson with Salesforce

FireBLAST Marketing Solution v2

Appendix 1 Install RightNow on your PC

Transcription:

Query JD Edwards EnterpriseOne Customer Credit using Oracle BPEL Process Manager

1 Overview In this tutorial you will be querying JD Edwards EnterpriseOne for Customer Credit information. This is a two step process (a) Retrieve a WSDL from the published JD Edwareds EnterpriseOne Customer Business Service and (b) Consume the WSDL in BPEL PM and invoke the getcustomercreditinfo web service operation. Pre-reqs: JD Edwards EnterpriseOne 8.12/8.97 Install including a Business Services Server. JD Edwards EnterpriseOne Published Business Services (downloaded as an ESU from the Update Center or Change Assistant and installed onto the Business Services Server) Oracle SOA Suite. 2 Locating the JDE E1 WSDL In order to BPEL PM to consume the JD Edwards EnterpriseOne Web Service you will need to provide either of physical.wsdl file or a URL that directs BPEL PM to the WSDL file. In this exercise we will walk through the process of locating the WSDL file for the Customer Master Business Service. 2.1 Open Oracle Enterprise Manager Open a web browser and enter the URL for the Enterprise Manager on the server where the JD Edwards EntepriseOne Business Services are located. This url is typically formated as the following: http://<enterpriseone Application Server>/em/ 2

Enter in the administration credentials and push Login. The Enterprise Manager Cluster Topology form should display. Select on JD Edwards EnterpriseOne Business Services Container (in this example it is named BSSV_Container). This should take you to the Home page for the Business Services Container: 3

Select on the Web Services tab to display the Business Services that have been deployed to this container: Select the radio button for the CustomerManagerHttpPort (this is the published server for web service operations supporting the JD Edwards EnterpriseOne Customer transaction types).push the Test Service button. This will take you to the Test Web Services form. 4

Copy the URL listed on this screen and add the value of?wsdl to the end. For example: http://<enterpriseone Application Server >/PD812/CustomerManager?WSDL If you enter in this URL to a web browser you should see a representation of the WSDL: 5

Save this URL you will need to provide this URL to BPEL PM to consume this web service. 6

3 Creating the BPEL PM Process 3.1 Startup Start Oracle SOA Suite by clicking on the icon in your desktop. This will take a while. Start Jdeveloper by clicking on the icon on your desktop. 3.2 Creating the BPEL Workspace and Project In the Applications Navigator window, right-click on Applications and select New Application Name your application. In this example, we ll use TestJDE. Click OK to create the application. 7

8

A Create Project window will appear. Click Cancel. (Yes Click Cancel). You will now be back at the main JDeveloper window, and you will see your TestJDE in the applications window. Right click on the TestJDE application, and select New Project 9

In the New Gallery window, select BPEL Process Project and click OK. 10

Name the process JDEQueryCustomerCredit in the Name field and select Synchronous BPEL Process as the template. Click Finish. The JDEQueryCustomerCredit project is then created under your TestJDE application. You can see the files in the Applications Navigator window. 11

3.3 Creating a Partner Link to Insert the JDE Customer Credit Query 1. Select Services from the drop-down list of the Component Palette section in the upper right section of the JDeveloper Designer. 2. Drag and drop a PartnerLink activity onto the right side of the designer window anywhere beneath the Services header. Note that both sides of the designer window have sections in which partner links can be placed. 12

13

3. In the Create Partner Link window Name the Partner Link and enter the WSDL URL (Discovered in earlier exercise) into the WSDL File text box. You will get a Partner Link Type box, select Yes. 14

Enter the following values to finish creating the partner link Name: RI_CustomerManager Partner Role: Oracle_E1_SBF_SEI_PkgBldFile_RI_CustomerManager_Role Partner Link Type is automatically selected. Click Ok 15

3.4 Creating Invoke Activity 1. Select Process Activities from the drop-down list of the Component Palette section in the upper right section of the JDeveloper Designer. 2. Drag and drop an Invoke from the Component Palette section. And drop onto the canvas immediately after the receiveinput activity 16

3. Double-click the Invoke_1 icon to display the Invoke window 17

4. Enter the following values. a. Set Invoke Name to Invoke_JDECustomerCredit b. Set Partner Link to RI_CustomerManager by selecting the flashlight icon clicking OK. c. Set the Operation to getcustomercreditinfo d. Click on the Auto-create variable magic wand icon next to the Input Variable text field to create a variable for this activity. 18

Click OK to accept the default variable name. e. Click on the Auto-create variable magic wand icon next to the Output Variable text field to create a variable for this activity. Click OK to accept the default variable name, as done for previous step. f. Click OK to accept the changes to Invoke. Your invoke should look like this. 19

3.5 Creating an Initial Assign to Send Input Request Data to the Invoke 1. Verify Process Activities is still selected from the drop-down list of the Component Palette section in the upper right section of the JDeveloper Designer. 2. Drag and drop an Assign activity from the Component Palette section between the receiveinput and Invoke_JDECustomerCredit activities so we can copy the input field in the input Variable to the Invoke input variable. 3. 4. Double-click the Assign icon that you just dropped to display the Assign window. 5. Click the General tab 6. Enter CopyInput in the Name field 7. Click Apply 8. Click the Copy Operation tab 20

9. Click Create to display the Create options window, and then select Copy Operation 10. Make the changes to appear as follows: Note that we are taking the user input (client:input variable) to the BPEL process and assigning it to the input variable (entityid: variable that represents the E1 address book number) of the Invoke step for the JDE web service. 21

11. Click OK to close the Create Copy Rule window and the Assign window 3.6 Creating an Assign to Send Output Data from the Invoke Now, we will repeat the steps above to set the response from JDE Query call to the output variable. This time the Assign will be AFTER the Invoke. 1. Verify Process Activities is still selected from the drop-down list of the Component Palette section in the upper right section of the JDeveloper Designer. 2. Drag and drop an Assign activity from the Component Palette section between the Invoke_JDECustomerCredit and replyoutput activities so we can copy the output field in the Invoke output Variable to the replyoutput input variable. 3. Double-click the Assign icon that you just dropped to display the Assign window. 4. Click the General tab 5. Enter CopyOutput in the Name field 6. Click Apply 7. Click the Copy Operation tab 8. Click Create to display the Create options window, and then select Copy Operation 22

9. Make the changes to appear as follows: Note here that we are taking the output of the Invoke step (amountcreditlimit) and assigning it to output variable (amountcreditlimit) of the bpel process. This is result that user will see returned in BPEL console. 10. Click OK to close the Create Copy Rule window and the Assign window. At this point you are done building your BPEL process. Now lets build and deploy this. 23

3.7 Validating, Compiling and Deploying the BPEL Process Note: For this section you need to ensure you have BPEL manager started and a link to the default domain from Jdeveloper. 1. Go to the Applications Navigator section 2. Right-click the JDEQueryAccount BPEL Project 3. Select Deploy SOAServerConnection Deploy to default domain (Note: SOAServerConnection may be a different name base on classroom setup) 4. This compiles and deploys the BPEL process. Review the bottom window for any errors. If there are no errors, deployment was successful. 5. If you have errors, make appropriate corrections and deploy again. Ignore any warnings. 6. Once you deploy with no errors, your workflow project is now ready for testing. 24

3.8 Example of BPEL Process 25

4 Test The Integration 4.1 Testing the BPEL Process from the BPEL Console You can test that your BPEL project works by initiating an Insert from the BPEL Console. Log into the Oracle BPEL Console using Internet Explorer by clicking on the URL on your desktop 1. The default Username is oc4jadmin and the default password is oracle1 2. Click on JDEQueryCustomerCredit in the Deployed BPEL Processes list. 26

3. This takes you to the Initiate tab of the JDEQueryCustomerCredit BPEL Process where you will see a HTML form. Here enter a JDE Entity ID (Address Book Number) to Query. Sample JDE Entity Id is 3001 Other samples to use are 4242 3111 Enter one of these in the payload input as shown below. Then click on Post XML Message button. 27

4. You should see a message saying the test request was processed synchronously, and have the time that it took to finish. It will also give you the return result which is the customer credit limit. 28

5. You can now click on either the Audit Instance link to verify the BPEL process completed, and look at some of the values at each step. Here is an example looking at the Audit link. A page shown below comes up. You can click on various operations in the page to see each step in the BPEL Process that queried JDE. Click on more link as shown above to see additional details on process execution, such as input and output parameters. 29