Getting the service description (WSDL)
Configure Service Bus
Import Resources
Configure Business Service
Config ure the Credit Card Validation Proxy
Configure Message Flow(Validate & Report)
Adding a Pipeline Pair ->Add Stage ->Add Action(Reporting) ->Add Validate Action
What Is React | ReactJS Tutorial for Beginners | ReactJS Training | EdurekaEdureka!
This Edureka tutorial on What Is React will help you in understanding the fundamentals of ReactJS and help you in building a strong foundation in React.
This tutorial will help you learn the following topics:
- What is JavaScript?
- Why ReactJS?
- What Is ReactJS?
- Virtual DOM
- ReactJS Applications
Simple REST-API overview for developers. An newer version is here: https://www.slideshare.net/patricksavalle/super-simple-introduction-to-restapis-2nd-version-127968966
This is a presentation which describe the big picture of the Rest API. In this presentation I simply describe the theories with practical examples. Hope this presentation will cover the overall Rest API domain.
With the growing interest in the API economy, IBM Integration Bus (IIB) has provided many recent enhancements in the area of REST APIs and JSON support. This session will discuss how to create an IIB REST API, either from scratch or starting from a Swagger (OpenAPI specification) document. We will also cover the new JSON Schema support for the Graphical Data Mapper, and the new REST Request node for calling REST APIs from IIB, which can be easily configured by drag-and-drop. Easy integration of IIB Rest APIs with an API Connect catalog is also possible, from both the IIB Toolkit and the IIB Web UI. We will talk through these new capabilities and how they relate to IBM's Application Integration Suite (AIS) solution.
What is REST API? REST API Concepts and Examples | EdurekaEdureka!
YouTube Link: https://youtu.be/rtWH70_MMHM
** Node.js Certification Training: https://www.edureka.co/nodejs-certification-training **
This Edureka PPT on 'What is REST API?' will help you understand the concept of RESTful APIs and show you the implementation of REST APIs'. Following topics are covered in this REST API tutorial for beginners:
Need for REST API
What is REST API?
Features of REST API
Principles of REST API
Methods of REST API
How to implement REST API?
Follow us to never miss an update in the future.
YouTube: https://www.youtube.com/user/edurekaIN
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Castbox: https://castbox.fm/networks/505?country=in
Microservices with Java, Spring Boot and Spring CloudEberhard Wolff
Spring Boot makes creating small Java application easy - and also facilitates operations and deployment. But for Microservices need more: Because Microservices are a distributed systems issues like Service Discovery or Load Balancing must be solved. Spring Cloud adds those capabilities to Spring Boot using e.g. the Netflix stack. This talks covers Spring Boot and Spring Cloud and shows how these technologies can be used to create a complete Microservices environment.
We're in a data-driven economy. Web API designers need to define what and how to expose data from a variety of apps, services, and stores. What are challenges of unlocking data and opening up access in a straightforward and standards-compliant manner? Is OData the right tool for the job?
Join Anant, Brian, and Greg for a discussion of OData, its API design implications, and the pros and cons of OData as an enabler of data integration and interoperability across Data APIs.
We Will Discuss »
- OData, SQL, and the "RESTification" of data - providing a uniform way to expose, structure, query and manipulate data using REST principles.
- Opportunity and challenges for OData.
- The questions of Web standards and proprietary versus open tools and protocols.
SCS 4120 - Software Engineering IV
BACHELOR OF SCIENCE HONOURS IN COMPUTER SCIENCE
BACHELOR OF SCIENCE HONOURS IN SOFTWARE ENGINEERING
All in One Place Lecture Notes
Distribution Among Friends Only
All copyrights belong to their respective owners
Viraj Brian Wijesuriya
vbw@ucsc.cmb.ac.lk
This file contains the Spring Framework introduction.
Mainly about what is Spring Framework and its components, feature, advantages with a simple program example.
The java persistence API provides a specification for persisting, reading, and managing data from your java object to your relational tables in the database. JPA specifies the set of rules and guidelines for developing interfaces that follow standards.
Stormpath .NET Developer Evangelist, Nate Barbettini, presents Token Authentication with ASP.NET Core. Nate will explain how Token Authentication can be used to secure web applications built with ASP.NET Core, REST APIs, and 'unsafe' clients while supporting security best practices and even improving performance and scale.
Troubleshooting and Best Practices with WSO2 Enterprise IntegratorWSO2
This slide deck discusses how to troubleshoot an issue in WSO2 Enterprise Integrator and follow best practices in order to optimize output and avoid failure.
Understanding MicroSERVICE Architecture with Java & Spring BootKashif Ali Siddiqui
This is a deep journey into the realm of "microservice architecture", and in that I will try to cover each inch of it, but with a fixed tech stack of Java with Spring Cloud. Hence in the end, you will be get know each and every aspect of this distributed design, and will develop an understanding of each and every concern regarding distributed system construct.
Where and when to use the Oracle Service Bus (OSB)Guido Schmutz
The Oracle Service Bus (OSB) is part of the Oracle SOA Suite 11g and stands in the center of modern process- and integration-solutions. The lightweight, stateless and high-performant architcture of the OSB turns it into an excellent tool for doing transformation and routing of messages. This presentation explains where and when the usage of the OSB makes sense but also shows the limits of the OSB.
What Is React | ReactJS Tutorial for Beginners | ReactJS Training | EdurekaEdureka!
This Edureka tutorial on What Is React will help you in understanding the fundamentals of ReactJS and help you in building a strong foundation in React.
This tutorial will help you learn the following topics:
- What is JavaScript?
- Why ReactJS?
- What Is ReactJS?
- Virtual DOM
- ReactJS Applications
Simple REST-API overview for developers. An newer version is here: https://www.slideshare.net/patricksavalle/super-simple-introduction-to-restapis-2nd-version-127968966
This is a presentation which describe the big picture of the Rest API. In this presentation I simply describe the theories with practical examples. Hope this presentation will cover the overall Rest API domain.
With the growing interest in the API economy, IBM Integration Bus (IIB) has provided many recent enhancements in the area of REST APIs and JSON support. This session will discuss how to create an IIB REST API, either from scratch or starting from a Swagger (OpenAPI specification) document. We will also cover the new JSON Schema support for the Graphical Data Mapper, and the new REST Request node for calling REST APIs from IIB, which can be easily configured by drag-and-drop. Easy integration of IIB Rest APIs with an API Connect catalog is also possible, from both the IIB Toolkit and the IIB Web UI. We will talk through these new capabilities and how they relate to IBM's Application Integration Suite (AIS) solution.
What is REST API? REST API Concepts and Examples | EdurekaEdureka!
YouTube Link: https://youtu.be/rtWH70_MMHM
** Node.js Certification Training: https://www.edureka.co/nodejs-certification-training **
This Edureka PPT on 'What is REST API?' will help you understand the concept of RESTful APIs and show you the implementation of REST APIs'. Following topics are covered in this REST API tutorial for beginners:
Need for REST API
What is REST API?
Features of REST API
Principles of REST API
Methods of REST API
How to implement REST API?
Follow us to never miss an update in the future.
YouTube: https://www.youtube.com/user/edurekaIN
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Castbox: https://castbox.fm/networks/505?country=in
Microservices with Java, Spring Boot and Spring CloudEberhard Wolff
Spring Boot makes creating small Java application easy - and also facilitates operations and deployment. But for Microservices need more: Because Microservices are a distributed systems issues like Service Discovery or Load Balancing must be solved. Spring Cloud adds those capabilities to Spring Boot using e.g. the Netflix stack. This talks covers Spring Boot and Spring Cloud and shows how these technologies can be used to create a complete Microservices environment.
We're in a data-driven economy. Web API designers need to define what and how to expose data from a variety of apps, services, and stores. What are challenges of unlocking data and opening up access in a straightforward and standards-compliant manner? Is OData the right tool for the job?
Join Anant, Brian, and Greg for a discussion of OData, its API design implications, and the pros and cons of OData as an enabler of data integration and interoperability across Data APIs.
We Will Discuss »
- OData, SQL, and the "RESTification" of data - providing a uniform way to expose, structure, query and manipulate data using REST principles.
- Opportunity and challenges for OData.
- The questions of Web standards and proprietary versus open tools and protocols.
SCS 4120 - Software Engineering IV
BACHELOR OF SCIENCE HONOURS IN COMPUTER SCIENCE
BACHELOR OF SCIENCE HONOURS IN SOFTWARE ENGINEERING
All in One Place Lecture Notes
Distribution Among Friends Only
All copyrights belong to their respective owners
Viraj Brian Wijesuriya
vbw@ucsc.cmb.ac.lk
This file contains the Spring Framework introduction.
Mainly about what is Spring Framework and its components, feature, advantages with a simple program example.
The java persistence API provides a specification for persisting, reading, and managing data from your java object to your relational tables in the database. JPA specifies the set of rules and guidelines for developing interfaces that follow standards.
Stormpath .NET Developer Evangelist, Nate Barbettini, presents Token Authentication with ASP.NET Core. Nate will explain how Token Authentication can be used to secure web applications built with ASP.NET Core, REST APIs, and 'unsafe' clients while supporting security best practices and even improving performance and scale.
Troubleshooting and Best Practices with WSO2 Enterprise IntegratorWSO2
This slide deck discusses how to troubleshoot an issue in WSO2 Enterprise Integrator and follow best practices in order to optimize output and avoid failure.
Understanding MicroSERVICE Architecture with Java & Spring BootKashif Ali Siddiqui
This is a deep journey into the realm of "microservice architecture", and in that I will try to cover each inch of it, but with a fixed tech stack of Java with Spring Cloud. Hence in the end, you will be get know each and every aspect of this distributed design, and will develop an understanding of each and every concern regarding distributed system construct.
Where and when to use the Oracle Service Bus (OSB)Guido Schmutz
The Oracle Service Bus (OSB) is part of the Oracle SOA Suite 11g and stands in the center of modern process- and integration-solutions. The lightweight, stateless and high-performant architcture of the OSB turns it into an excellent tool for doing transformation and routing of messages. This presentation explains where and when the usage of the OSB makes sense but also shows the limits of the OSB.
Building complex, decoupled server side applications leans in the end to an ESB like architecture. SwarmESB provides such architecture for agile companies that already have node.js skills available. Swarm communication is an abstraction over message queues and can help you reduce costs and risks related to migrating to a SOA/ESB architecture.
SOA Suite 12c - Service Bus new features summaryLucas Jellema
This presentation discusses (and demonstrates) some of the details on Service Bus in SOA Suite 12c. It is no longer called OSB, it does not use Eclipse as its IDE (but JDeveloper instead), it integrates [a little] with MDS, it can use the XSL Mapper. It has easier access to JCA Adapters. And most of all: through the new concept of Service Bus Pipelines - it has become much easier to create and manage complex message flows. Pipelines can be based on templates - which makes it easy to reuse functionality.
Oracle SOA Suite 11g Mediator vs. Oracle Service Bus (OSB)Guido Schmutz
With Oracle SOA Suite 11g the old Oracle ESB become the Mediator component. With that only one "real" service bus resides, the Oracle Serivce Bus (OSB), which has been taken over from BEA (used to be Aqualogic Service Bus).
Mediator and OSB have some overlapping funcitonality, like transformation, routing and filtering. The question automatically raised is of course when to use which component. This presentation shows the difference between the components, the functionality they provide and some typical use cases for both.
This lesson describes the whole exercise from the perspective of a Process Developer
defining Human Task Services, System Services, Business Rules, Conditional Logic, Script Tasks and binding them to the process activities. We will also generate and customize User Interface Forms. Lastly, we will deploy the BPM process to the BPM Suite’s runtime engine.
• Create a new ADF Skin and check Skin values being used
• Change the page background and font family
• Update the look and feel for table headers and links
• Change the pane body and shape of tabs
• Implement dynamic skin change
The tutorial describes the following topics in detail
CREATING AN ADF APPLICATION
DEPLOYING & RUNNING ADF APPLICATION ON WEBLOGIC SERVER
ADF DATA VISUALIZATION COMPONENTS
CREATING MORE COMPLEX BUSINESS COMPONENTS
CREATING MULTIPLE PAGE WEBSITES – PAGE FLOWS
CREATING JEE5 STATELESS SESSION EJBS
CREATING JAX-WS WEB SERVICES
ADDING THE NEW SERVICES INTO THE ADF APPLICATION
DATA VALIDATION (OPTIONAL)
Complete guide with step-by-step instructions to create a BPEL application using JDeveloper 11g, deploy and test the BPEL application on OFM SOA Suite 11g
Writing simple web services in java using eclipse editorSantosh Kumar Kar
This is a simple steps showing how you can write a simple web service, host into a server, write a client class to access the service on web server. Just for a beginners...
The following depicts the automatic automatic migration of administration and managed server in case of failure
This concept is useful very useful in site failover as well as managed server failover
We have used the Virtual IP and Virtual Hostname concept
1. Oracle Service Bus – Lesson 1
Name – Rakesh Gujjarlapudi
Email Address – rakesh_gujj@yahoo.com
2. The link for the OSB console is
http://localhost:7001/sbconsole (login with weblogic/welcome1)
The link for the EM Fusion Middle Control console is
http://localhost:7001/em (login with weblogic/welcome1)
The link for the Weblogic console is
http://localhost:7001/console (login with weblogic/welcome1)
BEFORE VIRTUALIZATION WITH OSB
AFTER VIRTUALIZATION WITH OSB
Once completed, the overall Message Flow of the Oracle Service Bus Proxy should look like the following
picture.
3. Creating Connection to Oracle WebLogic Server in JDeveloper
Launch JDeveloper
From the Application Menu, select New.
In the New Gallery, in the Categories tree, select
General, and then Connections.
Select Application Server Connection
Click OK.
The Create Application Server Connection Type
page is displayed.
Enter MyAppServerConnection in the Connection
Name field and select WebLogic 10.3 from the
Connection Type list.
Click Next
4. The Connection Authentication page is displayed.
Enter weblogic for the User Name and the
password welcome1 for that administrator in the
Password field.
Click Next.
The Configuration page displays.
Enter the following values:
Weblogic Hostname (Administration Server):
localhost
Port: 7001
WLS Domain: soa_osb_domain
Click Next.
The Test page displays.
Click Test Connection.
The following status should appear
If the test is unsuccessful, ensure that Oracle
WebLogic Server status is RUNNING, and retry the
test.
Click Next, and in the Finish page, click Finish.
You will see the connection in the Resource Palette
5. Load SOA Composite solutions into JDeveloper
Need to load three SOA Composites into
JDeveloper
1. POProcessing
2. CreditCardValidation
3. ConsumeJMSFulfillmentApp
From the Application Menu, select Open, Browse
to the application location as shown below to load
the application into JDeveloper. Let us start with
the POProcessing application
Repeat Step 1 for CreditCardValidation and
ConsumeJMSFulfillmentApp applications.
Deploying Composites to the Application Server
After you open the composite application, you can
deploy it to the server
The Deploy command rebuilds the app and writes
the binary to disk. It also brings up the deployment
plan dialog before deploying. When the server is
stopped and restarted, the applications will
remain deployed.
In the project menu – right-click on the
POProcessing project name - select Deploy. Make
sure you have the project menu and not the
application menu in order to see this option
Select Deploy to Application Server.
6. Click Next. If you redeploy the same composite
multiple times then check Overwrite any existing
composites with the same revision ID if you intent
to just test and hence over write the existing
deployed version of the composite. This will
render existing instances Stale
Click Next. Do not check ApproveTaskDetails.
Check ApproveTaskDetails if you are trying the
tutorial on your local machine and deploying
POProcessing composite the first time
Select the MyAppServerConnection to deploy. If
the Application Server connection does not show
up in the list, click on on the top right. This should
display the MyAppServerConnection as shown
below.
Click Next
7. Click Finish
Next the application is built and deployed. If there
are no compilation errors, you will see on the SOA
log, BUILD SUCCESSFUL and then the deployment
starts.
In the Deployment log, view the details of the
deployment.
Wait for your application to be deployed
Repeat Steps 1 – 12 for CreditCardValidation and
ConsumeJMSFulfillmentApp applications. You
select the other composites from the Application
Navigator as shown below
You are now ready to test the composites
8. Running and Verifying the application with EM
Open your browser and navigate to EM.
http://localhost:7001/em
(The first time these screens are run after starting
the server they will be slow as they are unpacked,
compiled, and loaded into memory.)
Login with weblogic/welcome1 (or appropriate
password for your environment)
The Enterprise Manager opens to the “farm” view.
You can see the status of your Server as well as the
deployed Java applications and SOA composites.
Select validationForCC composite from the list of
composites on the main farm view or on the left
navigation bar. The composite page opens.
On this page, you can see the Recent Instances
(none yet), Faults, the Component Metrics (there
is
only one component in this composite), and the
Services and References Metrics
9. Click Test button at the top of the screen. The Test
page opens.
You can see the WSDL location, Operations list,
and two tabs, Request and Response.
Scroll down to the Input Arguments section.
The first time you click on Test you might get the
following error. You can ignore this error. Click on
Test
again
Specify your values for the payload. You can use
the HTML form on the Tree View, which is default,
or the XML source on the XML View. For smaller
amounts of the data, using the HTML form view is
probably easier. But for large payloads, it's easier
to copy-and-paste your data into the XML View.
Enter the data “1234-1234-1234-1234” and click
Test Web Service.
When the composite completes, the screen
changes to the Response tab and the returned
value shown. From here, you can jump directly to
this particular composite instance and view the
flow.
Click Launch Message Flow Trace
The Flow Trace screen opens and you can see the
flow of your composite and the status of each
service, component and reference
10. Click on the component to drill down into the
Instance Details of the component
Close the Flow Trace window, click on your
composite to return to the composite page. You
can see your
Instance ID listed. You can return to the Flow Trace
screen by selecting the Instance ID.
Getting the service description (WSDL)
You can get the service description, or WSDL, of your composite from the Test page. This is useful because you
may need it for applications to access your service, or to expose your service to others.
Open the Test page for the composite you are interested in.
In the Test page you see the WSDL location. You also can see the Endpoint URL for each of the Operations
defined in the WSDL.
11. 1. Configure Service Bus
Import Resources
Check to see if the SOA-OSB server is running. Make sure your credit card validation service is running
Log into OSB Web Console (http://localhost:7001/sbconsole) username weblogic, password: welcome1
Click Create button in left hand corner of screen to start a new session. In OSB, all changes are done in a
sandbox called a session. You first create the sandbox by creating a session in the change center. After a
set of related changes are done, you deploy all the changes in the session as a unit by clicking Activate in
Change Center.
We first need to create a project with sub folders. We could create it in the console, but instead we will
import this to illustrate how configuration can be imported into OSB. If you chose to go directly to the
solution, you can import the solution in the same way. Scroll down the left hand pane and click System
Administration.
Click Import Resources (selected by default).
Click Browse and navigate to in your local file system. Select chap-1-starting-sbconfig.jar. Click Next
then Import
Click the Activate button to commit the OSB configuration change.
12. Then click the Submit button
Click Project Explorer then Project Folders. You should see a top level project called Credit_Services with
sub folder BusinessServices.
Click Create in the Change Center to start a new session to start adding the required resources.
Click Credit_ Services. Add ProxyServices folder and Resources folder under Credit_Services folder by
typing the folder names in the Enter New Folder Name field and pressing Add Folder. When
finished your project structure looks as depicted below.
Navigate to the Resources folder. Click on Create Resources drop-down box and select Bulk - Resources
from URL.
You will import resources from the WSDL URL of SOA Suite Server. You can simply paste the URL of the
WSDL into the URL/Path field as depicted below. The precise URL to the WSDL file can be obtained from
the validationForCC test page in Enterprise Manager console ( http://localhost:7001/em ) or by clicking
the icon noted in the graphic below.
13. Be sure to remove any version numbering. It will be something like this.
http://orabpm-server:7001/soa-infra/services/default/validationForCC/getStatusByCC?W SDL
Click Next. Click Import. You now have imported the WSDL and schema needed to create the
Business Service for the credit validation service on Oracle Service Bus.
Configure Business Service
A business service defines the interface and connection information for an endpoint OSB invokes. It is
similar to a composite reference.
Navigate to the BusinessServices folder. From the Create Resources drop-down, select Business Service.
14. On the General Configuration tab, fill in the Service Name and Description.
Click the Browse button. This will bring up the window to select WSDL for the Business Service.
Click on link to WSDL imported in previous step, ValidateCredit_WSDL.
15. Select the execute_pt under the Ports and then press Submit.
Click Next through each of the remaining configuration screens.
Review options available to business services. Accept all of the defaults.
Finally, on last screen showing all the options together in a table format, scroll down and press Save
(don’t forget this step and navigate away from this page before hitting Save or you’ll lose your changes).
16. From the Project Explorer view, Click on your new Business Service.
Click on Operational Settings Tab at top of page.
Check the box Enabled next to Monitoring.
Change the aggregation interval to greater than ten minutes.
Enabling monitoring will collect metrics for your service such as average response time, average TPS and
number of errors. You can define SLA alerts on these metrics.
17. The aggregation interval defines how often metrics will roll over. Generally for demos, you want to
select something longer than 10 minutes, say 25 to 30 minutes.
Note all the operational settings can be set at fine-grained Service level.
Click Update button to save your changes.
Activate your changes by clicking the Activate button in left hand corner of screen.
Add a Description to document what was done. This will help you identify later in the Change Center in
case you would like to undo or re-do your changes.
Click Submit. You are now ready to test your first OSB Business Service!
Select the next to your new Business Service to bring up the Test Console.
Before proceeding, ensure you can invoke the validationforCC service deployed to SOA.
Set the credit card number to 1234-1234-1234-1234. The test XML should look like this.
<cca:creditcardStatusRequest mlns:cca="http://www.globalcompany.com/ns/CCAuthorizationService">
<cca:CCNumber>1234-1234-1234-1234</cca:CCNumber>
</cca:creditcardStatusRequest>
Click Execute button.
19. Configure the Credit Card Validation Proxy
A proxy service is the OSB mediation logic that virtualizes the endpoints OSB routes to and decouples it
from the client. We will first just create a proxy service exposed to the client that just routes to the
business service. Later we will add more logic in the proxy service.
Click the Create button in the Change Center to start a new session.
Navigate to the ProxyServices folder. Click on Create Resources drop-down box and select Proxy Service.
On General Configuration page, Service Name ValidateCredit. For the easiest way to create the
Proxy Service Routing to a Business Service follow Step 33. For the more lengthy process follow Steps
On the General Configuration page, Select Create From Existing Service, Select Business Service and click
on Browse to select the business service, validationForCC, you created. Click Last and Click Save (Don’t
miss clicking Save).
20. Click Activate on left hand side of screen to commit your changes to the session. Click Submit. You
are now ready to test your new Proxy!
Navigate to the new Proxy Service and click on the to bring up the Test Console for the Proxy
Service. You can click on to see the Message Flow logic for the Proxy Service
Cut and paste the same XML you used to test the validationForCC business service, or enter the credit
card number of “1234-1234-1234-1234 into the Payload text box.
Click on the Execute button. You should see output similar to when you tested your Business Service
directly. Close the “Proxy Service Testing” window when complete.
Configure Message Flow.
Navigate to the newly created Proxy Service via Project Explorer.
Click on Create to start a new session in the Change Center.
Click on the Message Flow icon next to ValidateCredit. This will take you to the Message Flow
Notice a Route node has already been created to pass-through to the validateforCC business service.
21. Next you will add one stage (Stage allows grouping of related actions) with two actions to the Message
Flow.
Validate action will validate the incoming request payload against a schema type definition and if the
validation fails, you will configure an error handler to signal the failure
Report action will track incoming messages and stream data as it arrives from the POProcessing
composite
Click on the envelope above ValidateCredit Select Add Pipeline Pair.
Click on left Request_Pipeline and select Add Stage.
Click on new Stage and select Edit Stage.
22. Now we will add 2 Actions, Report and Validate. The Report action allows you to record any payload
elements along with key-value pairs to a database.
Validate action will allow us to check for valid input to credit card validation service and throw an error
if invalid input message is detected.
Click on Add Action->Reporting->Report.
You will see the Report action as below
Fill in fields as follows:
Expression: $body (Click on <Expression>, Enter $body in text area, Click Save) Click Add a key:
KeyName: CCNumber
Key Value: ./cca:creditcardStatusRequest/cca:CCNumber
To specify the Key Value, Click <XPath>
23. Either cut paste the above XPATH value into the text area OR select Variable Structures on the left
bottom. Select body from Drop Down, Expand $body – execute (request) and select CCNumber (as
shown in the figure below)
The Property Inspector field will be populated with the XPath as shown below. Click on Copy Property
to copy the XPath automatically into the text area above. (Make sure the cursor is in the text area
before you click Copy Property for the copy to work)
Click Save
In the in variable field type body and Click Save
Add Validate Action – Click on Stage icon and Select Edit Stage, Add an Action – Message
Processing – Validate
24. Fill in fields.
XPath: ./* (dot slash star)
variable: body
Resource: XMLSchema_-1537259875* ( Element = "creditcardStatusRequest" )
Note: the schema resource name will not match exactly as the name specified above as the name
includes hash code, which is generated based on the URL
Click Save Button.
Navigate to top of message flow and click on envelope.
Select Add Service Error Handler.
Click on Error Handler
Select Add Stage.
Click on stage and select Edit Stage.
25. Click on Add Action -> Reporting->Alert
Configure the Alert as depicted below and click on Save All.
Activate the session in Change Center.
Re-wire POProcessing Composite
Next you'll open your POProcessing composite and fix the getCreditCardStatus reference to invoke Oracle
Service Bus.
Open JDeveloper if not already open. Navigate to the POProcessing application.
Double-click the composite.xml within “SOA_Content” folder in left hand pane open the Composite editor.
26. Double click the getCreditCardStatus reference link. In the Update Reference dialog click the icon
next to the WSDL URL field. In the SOA Resource Browser select Resource Palette from the drop down. Expand
the IDE Connections tree to select the ValidateCredit Proxy Service from OSB as shown below. Alternatively, you
can also create a WSIL Connection to OSB (http://orabpm- server:7001/sbinspection.wsil) and browse the Proxy
Service.
Click OK. This will populate the WSDL URL pointing to the OSB ValidateCredit Proxy Service
27. Click OK
Save the composite.xml and Re-deploy the POProcessing Composite. To keep things simple, be sure to overwrite
any existing composites of the same version, as shown here. Also, do not forget to leave the ADF Task Flow un-
selected.
You are now ready to test your end-to-end scenario with Oracle Service Bus.
Test the end-to-end application
After deploying, in the EM console, click on the POProcessing application and then open the Test page.
You might get the following error when navigating in the Enterprise Manager FWM Control. You can ignore this
error and simply repeat the action again
28. Click XML View.
Create a large order which the Mediator will route to the BPEL approval process.
Copy the entire contents and paste them into the large text field in your browser:
Click Test Web Service.
Navigate back to the Oracle Service Bus console. Log in. Navigate to Operations
Review the Message Reports. You will see the report as shown below