SlideShare a Scribd company logo
Create REST Service in OSB
12c over BD
Starting by creating Database
adapter to the table you need
Please provide a meaningful
name
Choose the DB connection from
the application server you are
deploying to
Choose the DB connection from
the application server you are
deploying to
The recommended way to run
SQL’s
Choose the DB schema and run
query to get the tables, views
and synonyms list
The import will bring the table
to the work area
Next for now
Choose the fileds to retrieve In this case, there is a screen
that is skipped because the
table has clear primary key. In
other cases, such as views, you
will have a selection of the key
fields. It is important to select
the fields that reflects the
unique key of the data you
retrieve
Add the parameter. In this case
the CustomerId
Add the parameter. In this case
the CustomerId
Add to use the parameter
OK, Next, Next, Finish
Time to deploy and test
the DB adapter
Copy and save for later
Create the service
response schema
Please provide a meaningful
name
In my case, the response
schema is generated from
a JSON. This is good if you
already have an existing
service. You can always
create it manually.
The copied JSON and Next
The schema and Next
Create a service proxy to be
exposed
Please provide a meaningful
name
This is to use the schema you
just created
Edit the path to call the service
Add an operation
Give a nice name to the
operation
Add the parameter according to
the DB parameter from the DB
adapter
The parameter definition
The Expression can be used to get
or manipukate the parameter in
the process
Finished with the Request and go
to Response
Choose the response schema If you haven’t created the
schema before you can do it
now in the same way
The schema you created
Response payload format
Service Proxy is done but not
complete without a
connection to something
Start with the Pipeline. This is
center piece to complete the
development
Select the WSDL of the Service Proxy. The
WSDL was generated during the creation of
the proxy. Why WSDL and not WADL? This
is because OSB “nature” is SOAP and this
service is not pure REST. The Service Proxy
is exposing REST while the DB adapter is
exposed internally as SOAP
Create rest service in osb 12c over database table
Create the XSL to map the DB result with
the REST/JSON response
The DB adapter Response is the Source of
the map
The Service Proxy Response is the Target of
the map
Review the Source schema
Review the Target schema
The xsl:for-each covers the multiple records
in the response. Please learn Xpath, Xquery
and XSLConnecting the fields by dragging
Double-click to open
Create the Variables that you
will use very soon
Create this by drag&drop
from Nodes icons on the right
Create this by drag&drop
from Communication icons
on the right
Choose the DB adaptor
service you created
Choose the DB adaptor
service you created
Choose the DB adaptor
service you created
Use the variables for Input
and Output payload
Using Variables provides
flexibility to manipulate the
service calls as you will see
soon enough
Remember the XML from the
DB Adaptor test? This is
where you use it. The
CustomerId parameter is
provided with Xpath that
extract it from the Body.
The Assign activity insert a
value to a variable. In our
case, it creates the Request
for the DB Adaptor service
The Assign activity insert a
value to a variable. In our
case, it creates the Request
for the DB Adaptor service
The Replace takes the
response from the DB and
converts it to the output of
the service by using the XSL
you created
1. Choose XSLT Resource from
the list
2. Select the XSL you created
3. The variable that will
accept the result
The part of the Response
where everythiong is done
The scope of the Replace
effect
Create rest service in osb 12c over database table
Thank you!
Ad

More Related Content

What's hot (20)

Intro to Node.js (v1)
Intro to Node.js (v1)Intro to Node.js (v1)
Intro to Node.js (v1)
Chris Cowan
 
Java web services
Java web servicesJava web services
Java web services
kumar gaurav
 
Firebase slide
Firebase slideFirebase slide
Firebase slide
Apaichon Punopas
 
MongoDB Aggregation
MongoDB Aggregation MongoDB Aggregation
MongoDB Aggregation
Amit Ghosh
 
WebLogic Stability; Detect and Analyse Stuck Threads
WebLogic Stability; Detect and Analyse Stuck ThreadsWebLogic Stability; Detect and Analyse Stuck Threads
WebLogic Stability; Detect and Analyse Stuck Threads
Maarten Smeets
 
REST API and CRUD
REST API and CRUDREST API and CRUD
REST API and CRUD
Prem Sanil
 
Restful Web Services
Restful Web ServicesRestful Web Services
Restful Web Services
Angelin R
 
Testing microservices with rest assured
Testing microservices with rest assuredTesting microservices with rest assured
Testing microservices with rest assured
Kushan Shalindra Amarasiri - Technical QE Specialist
 
POSTMAN.pptx
POSTMAN.pptxPOSTMAN.pptx
POSTMAN.pptx
RamaKrishna970827
 
Workshop 4: NodeJS. Express Framework & MongoDB.
Workshop 4: NodeJS. Express Framework & MongoDB.Workshop 4: NodeJS. Express Framework & MongoDB.
Workshop 4: NodeJS. Express Framework & MongoDB.
Visual Engineering
 
Rest API Automation with REST Assured
Rest API Automation with REST AssuredRest API Automation with REST Assured
Rest API Automation with REST Assured
TO THE NEW Pvt. Ltd.
 
Node.js Express
Node.js  ExpressNode.js  Express
Node.js Express
Eyal Vardi
 
React JS - Introduction
React JS - IntroductionReact JS - Introduction
React JS - Introduction
Sergey Romaneko
 
Javascript 101
Javascript 101Javascript 101
Javascript 101
Shlomi Komemi
 
Postman: An Introduction for Developers
Postman: An Introduction for DevelopersPostman: An Introduction for Developers
Postman: An Introduction for Developers
Postman
 
Test Design and Automation for REST API
Test Design and Automation for REST APITest Design and Automation for REST API
Test Design and Automation for REST API
Ivan Katunou
 
React js
React jsReact js
React js
Rajesh Kolla
 
An Introduction To REST API
An Introduction To REST APIAn Introduction To REST API
An Introduction To REST API
Aniruddh Bhilvare
 
Mongoose and MongoDB 101
Mongoose and MongoDB 101Mongoose and MongoDB 101
Mongoose and MongoDB 101
Will Button
 
HTTP Request and Response Structure
HTTP Request and Response StructureHTTP Request and Response Structure
HTTP Request and Response Structure
BhagyashreeGajera1
 
Intro to Node.js (v1)
Intro to Node.js (v1)Intro to Node.js (v1)
Intro to Node.js (v1)
Chris Cowan
 
MongoDB Aggregation
MongoDB Aggregation MongoDB Aggregation
MongoDB Aggregation
Amit Ghosh
 
WebLogic Stability; Detect and Analyse Stuck Threads
WebLogic Stability; Detect and Analyse Stuck ThreadsWebLogic Stability; Detect and Analyse Stuck Threads
WebLogic Stability; Detect and Analyse Stuck Threads
Maarten Smeets
 
REST API and CRUD
REST API and CRUDREST API and CRUD
REST API and CRUD
Prem Sanil
 
Restful Web Services
Restful Web ServicesRestful Web Services
Restful Web Services
Angelin R
 
Workshop 4: NodeJS. Express Framework & MongoDB.
Workshop 4: NodeJS. Express Framework & MongoDB.Workshop 4: NodeJS. Express Framework & MongoDB.
Workshop 4: NodeJS. Express Framework & MongoDB.
Visual Engineering
 
Rest API Automation with REST Assured
Rest API Automation with REST AssuredRest API Automation with REST Assured
Rest API Automation with REST Assured
TO THE NEW Pvt. Ltd.
 
Node.js Express
Node.js  ExpressNode.js  Express
Node.js Express
Eyal Vardi
 
Postman: An Introduction for Developers
Postman: An Introduction for DevelopersPostman: An Introduction for Developers
Postman: An Introduction for Developers
Postman
 
Test Design and Automation for REST API
Test Design and Automation for REST APITest Design and Automation for REST API
Test Design and Automation for REST API
Ivan Katunou
 
Mongoose and MongoDB 101
Mongoose and MongoDB 101Mongoose and MongoDB 101
Mongoose and MongoDB 101
Will Button
 
HTTP Request and Response Structure
HTTP Request and Response StructureHTTP Request and Response Structure
HTTP Request and Response Structure
BhagyashreeGajera1
 

Similar to Create rest service in osb 12c over database table (20)

BI Tutorial (Copying Data from Oracle to Microsoft SQLServer)
BI Tutorial (Copying Data from Oracle to Microsoft SQLServer)BI Tutorial (Copying Data from Oracle to Microsoft SQLServer)
BI Tutorial (Copying Data from Oracle to Microsoft SQLServer)
Ifeanyi I Nwodo(De Jeneral)
 
Mule jdbc
Mule   jdbcMule   jdbc
Mule jdbc
Rajarajan Sadhasivam
 
Aws schema conversion tool
Aws schema conversion toolAws schema conversion tool
Aws schema conversion tool
anshuman mishra
 
dbadapters
dbadaptersdbadapters
dbadapters
XAVIERCONSULTANTS
 
ASP.NET 09 - ADO.NET
ASP.NET 09 - ADO.NETASP.NET 09 - ADO.NET
ASP.NET 09 - ADO.NET
Randy Connolly
 
Adapters db-104-informixstoredprocedure
Adapters db-104-informixstoredprocedureAdapters db-104-informixstoredprocedure
Adapters db-104-informixstoredprocedure
prathap kumar
 
Database Modeling presentation
Database Modeling  presentationDatabase Modeling  presentation
Database Modeling presentation
Bhavishya Tyagi
 
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdfAWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
SkillCertProExams
 
ODTUG An Introduction to Application Integration Architecture
ODTUG An Introduction to Application Integration ArchitectureODTUG An Introduction to Application Integration Architecture
ODTUG An Introduction to Application Integration Architecture
Edwin Biemond
 
More Asp
More AspMore Asp
More Asp
guest4c97670
 
Appcelerator - using node.ACS (part 1)
Appcelerator - using node.ACS (part 1)Appcelerator - using node.ACS (part 1)
Appcelerator - using node.ACS (part 1)
Mobile Data Systems Ltd.
 
2014 Taverna tutorial REST services
2014 Taverna tutorial REST services2014 Taverna tutorial REST services
2014 Taverna tutorial REST services
myGrid team
 
FiletodbAdapters
FiletodbAdaptersFiletodbAdapters
FiletodbAdapters
XAVIERCONSULTANTS
 
Adaptersdb-03-file2storedprocedure
Adaptersdb-03-file2storedprocedureAdaptersdb-03-file2storedprocedure
Adaptersdb-03-file2storedprocedure
prathap kumar
 
SharePoint Evolutions 2015 - Moving from SOAP to REST
SharePoint Evolutions 2015 - Moving from SOAP to RESTSharePoint Evolutions 2015 - Moving from SOAP to REST
SharePoint Evolutions 2015 - Moving from SOAP to REST
Marc D Anderson
 
Sql Pass Through
Sql Pass ThroughSql Pass Through
Sql Pass Through
jrhampt
 
Oracle soa course_content
Oracle soa course_contentOracle soa course_content
Oracle soa course_content
XAVIERCONSULTANTS
 
ASP.NET MVC From The Ground Up
ASP.NET MVC From The Ground UpASP.NET MVC From The Ground Up
ASP.NET MVC From The Ground Up
Kevin Griffin
 
Java Database Connectivity
Java Database ConnectivityJava Database Connectivity
Java Database Connectivity
backdoor
 
SQL Pass Through and the ODBC Interface
SQL Pass Through and the ODBC InterfaceSQL Pass Through and the ODBC Interface
SQL Pass Through and the ODBC Interface
jrhampt
 
BI Tutorial (Copying Data from Oracle to Microsoft SQLServer)
BI Tutorial (Copying Data from Oracle to Microsoft SQLServer)BI Tutorial (Copying Data from Oracle to Microsoft SQLServer)
BI Tutorial (Copying Data from Oracle to Microsoft SQLServer)
Ifeanyi I Nwodo(De Jeneral)
 
Aws schema conversion tool
Aws schema conversion toolAws schema conversion tool
Aws schema conversion tool
anshuman mishra
 
Adapters db-104-informixstoredprocedure
Adapters db-104-informixstoredprocedureAdapters db-104-informixstoredprocedure
Adapters db-104-informixstoredprocedure
prathap kumar
 
Database Modeling presentation
Database Modeling  presentationDatabase Modeling  presentation
Database Modeling presentation
Bhavishya Tyagi
 
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdfAWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
SkillCertProExams
 
ODTUG An Introduction to Application Integration Architecture
ODTUG An Introduction to Application Integration ArchitectureODTUG An Introduction to Application Integration Architecture
ODTUG An Introduction to Application Integration Architecture
Edwin Biemond
 
2014 Taverna tutorial REST services
2014 Taverna tutorial REST services2014 Taverna tutorial REST services
2014 Taverna tutorial REST services
myGrid team
 
Adaptersdb-03-file2storedprocedure
Adaptersdb-03-file2storedprocedureAdaptersdb-03-file2storedprocedure
Adaptersdb-03-file2storedprocedure
prathap kumar
 
SharePoint Evolutions 2015 - Moving from SOAP to REST
SharePoint Evolutions 2015 - Moving from SOAP to RESTSharePoint Evolutions 2015 - Moving from SOAP to REST
SharePoint Evolutions 2015 - Moving from SOAP to REST
Marc D Anderson
 
Sql Pass Through
Sql Pass ThroughSql Pass Through
Sql Pass Through
jrhampt
 
ASP.NET MVC From The Ground Up
ASP.NET MVC From The Ground UpASP.NET MVC From The Ground Up
ASP.NET MVC From The Ground Up
Kevin Griffin
 
Java Database Connectivity
Java Database ConnectivityJava Database Connectivity
Java Database Connectivity
backdoor
 
SQL Pass Through and the ODBC Interface
SQL Pass Through and the ODBC InterfaceSQL Pass Through and the ODBC Interface
SQL Pass Through and the ODBC Interface
jrhampt
 
Ad

Recently uploaded (20)

What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
Andre Hora
 
DVDFab Crack FREE Download Latest Version 2025
DVDFab Crack FREE Download Latest Version 2025DVDFab Crack FREE Download Latest Version 2025
DVDFab Crack FREE Download Latest Version 2025
younisnoman75
 
Revolutionizing Residential Wi-Fi PPT.pptx
Revolutionizing Residential Wi-Fi PPT.pptxRevolutionizing Residential Wi-Fi PPT.pptx
Revolutionizing Residential Wi-Fi PPT.pptx
nidhisingh691197
 
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
AxisTechnolabs
 
Implementing promises with typescripts, step by step
Implementing promises with typescripts, step by stepImplementing promises with typescripts, step by step
Implementing promises with typescripts, step by step
Ran Wahle
 
Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025
mu394968
 
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Eric D. Schabell
 
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRYLEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
NidaFarooq10
 
Get & Download Wondershare Filmora Crack Latest [2025]
Get & Download Wondershare Filmora Crack Latest [2025]Get & Download Wondershare Filmora Crack Latest [2025]
Get & Download Wondershare Filmora Crack Latest [2025]
saniaaftab72555
 
FlakyFix: Using Large Language Models for Predicting Flaky Test Fix Categorie...
FlakyFix: Using Large Language Models for Predicting Flaky Test Fix Categorie...FlakyFix: Using Large Language Models for Predicting Flaky Test Fix Categorie...
FlakyFix: Using Large Language Models for Predicting Flaky Test Fix Categorie...
Lionel Briand
 
Automation Techniques in RPA - UiPath Certificate
Automation Techniques in RPA - UiPath CertificateAutomation Techniques in RPA - UiPath Certificate
Automation Techniques in RPA - UiPath Certificate
VICTOR MAESTRE RAMIREZ
 
Cryptocurrency Exchange Script like Binance.pptx
Cryptocurrency Exchange Script like Binance.pptxCryptocurrency Exchange Script like Binance.pptx
Cryptocurrency Exchange Script like Binance.pptx
riyageorge2024
 
Who Watches the Watchmen (SciFiDevCon 2025)
Who Watches the Watchmen (SciFiDevCon 2025)Who Watches the Watchmen (SciFiDevCon 2025)
Who Watches the Watchmen (SciFiDevCon 2025)
Allon Mureinik
 
Societal challenges of AI: biases, multilinguism and sustainability
Societal challenges of AI: biases, multilinguism and sustainabilitySocietal challenges of AI: biases, multilinguism and sustainability
Societal challenges of AI: biases, multilinguism and sustainability
Jordi Cabot
 
How to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud PerformanceHow to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud Performance
ThousandEyes
 
WinRAR Crack for Windows (100% Working 2025)
WinRAR Crack for Windows (100% Working 2025)WinRAR Crack for Windows (100% Working 2025)
WinRAR Crack for Windows (100% Working 2025)
sh607827
 
F-Secure Freedome VPN 2025 Crack Plus Activation New Version
F-Secure Freedome VPN 2025 Crack Plus Activation  New VersionF-Secure Freedome VPN 2025 Crack Plus Activation  New Version
F-Secure Freedome VPN 2025 Crack Plus Activation New Version
saimabibi60507
 
Download YouTube By Click 2025 Free Full Activated
Download YouTube By Click 2025 Free Full ActivatedDownload YouTube By Click 2025 Free Full Activated
Download YouTube By Click 2025 Free Full Activated
saniamalik72555
 
Creating Automated Tests with AI - Cory House - Applitools.pdf
Creating Automated Tests with AI - Cory House - Applitools.pdfCreating Automated Tests with AI - Cory House - Applitools.pdf
Creating Automated Tests with AI - Cory House - Applitools.pdf
Applitools
 
Foundation Models for Time Series : A Survey
Foundation Models for Time Series : A SurveyFoundation Models for Time Series : A Survey
Foundation Models for Time Series : A Survey
jayanthkalyanam1
 
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
Andre Hora
 
DVDFab Crack FREE Download Latest Version 2025
DVDFab Crack FREE Download Latest Version 2025DVDFab Crack FREE Download Latest Version 2025
DVDFab Crack FREE Download Latest Version 2025
younisnoman75
 
Revolutionizing Residential Wi-Fi PPT.pptx
Revolutionizing Residential Wi-Fi PPT.pptxRevolutionizing Residential Wi-Fi PPT.pptx
Revolutionizing Residential Wi-Fi PPT.pptx
nidhisingh691197
 
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
AxisTechnolabs
 
Implementing promises with typescripts, step by step
Implementing promises with typescripts, step by stepImplementing promises with typescripts, step by step
Implementing promises with typescripts, step by step
Ran Wahle
 
Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025
mu394968
 
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Eric D. Schabell
 
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRYLEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
NidaFarooq10
 
Get & Download Wondershare Filmora Crack Latest [2025]
Get & Download Wondershare Filmora Crack Latest [2025]Get & Download Wondershare Filmora Crack Latest [2025]
Get & Download Wondershare Filmora Crack Latest [2025]
saniaaftab72555
 
FlakyFix: Using Large Language Models for Predicting Flaky Test Fix Categorie...
FlakyFix: Using Large Language Models for Predicting Flaky Test Fix Categorie...FlakyFix: Using Large Language Models for Predicting Flaky Test Fix Categorie...
FlakyFix: Using Large Language Models for Predicting Flaky Test Fix Categorie...
Lionel Briand
 
Automation Techniques in RPA - UiPath Certificate
Automation Techniques in RPA - UiPath CertificateAutomation Techniques in RPA - UiPath Certificate
Automation Techniques in RPA - UiPath Certificate
VICTOR MAESTRE RAMIREZ
 
Cryptocurrency Exchange Script like Binance.pptx
Cryptocurrency Exchange Script like Binance.pptxCryptocurrency Exchange Script like Binance.pptx
Cryptocurrency Exchange Script like Binance.pptx
riyageorge2024
 
Who Watches the Watchmen (SciFiDevCon 2025)
Who Watches the Watchmen (SciFiDevCon 2025)Who Watches the Watchmen (SciFiDevCon 2025)
Who Watches the Watchmen (SciFiDevCon 2025)
Allon Mureinik
 
Societal challenges of AI: biases, multilinguism and sustainability
Societal challenges of AI: biases, multilinguism and sustainabilitySocietal challenges of AI: biases, multilinguism and sustainability
Societal challenges of AI: biases, multilinguism and sustainability
Jordi Cabot
 
How to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud PerformanceHow to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud Performance
ThousandEyes
 
WinRAR Crack for Windows (100% Working 2025)
WinRAR Crack for Windows (100% Working 2025)WinRAR Crack for Windows (100% Working 2025)
WinRAR Crack for Windows (100% Working 2025)
sh607827
 
F-Secure Freedome VPN 2025 Crack Plus Activation New Version
F-Secure Freedome VPN 2025 Crack Plus Activation  New VersionF-Secure Freedome VPN 2025 Crack Plus Activation  New Version
F-Secure Freedome VPN 2025 Crack Plus Activation New Version
saimabibi60507
 
Download YouTube By Click 2025 Free Full Activated
Download YouTube By Click 2025 Free Full ActivatedDownload YouTube By Click 2025 Free Full Activated
Download YouTube By Click 2025 Free Full Activated
saniamalik72555
 
Creating Automated Tests with AI - Cory House - Applitools.pdf
Creating Automated Tests with AI - Cory House - Applitools.pdfCreating Automated Tests with AI - Cory House - Applitools.pdf
Creating Automated Tests with AI - Cory House - Applitools.pdf
Applitools
 
Foundation Models for Time Series : A Survey
Foundation Models for Time Series : A SurveyFoundation Models for Time Series : A Survey
Foundation Models for Time Series : A Survey
jayanthkalyanam1
 
Ad

Create rest service in osb 12c over database table

  • 1. Create REST Service in OSB 12c over BD
  • 2. Starting by creating Database adapter to the table you need
  • 3. Please provide a meaningful name
  • 4. Choose the DB connection from the application server you are deploying to
  • 5. Choose the DB connection from the application server you are deploying to
  • 6. The recommended way to run SQL’s
  • 7. Choose the DB schema and run query to get the tables, views and synonyms list
  • 8. The import will bring the table to the work area
  • 10. Choose the fileds to retrieve In this case, there is a screen that is skipped because the table has clear primary key. In other cases, such as views, you will have a selection of the key fields. It is important to select the fields that reflects the unique key of the data you retrieve
  • 11. Add the parameter. In this case the CustomerId
  • 12. Add the parameter. In this case the CustomerId
  • 13. Add to use the parameter
  • 14. OK, Next, Next, Finish
  • 15. Time to deploy and test the DB adapter
  • 16. Copy and save for later
  • 18. Please provide a meaningful name
  • 19. In my case, the response schema is generated from a JSON. This is good if you already have an existing service. You can always create it manually.
  • 20. The copied JSON and Next
  • 22. Create a service proxy to be exposed
  • 23. Please provide a meaningful name This is to use the schema you just created
  • 24. Edit the path to call the service Add an operation
  • 25. Give a nice name to the operation Add the parameter according to the DB parameter from the DB adapter
  • 26. The parameter definition The Expression can be used to get or manipukate the parameter in the process
  • 27. Finished with the Request and go to Response
  • 28. Choose the response schema If you haven’t created the schema before you can do it now in the same way The schema you created
  • 30. Service Proxy is done but not complete without a connection to something
  • 31. Start with the Pipeline. This is center piece to complete the development
  • 32. Select the WSDL of the Service Proxy. The WSDL was generated during the creation of the proxy. Why WSDL and not WADL? This is because OSB “nature” is SOAP and this service is not pure REST. The Service Proxy is exposing REST while the DB adapter is exposed internally as SOAP
  • 34. Create the XSL to map the DB result with the REST/JSON response
  • 35. The DB adapter Response is the Source of the map
  • 36. The Service Proxy Response is the Target of the map
  • 37. Review the Source schema Review the Target schema
  • 38. The xsl:for-each covers the multiple records in the response. Please learn Xpath, Xquery and XSLConnecting the fields by dragging
  • 40. Create the Variables that you will use very soon Create this by drag&drop from Nodes icons on the right
  • 41. Create this by drag&drop from Communication icons on the right Choose the DB adaptor service you created Choose the DB adaptor service you created
  • 42. Choose the DB adaptor service you created Use the variables for Input and Output payload Using Variables provides flexibility to manipulate the service calls as you will see soon enough
  • 43. Remember the XML from the DB Adaptor test? This is where you use it. The CustomerId parameter is provided with Xpath that extract it from the Body. The Assign activity insert a value to a variable. In our case, it creates the Request for the DB Adaptor service The Assign activity insert a value to a variable. In our case, it creates the Request for the DB Adaptor service
  • 44. The Replace takes the response from the DB and converts it to the output of the service by using the XSL you created 1. Choose XSLT Resource from the list 2. Select the XSL you created 3. The variable that will accept the result The part of the Response where everythiong is done The scope of the Replace effect