Service-Enable 11i -- Get A Jump On Fusion
By Jim Van Heel on Jul 24, 2006
You call 411 and ask for the phone number of the local Joe's Pizza. You ask your fancy-pants hotel concierge to book you tickets to the revival of, "Learn Oracle in 21 Days - The Musical." You ask the E-Business Suite, "How many Vision Laptops are in inventory organization M1?" What's going on here?
The World At Your Service
Web Services are key to the flexible infrastructure that has the potential to lower your costs of ownership and let your systems adjust to changes more easily. Lots of ink has been spilled: e.g. O'Reilly from 2001 is like looking at a time machine.
So if Web Services and Service Oriented Architectures (SOA) make applications easier to mix and match, what's a monolithic old application like the E-Business Suite to do?
Well, the Fusion Middleware BPEL Process Manager lets you Web Service-enable any of the E-Business Suite APIs today. Steven has given you the basics about using BPEL Process Manager and told you where to find the programming interfaces. My goal is to connect these dots for you through the Fusion Middleware SOA Suite's E-Business Suite adapter. When these dots are connected, you'll see that you can service-enable any programming interface in the E-Business Suite - that's thousands of touchpoints to pick from. The E-Business Suite is waiting to dance to your tune on puppet strings made of SOAP bubbles!
The EBS Adapter will get its metadata directly from your R12 instance going forward.
E-Business Suite - Exposed!
There are many interfaces published in the Integration Repository, and some of them are, in fact, document-style Web Services. The XML Gateway can take XML messages in standard Simple Object Access Protocol (SOAP) wrappers; it's a nice standards-based way to input some Sales Orders, the occasional Advanced Ship Notice. But let's face it: you want 'remote procedure call' services! Request/Reply! Stock quotes! Exchange rates! The sexy stuff!
The E-Business Suite Adapter lets us do that with any of the procedural APIs in the Suite, many of which are based on PL/SQL. The ingredients are:
- One pound E-Business Suite instance. Any version will do - that's one of the cool parts.
- One fired-up cup of JDeveloper 10.1.2.0.2, which includes the E-Business Suite adapter. This version includes both BPEL and a runtime OC4J container, which will actually execute the whole BPEL product and your trial service - for testing purposes.
- One tablespoon live Oracle Application Server 10.1.2.0.2 with BPEL Process Manager, for actually implementing and deploying the process.
Now, this isn't a cookbook play-by-play; there's a good one already posted. Here are just the basics, to show you it's pretty easy.
- In JDeveloper, create a new, empty synchronous BPEL process.
- From the Process Components palette on the right, pull a PartnerLink onto your diagram.
- Start the E-Business Suite Adapter ("Define New Adapter Servce"), and search for the API.
- Notice that the API looks the same as it does in the Integration Repository!
- The Adapter Wizard waves a wand and suddenly you have:
- A PL/SQL package
- An XML Schema Definition (XSD)
- The Web Services Description Language (WSDL) for the adapter service
Servicing our Customers
Some of the most common questions our customers put to us lately include:
- How does the E-Business Suite expose services?
- How can I fit the E-Business Suite into my SOA strategy?
- What's the Applications direction around Web Services?
But you can get a jump on that future, using the tools of the Fusion Applications -- Fusion Middleware, BPEL, Integration Repository -- and deliver real architectural value back to your business today. That's pretty cool, and you'll pick up some neat tricks in the process.
Tell me if you do anything interesting like this in the Comments box.
For More Information
- Leveraging Service-Oriented Architecture for E-Business Suite Integration (Kevin Hudson, OpenWorld 2005, 1.4 MB PPT)