Creating and Using a RESTful Web Service in Application Express 4.2

Creating and Using a RESTful Web Service in Application Express 4.2


The purpose of this video is to show you how to create a RESTful web service declaratively using Oracle Application Express SQL Workshop with the Application Listener, and then consume that same service using Oracle Application Expresses support for declaratively creating clients based on RESTful web services.
Closed Caption:

the purpose of this video is to show how
to create a restful webservice
declaratively using application Express
sequel workshop with the application
Express listener and then consume that
same service using Oracle application
Express is support for declarative
creating clients based on restful web
services
from the application builder
homepage you start by going to seek
workshop pulldown menu and selecting
restful services from here you're going
to click the Create button you're going
to provide a name a UI template which we
part of the uri used to access this
resource you're going to include a
handler with the get method and specify
a query that will return as a json to
the invoker of the service and then you
can go ahead and click create module you
want to make a small change to this
resource handler by changing requires
secure access to know which allows you
to access the service of HTTP instead of
HTTPS now you want to go ahead and test
the service by clicking the test button
to ensure it works properly you receive
the JSON results and you want to make
note of the uri which is use later when
we create a client to consume the
service so at this point I want to make
things a little more interesting and
we're going to change the format of the
resource handler to a CSV and you also
want to add a where clause to the query
which references the bind variable deep
ep4 department you can go ahead and
click apply changes and finally what
we're going to do is add a parameter to
this handler which is an input to this
service as an HTTP header that will map
to the bind variable that you supply in
the modified query so we're going to go
ahead and give the parameter and name
the EP and then go ahead and create that
parameter
now that you have defined the restful
service you can consume it in any client
that can interact with restful web
services and connect to the uri in this
video you are simply going to consume
the service with the same application
Express instance used to create the
service so we're going to go ahead and
create a new application and give it a
name
and we're just going to go ahead and
create the application with just a
homepage
next you're going to go into shared
components
and select the web service references
option and we want to go ahead and
create a new one so we'll click the
Create button and we want to choose the
rest option as the reference type and
click next and then supply a descriptive
name along with the URI to the service
that you tested previously and add the
HTTP header dep as the input into the
service and then click Next
there are no additional inputs to the
service so you can delete the parameter
and then click Next in the next step you
want to describe the response expected
from the restful service you change the
output of this restful service to be csv
so you can choose text for the output
format and that is going to make the
perimeter delimiter a new record
delimiter of default 2 comma then you
want to go ahead and enter in the names
for the parameters that you expect to be
returned and the path to them in the
response and so that in this case the
position they are in the comma separated
list when finished click the Create
button
after web service references created you
can navigate to the create form and
report on web service reference wizard
and choose the reference that you just
created
you're going to select the defaults for
the page and region attributes and then
click Next
this is step allows you to choose which
parameters the wizard will create items
for and so you're just going to accept
the default and then change the item
label2 department and click next and
then here is where you want to select
all of the parameters from the response
that you want to report on and then you
can click Next and you're just going to
take the tab default options and then
click create you want to go ahead and
run the page and login using your
credentials
at this point you can go ahead and put
in a number for department and click
Submit and it's going to run the restful
web service to produce the results
note that the report contains result of
employees for Department 10 we want to
go ahead and change that to Department
22 verify that you received different
results that in the report
this concludes the video on creating and
using restful web services in
application Express 42 for more
information on Oracle application
Express visit the product page and otn
at the URL shown on the screen

Video Length: 07:34
Uploaded By: Oracle Learning Library
View Count: 57,707

Related Software Products
Application As Service
Application As Service

Published By:
ELTIMA Software GmbH

Description:
Application as Service is an advanced system utility which lets you run any application as Windows 2000/XP/2003 Service. You can easily configure Application as Service using its intuitive GUI interface or command line configurator directly from your software. Application as Service features very low CPU usage, custom environment variables, monitoring and detailed logging as well as many other features. You can use Application as Service software to: Launch any application as Windows ...


Related Videos
Part 24   Self hosting a wcf service in console application
Part 24 Self hosting a wcf service in console application

Link for code samples used in the demo http://csharp-video-tutorials.blogspo... Link for all dot net and sql server video tutorial playlists http://www.youtube.com/user/kudvenkat... In this video, we will discuss hosting a wcf service using a console application. Hosting a wcf service in any managed .net application is called as self hosting. Console applications, WPF applications, WinForms applications are all examples of managed .net applications. br ...
Video Length: 23:06
Uploaded By: kudvenkat
View Count: 46,223

JBOSS Application Server 7.1.1 on Windows 8
JBOSS Application Server 7.1.1 on Windows 8

Walk through of Installing JBOSS Application Server 7.1.1 on Windows 8 as a Service and connecting to Internet Information Server 8 (IIS8) via AJP protocol and BonCode Connector. We also walk through on how to deploy sample WAR archive (Railo http://getrailo.org) on JBOSS AS. BonCode connector download site has changed: Please go to http://www.boncode.net and click the BonCode Connector Link hr / bClosed Caption:/b hello and welcome to Keith's recording of ...
Video Length: 19:14
Uploaded By: boncode
View Count: 43,824

28c3: Effective Denial of Service attacks against web application platforms
28c3: Effective Denial of Service attacks against web application platforms

Download hiqh quality version: http://bit.ly/rKwW58 Description: http://events.ccc.de/congress/2011/Fa... Alexander 'alech' Klink, Julian | zeri: Effective Denial of Service attacks against web application platforms We are the 99% (CPU usage) This talk will show how a common flaw in the implementation of most of the popular web programming languages and platforms (including PHP, ASP.NET, Java, etc.) can be (ab)used to force web application servers to ...
Video Length: 56:57
Uploaded By: 28c3
View Count: 32,090

Part 25   Self hosting a wcf service in winforms application
Part 25 Self hosting a wcf service in winforms application

Link for code samples used in the demo http://csharp-video-tutorials.blogspo... Link for all dot net and sql server video tutorial playlists http://www.youtube.com/user/kudvenkat... In this video, we will discuss hosting a wcf service using a windows forms application. Hosting a wcf service in windows forms application is very similar to hosting it in a console application. We discussed hosting a wcf service in a console application in Part 24. We will continue ...
Video Length: 15:30
Uploaded By: kudvenkat
View Count: 31,747

Web Service with DB   Java Web Application   netbeans 7 3   Java DB
Web Service with DB Java Web Application netbeans 7 3 Java DB

Web Service with DB - Java Web Application - netbeans 7 3 - Java DB http://ttaiit.blogspot.com
Video Length: 14:11
Uploaded By: Dev Bananaer
View Count: 30,811

Part 40   How to retrieve the sessionid in WCF service and in the client application
Part 40 How to retrieve the sessionid in WCF service and in the client application

Link for code samples used in the demo http://csharp-video-tutorials.blogspo... Link for all dot net and sql server video tutorial playlists http://www.youtube.com/user/kudvenkat... In this video, we will discuss retrieving the sessionid in WCF service and in the client application This is continuation to Part 39. Please watch Part 39 before proceeding. We will work with the same example, that we worked with in Part 39. In order to send ...
Video Length: 10:17
Uploaded By: kudvenkat
View Count: 25,198

Publish MVC API Web Service to IIS
Publish MVC API Web Service to IIS

MVC 4 Web API Publish to IIS Step by step: - Publish your web application - File to IIS - Add a website in IIS, point the physical path to published folder - Change Application Pool Identify to LocalSystem for access database - Test in browser :) hr / bClosed Caption:/b Right-click on project and select Publish.. Select profile: File to IIS Publish method: File System Browse your Target folderbr ...
Video Length: 01:57
Uploaded By: Son Nguyen
View Count: 24,338

Using a Security Token Service with an ASP.NET Application | Pluralsight
Using a Security Token Service with an ASP.NET Application | Pluralsight

SharePoint 2010 Security Part 2 | http://www.pluralsight-training.net/m... Want to learn how to hook up a Windows Identity Foundation based security token service to an ASP.NET 4.0 application? In this video excerpt from Sahil Malik's new course SharePoint 2010 Security Part 2, you'll see how to do just that as a precursor to establishing your own sophisticated claims based security for a SharePoint 2010 site. In the full course Sahil covers other topics such as using the WIF SDK, ...
Video Length: 11:46
Uploaded By: Pluralsight
View Count: 20,808

CES2011: Sony Qriocity Service with iPad remote app
CES2011: Sony Qriocity Service with iPad remote app

CES2011: Sony Qriocity Service with iPad remote app hr / bClosed Caption:/b just alright so I'm here at CES 2011 Sony booth with some pretty cool new stuff this is actually I'm an example one in the new applications Milly Dowler if you have an Apple iPad iPhone and iPod Touch and even if you have a Google Android phone like an Xperia x10 you will be on the download this app for his wellness allow you to ...
Video Length: 01:07
Uploaded By: Sony Canada Training
View Count: 18,905

Service Level Agreements SLA Application Performance Management APM
Service Level Agreements SLA Application Performance Management APM

During this webinar you will learn why service level agreements (SLA) are broken today and how you can close the expectation and satisfaction gap between information technology (IT) teams, vendors and the all important users of your enterprise applications. Learn about: •The expectation and satisfaction gap that enterprise application users have with the service level agreement metrics reported by information technology •What is this expectation and satisfaction gap, why does it ...
Video Length: 44:27
Uploaded By: ExpertView2012
View Count: 18,177

Copyright © 2025, Ivertech. All rights reserved.