RESTful Web Services in TIBCO - PowerPoint PPT Presentation

About This Presentation
Title:

RESTful Web Services in TIBCO

Description:

I am explain you how to create RESTFul Web Service using TIBCO BW REST & JSON Plugin. – PowerPoint PPT presentation

Number of Views:36

less

Transcript and Presenter's Notes

Title: RESTful Web Services in TIBCO


1
RESTful Web Services in TIBCO
  • www.adlearnings.com

2
RESTful Web Services in TIBCO
I am explain you how to create RESTFul Web
Service using TIBCO BW REST JSON
Plugin. Developing Process of Restful Web
Service 1.Create Connection Shared
Resources 2. Create XML Schema to be used as
RESTFul Service Input and Output 3. Create
Business Logic Implementation process 4. Create
RESTful Service Using REST Dispatch and Reply
activity 5. Use Invoke REST API activity to
consume RESTFul TIBCO Web Service
3
RESTful Web Services in TIBCO
Create Connection Shared Resources RESTful
TIBCO Web Service will use HTTP connection as a
transport. So we need to create a HTTP Connection
in our Project. Also, we need to create a JDBC
Connection as we will be connecting to ORACLE
database to fetch Account details from a table.
JDBC Connection activity is available in the JDBC
Palette. Please note that if you are using some
other database system (like MS-SQL or
DB2). Create XML Schema to be used as RESTFul
Service Input and Output To create a XML Schema
(XSD file) that will be used for Request and
Response in our TIBCO RESTFul Service
Implementation. For our account query example
scenario, Schema will contain only AccountID in
the request while response will contain
AccountBeneficiary and AccountBalance.
4
RESTful Web Services in TIBCO
Create Business Logic Implementation process we
are going to create a process which will have our
service business logic implemented. Our business
logic in this example case is very simple. We are
just going to use the schema that we created in
above step as Input and Output in our process and
will use JDBC Query Activity to query account
details from the database. Create RESTful
Service Using REST Dispatch and Reply
activity We will create a service by using REST
Dispatch and Reply activity from the REST JSON
Palette. Using REST Dispatch and Reply activity,
we can expose a BW process as a RESTFul service.
The BW process that we created in Step 3 will be
used in this case as RESTful service
implementation process. Use Invoke REST API
activity to consume RESTFul TIBCO Web
Service To consume RESTFul Service, I have
crated a new process and dragged Invoke REST API
activity from REST JSON Palette in it. In the
configuration tab of Invoke REST API activity,
specify the Resource URI. This URI should point
to the resource that was added to our service in
previous step (bas plus Resource URL).
5
Web Services in TIBCO
Visit www.adlearnings.com Mobile No 91
7331128598 Like facebook.com/adlearnings Goole
plus.google.com/Adlearningstibcoonlinetraining
6
Web Services in TIBCO
Thank You For Watching
Write a Comment
User Comments (0)
About PowerShow.com