This document provides an overview and instructions for running a sample that invokes an Informix stored procedure from an Oracle SOA Suite 11g composite. The sample creates database tables and a stored procedure in an Informix database. It then generates and deploys a SOA composite containing a BPEL process that invokes the stored procedure through a database adapter. The BPEL process takes a department name as input and returns employee data matching that department from the database.
Data Seeding via Parameterized API RequestsRapidValue
A quick guide on how to data seed via parameterized API requests. Parameterization is very important for automation testing. It helps you to iterate on input data with multiple data sets that make your scripts reusable and maintainable. In few scenarios, you can still manage with hard coded request but the same approach will not work out where sheer count of combinations is to be validated. By implementing the right solution, you can keep your code base and test data size at ideal range and still savor the benefits of optimal coverage.
Using the SharePoint Framework as a surface to express yourself through client side solutions is great but at some point in time, you will require that this beauty you built interacts with APIs holding data that lives within the Office 365 environment. In this session, you will learn how to utilize and optimize your calls to SharePoint via its REST APIs, to the Microsoft Graph and to external services that you might find useful to deliver a rich experience in your solution. You will also learn about how to simplify those calls using the Community-Driven library PnP JS Core that aims to save your time (and sanity) by simplifying the access to the SharePoint REST APIs and to the Microsoft Graph. Goodbye URLs, hello intellisense!
18 Invaluable Lessons About ADF-JSF InteractionSteven Davelaar
While coaching ADF development teams over the years, Steven has noticed that many developers lack a thorough understanding of the JSF lifecycle and how ADF optimizes this lifecycle in specific situations. As a result ADF developers who are tasked to build a seemingly simple ADF page, get extremely frustrated by the -in their eyes- unexpected or unlogical behavior of ADF.
Using simple examples, this presentation teaches you step-by-step 18 invaluable lessons which will greatly enhance your insight in how ADF and JSF work together under the covers. With this knowledge you will build your pages quicker and better, while avoiding some common mistakes.
DF12 - Process Orchestration using Streaming API and Herokuafawcett
The Streaming API can provide near real time updates on changes to any object data in an organisation. In this session we will demonstrate and share code for a custom Process Orchestration solution powered by the Streaming API and Heroku. Using this solution users can define criteria which the platform will apply to monitor records created or updated by users in real time. The session will demonstrate an example process using REST services taken from those offered by many of todays leading REST API providers including Salesforce.
Oracle ADF is a very powerful framework for building enterprise applications. The framework, however, has no built-in solutions for reporting. In this session, you will learn how to fill this gap by using open source reporting solutions and solutions provided by Oracle.
Polymer 2.0 codelab for extreme beginnersSylia Baraka
a Polymer 2.0 codelab for extreme beginner, this codelab was for the training in the GDG school Algiers 2017
you can find the codelab at : https://github.com/amandaSalander/bookworm-training-polymer2.0
and the very small mini project at https://github.com/amandaSalander/bookworm-training-polymer2.0-devfest
Summary:
1. What’s Polymer ?
2. Web Components
3. Polymer Summit
4. Who use Polymer ?
5. Starting with Polymer
6.Create a Polymer Project
7. Create an element
8. Data binding
9. Custom style & Polymer UI Elements
10. The project
After completing this lesson, you should be able to
do the following:
Describe the types of problem that subqueries can solve
Define subqueries
List the types of subqueries
Write single-row and multiple-row subqueries
http://phpexecutor.com
Data Seeding via Parameterized API RequestsRapidValue
A quick guide on how to data seed via parameterized API requests. Parameterization is very important for automation testing. It helps you to iterate on input data with multiple data sets that make your scripts reusable and maintainable. In few scenarios, you can still manage with hard coded request but the same approach will not work out where sheer count of combinations is to be validated. By implementing the right solution, you can keep your code base and test data size at ideal range and still savor the benefits of optimal coverage.
Using the SharePoint Framework as a surface to express yourself through client side solutions is great but at some point in time, you will require that this beauty you built interacts with APIs holding data that lives within the Office 365 environment. In this session, you will learn how to utilize and optimize your calls to SharePoint via its REST APIs, to the Microsoft Graph and to external services that you might find useful to deliver a rich experience in your solution. You will also learn about how to simplify those calls using the Community-Driven library PnP JS Core that aims to save your time (and sanity) by simplifying the access to the SharePoint REST APIs and to the Microsoft Graph. Goodbye URLs, hello intellisense!
18 Invaluable Lessons About ADF-JSF InteractionSteven Davelaar
While coaching ADF development teams over the years, Steven has noticed that many developers lack a thorough understanding of the JSF lifecycle and how ADF optimizes this lifecycle in specific situations. As a result ADF developers who are tasked to build a seemingly simple ADF page, get extremely frustrated by the -in their eyes- unexpected or unlogical behavior of ADF.
Using simple examples, this presentation teaches you step-by-step 18 invaluable lessons which will greatly enhance your insight in how ADF and JSF work together under the covers. With this knowledge you will build your pages quicker and better, while avoiding some common mistakes.
DF12 - Process Orchestration using Streaming API and Herokuafawcett
The Streaming API can provide near real time updates on changes to any object data in an organisation. In this session we will demonstrate and share code for a custom Process Orchestration solution powered by the Streaming API and Heroku. Using this solution users can define criteria which the platform will apply to monitor records created or updated by users in real time. The session will demonstrate an example process using REST services taken from those offered by many of todays leading REST API providers including Salesforce.
Oracle ADF is a very powerful framework for building enterprise applications. The framework, however, has no built-in solutions for reporting. In this session, you will learn how to fill this gap by using open source reporting solutions and solutions provided by Oracle.
Polymer 2.0 codelab for extreme beginnersSylia Baraka
a Polymer 2.0 codelab for extreme beginner, this codelab was for the training in the GDG school Algiers 2017
you can find the codelab at : https://github.com/amandaSalander/bookworm-training-polymer2.0
and the very small mini project at https://github.com/amandaSalander/bookworm-training-polymer2.0-devfest
Summary:
1. What’s Polymer ?
2. Web Components
3. Polymer Summit
4. Who use Polymer ?
5. Starting with Polymer
6.Create a Polymer Project
7. Create an element
8. Data binding
9. Custom style & Polymer UI Elements
10. The project
After completing this lesson, you should be able to
do the following:
Describe the types of problem that subqueries can solve
Define subqueries
List the types of subqueries
Write single-row and multiple-row subqueries
http://phpexecutor.com
Oracle EBS 12.1.3 : Integrate OA Framework BC4J components within java concur...Amit Singh
Every new release of Oracle EBS in last couple of years has proven that Oracle is relying more and more on Java based technologies to improve their customer experience. Oracle Application Framework (OAF) has been one of the development tool for HTML based self-service application development with in EBS. OAF is not limited to User interface development only. It can be also used in building concurrent program to perform background operation.
Discover how to integrate OA Framework BC4J component within Java concurrent program to perform a background job.
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
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)
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
Open microsoft visual studio/tutorialoutletMitchinson
FOR MORE CLASSES VISIT
tutorialoutletdotcom
1. Open Microsoft Visual Studio.NET.
2. Open the PayrollSystem website by clicking on it in the Recent Projects list, or by pulling down the File menu, selecting Open Website, navigating to the folder where you previously saved the PayrollSystem, and clicking Open.
Previous weeks work has been uploaded as well as any other pieces ne.docxkeilenettie
Previous weeks work has been uploaded as well as any other pieces needed.
Deliverables
All files are located in the subdirectory of the project. The project should function as specified: When you visit the Personnel form page (frmPersonnel.aspx), a record should be saved in the tblUserActivity table with the IP address, form name accessed (frmPersonnel), and the date accessed. When you click the View Activity button, you should see at least one record with this information. When the user goes to the frmPersonnel web form and enters data, the following business rules are to be enforced.
Fields may not be empty or filled with spaces. If any field is empty, turn that field background color to yellow and add to/create an error message to be shown in the error label.
The end date must be greater than the start date. If the end date is less than the start date turn both date fields yellow and add to/create an error message to be shown in the error label.
If all fields validate properly, then the session state items should be set properly and the user should see the frmPersonnelVerified form with all the values displayed. You will also add a new item to frmMain that will take the user to the new frmUserActivity form you added. Add the proper link and a hyperlinked image to allow the user to select this new option. Once you have verified that everything works, save your website, zip up all files, and submit it.
STEP 1: Step Title
1. Open Microsoft Visual Studio.NET.
2. Open the PayrollSystem website by clicking on it in the Recent Projects list, or by pulling down the File menu, selecting Open Website, navigating to the folder where you previously saved the PayrollSystem, and clicking Open.
3. Download the PayrollSystem_DB.accdb file from the Files section and save it on your local computer. (Note: your operating system may lock or block the file. Once you have copied it locally, right click on the file and select Properties and then Unblock if available). Then add it to the PayrollSystem website as follows: In Visual Studio, in the
Solution
Explorer click Website, Add Existing Item, then navigate to the PayrollSystem_DB.accdb file you downloaded, and click the Add button.
Make sure you select file types, which include *.accdb, *.accdb, etc. Otherwise, you will not be able to see the database file to select.
4. Now we need to create a new connection to the PayrollSystem_DB.accdb. To begin, click View Server Explorer.
5. When the Server Explorer toolbox appears, click the Connect to Database button.
6. When the Add Connection dialog appears, click the Change button. In the Change Data Source dialog, select MS Access Database File; Uncheck Always use this Selection; then click OK.
Press Continue to get the following screen.
7. Click the Browse button to navigate to the PayrollSystem_DB.accdb file in your website folder, then click Open. (NOTE: Be sure you select the PayrollSystem_DB.accdb file in your PayrollSystem website folder ...
CIS407AWk2iLabDefault.aspx Greetings and Salutations.docxclarebernice
CIS407AWk2iLab/Default.aspx
Greetings and Salutations. I will master ASP.NET in this course.
CIS407AWk2iLab/Default.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
CIS407AWk2iLab/frmMain.aspx
Academy of Computing and Information Technology
Annual Salary Calculator
Personnel
CIS407AWk2iLab/frmMain.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class frmMain : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
CIS407AWk2iLab/frmPersonnel.aspx
Academy of Computing and Information Technology
CIS407AWk2iLab/frmPersonnel.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class frmPersonnel : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void TextBox2_TextChanged(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
}
}
CIS407AWk2iLab/frmPersonnelVerified.aspx
Academy of Computing and Information Technology
CIS407AWk2iLab/frmPersonnelVerified.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class frmPersonnelVerified : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
txtVerifiedInfo.Text = Request["txtFirstName"] +
"\n" + Request["txtLastName"] +
"\n" + Request["txtPayRate"] +
"\n" + Request["txtStartDate"] +
"\n" + Request["txtEndDate"];
}
}
CIS407AWk2iLab/frmSalaryCalculator.aspx
Academy of Computing and Information Technology
CIS407AWk2iLab/frmSalaryCalculator.aspx.cs
using System;
using Syste ...
This lab is meant to help you explore IBM® Bluemix through hands-on activities. Develop cloud applications using Bluemix is easy, as you can not only write your own code, but also leverage existing cloud services to compose new business features.
See details on the workshop at https://bluelabs.mybluemix.net/workshops/homestead-weather
For further information on Bluemix capabilities, go to https://console.ng.bluemix.net/catalog
Understanding Globus Data Transfers with NetSageGlobus
NetSage is an open privacy-aware network measurement, analysis, and visualization service designed to help end-users visualize and reason about large data transfers. NetSage traditionally has used a combination of passive measurements, including SNMP and flow data, as well as active measurements, mainly perfSONAR, to provide longitudinal network performance data visualization. It has been deployed by dozens of networks world wide, and is supported domestically by the Engagement and Performance Operations Center (EPOC), NSF #2328479. We have recently expanded the NetSage data sources to include logs for Globus data transfers, following the same privacy-preserving approach as for Flow data. Using the logs for the Texas Advanced Computing Center (TACC) as an example, this talk will walk through several different example use cases that NetSage can answer, including: Who is using Globus to share data with my institution, and what kind of performance are they able to achieve? How many transfers has Globus supported for us? Which sites are we sharing the most data with, and how is that changing over time? How is my site using Globus to move data internally, and what kind of performance do we see for those transfers? What percentage of data transfers at my institution used Globus, and how did the overall data transfer performance compare to the Globus users?
Enhancing Research Orchestration Capabilities at ORNL.pdfGlobus
Cross-facility research orchestration comes with ever-changing constraints regarding the availability and suitability of various compute and data resources. In short, a flexible data and processing fabric is needed to enable the dynamic redirection of data and compute tasks throughout the lifecycle of an experiment. In this talk, we illustrate how we easily leveraged Globus services to instrument the ACE research testbed at the Oak Ridge Leadership Computing Facility with flexible data and task orchestration capabilities.
How to Position Your Globus Data Portal for Success Ten Good PracticesGlobus
Science gateways allow science and engineering communities to access shared data, software, computing services, and instruments. Science gateways have gained a lot of traction in the last twenty years, as evidenced by projects such as the Science Gateways Community Institute (SGCI) and the Center of Excellence on Science Gateways (SGX3) in the US, The Australian Research Data Commons (ARDC) and its platforms in Australia, and the projects around Virtual Research Environments in Europe. A few mature frameworks have evolved with their different strengths and foci and have been taken up by a larger community such as the Globus Data Portal, Hubzero, Tapis, and Galaxy. However, even when gateways are built on successful frameworks, they continue to face the challenges of ongoing maintenance costs and how to meet the ever-expanding needs of the community they serve with enhanced features. It is not uncommon that gateways with compelling use cases are nonetheless unable to get past the prototype phase and become a full production service, or if they do, they don't survive more than a couple of years. While there is no guaranteed pathway to success, it seems likely that for any gateway there is a need for a strong community and/or solid funding streams to create and sustain its success. With over twenty years of examples to draw from, this presentation goes into detail for ten factors common to successful and enduring gateways that effectively serve as best practices for any new or developing gateway.
First Steps with Globus Compute Multi-User EndpointsGlobus
In this presentation we will share our experiences around getting started with the Globus Compute multi-user endpoint. Working with the Pharmacology group at the University of Auckland, we have previously written an application using Globus Compute that can offload computationally expensive steps in the researcher's workflows, which they wish to manage from their familiar Windows environments, onto the NeSI (New Zealand eScience Infrastructure) cluster. Some of the challenges we have encountered were that each researcher had to set up and manage their own single-user globus compute endpoint and that the workloads had varying resource requirements (CPUs, memory and wall time) between different runs. We hope that the multi-user endpoint will help to address these challenges and share an update on our progress here.
Listen to the keynote address and hear about the latest developments from Rachana Ananthakrishnan and Ian Foster who review the updates to the Globus Platform and Service, and the relevance of Globus to the scientific community as an automation platform to accelerate scientific discovery.
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Shahin Sheidaei
Games are powerful teaching tools, fostering hands-on engagement and fun. But they require careful consideration to succeed. Join me to explore factors in running and selecting games, ensuring they serve as effective teaching tools. Learn to maintain focus on learning objectives while playing, and how to measure the ROI of gaming in education. Discover strategies for pitching gaming to leadership. This session offers insights, tips, and examples for coaches, team leads, and enterprise leaders seeking to teach from simple to complex concepts.
In software engineering, the right architecture is essential for robust, scalable platforms. Wix has undergone a pivotal shift from event sourcing to a CRUD-based model for its microservices. This talk will chart the course of this pivotal journey.
Event sourcing, which records state changes as immutable events, provided robust auditing and "time travel" debugging for Wix Stores' microservices. Despite its benefits, the complexity it introduced in state management slowed development. Wix responded by adopting a simpler, unified CRUD model. This talk will explore the challenges of event sourcing and the advantages of Wix's new "CRUD on steroids" approach, which streamlines API integration and domain event management while preserving data integrity and system resilience.
Participants will gain valuable insights into Wix's strategies for ensuring atomicity in database updates and event production, as well as caching, materialization, and performance optimization techniques within a distributed system.
Join us to discover how Wix has mastered the art of balancing simplicity and extensibility, and learn how the re-adoption of the modest CRUD has turbocharged their development velocity, resilience, and scalability in a high-growth environment.
A Comprehensive Look at Generative AI in Retail App Testing.pdfkalichargn70th171
Traditional software testing methods are being challenged in retail, where customer expectations and technological advancements continually shape the landscape. Enter generative AI—a transformative subset of artificial intelligence technologies poised to revolutionize software testing.
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Anthony Dahanne
Les Buildpacks existent depuis plus de 10 ans ! D’abord, ils étaient utilisés pour détecter et construire une application avant de la déployer sur certains PaaS. Ensuite, nous avons pu créer des images Docker (OCI) avec leur dernière génération, les Cloud Native Buildpacks (CNCF en incubation). Sont-ils une bonne alternative au Dockerfile ? Que sont les buildpacks Paketo ? Quelles communautés les soutiennent et comment ?
Venez le découvrir lors de cette session ignite
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...Juraj Vysvader
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I didn't get rich from it but it did have 63K downloads (powered possible tens of thousands of websites).
Navigating the Metaverse: A Journey into Virtual Evolution"Donna Lenk
Join us for an exploration of the Metaverse's evolution, where innovation meets imagination. Discover new dimensions of virtual events, engage with thought-provoking discussions, and witness the transformative power of digital realms."
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...informapgpstrackings
Keep tabs on your field staff effortlessly with Informap Technology Centre LLC. Real-time tracking, task assignment, and smart features for efficient management. Request a live demo today!
For more details, visit us : https://informapuae.com/field-staff-tracking/
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Globus
The Earth System Grid Federation (ESGF) is a global network of data servers that archives and distributes the planet’s largest collection of Earth system model output for thousands of climate and environmental scientists worldwide. Many of these petabyte-scale data archives are located in proximity to large high-performance computing (HPC) or cloud computing resources, but the primary workflow for data users consists of transferring data, and applying computations on a different system. As a part of the ESGF 2.0 US project (funded by the United States Department of Energy Office of Science), we developed pre-defined data workflows, which can be run on-demand, capable of applying many data reduction and data analysis to the large ESGF data archives, transferring only the resultant analysis (ex. visualizations, smaller data files). In this talk, we will showcase a few of these workflows, highlighting how Globus Flows can be used for petabyte-scale climate analysis.
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTier1 app
Even though at surface level ‘java.lang.OutOfMemoryError’ appears as one single error; underlyingly there are 9 types of OutOfMemoryError. Each type of OutOfMemoryError has different causes, diagnosis approaches and solutions. This session equips you with the knowledge, tools, and techniques needed to troubleshoot and conquer OutOfMemoryError in all its forms, ensuring smoother, more efficient Java applications.
Globus Connect Server Deep Dive - GlobusWorld 2024Globus
We explore the Globus Connect Server (GCS) architecture and experiment with advanced configuration options and use cases. This content is targeted at system administrators who are familiar with GCS and currently operate—or are planning to operate—broader deployments at their institution.
Cyaniclab : Software Development Agency Portfolio.pdfCyanic lab
CyanicLab, an offshore custom software development company based in Sweden,India, Finland, is your go-to partner for startup development and innovative web design solutions. Our expert team specializes in crafting cutting-edge software tailored to meet the unique needs of startups and established enterprises alike. From conceptualization to execution, we offer comprehensive services including web and mobile app development, UI/UX design, and ongoing software maintenance. Ready to elevate your business? Contact CyanicLab today and let us propel your vision to success with our top-notch IT solutions.
Quarkus Hidden and Forbidden ExtensionsMax Andersen
Quarkus has a vast extension ecosystem and is known for its subsonic and subatomic feature set. Some of these features are not as well known, and some extensions are less talked about, but that does not make them less interesting - quite the opposite.
Come join this talk to see some tips and tricks for using Quarkus and some of the lesser known features, extensions and development techniques.
1. Oracle SOA Suite 11g - Sample
SAMPLE NAME: adapters-db-104-InformixStoredProcedure
COMPONENT: DB Adapter for Stored Procedures
OVERVIEW
This scenario showcases a Database Adapter partner link (Outbound Adapter Service)
that invokes a stored procedure on an Informix instance. The procedure has one input
parameter. The value of the input parameter is used in a SELECT statement that
performs a simple query to return rows from a table. The query is executed and left for
the Stored Procedure Runtime to consume as a JDBC ResultSet.
PROVIDED FILES
Provided are the following files
• Two small SQL scripts that are needed to create the database objects.
• A command-line utility that can be used to generate the BPEL artifacts.
• A file containing properties for generating the BPEL artifacts for this sample.
• The BPEL artifacts that are generated using the command-line utility.
• A completed SOA project that is ready for immediate deployment.
STEP BY STEP INSTRUCTIONS
RUNNING THE PREBUILT SAMPLE
Preparing the Sample Database
Login to dbaccess as informix and create a new database called soainfra. Execute the
following SQL statement using the Query-language tab.
CREATE DATABASE soainfra WITH [BUFFERED] LOG;
Specifying BUFFERED marginally enhances logging performance at the risk of not
being able to re-create the last few transactions after a failure.
2. Oracle SOA Suite 11g - Sample
Note that if you do not specify logging then Dynamic Server creates an unlogged
database that cannot use transactions or the SQL statements that support transaction
logging.
Creating the Tables and the Stored Procedure
The tables and the stored procedure are created using the Query-language tab in
dbaccess. The DDL statements for creating the tables are
CREATE TABLE emp
(
ename VARCHAR(10),
sal INTEGER,
hiredate DATETIME YEAR TO SECOND,
deptno INTEGER
);
CREATE TABLE dept
(
deptno INTEGER,
dname VARCHAR(14),
loc VARCHAR(13)
);
The stored procedure is created using this statement
CREATE PROCEDURE demo(name VARCHAR(14))
RETURNING VARCHAR(10) AS ename,
INTEGER AS sal,
DATETIME YEAR TO SECOND AS hiredate
DEFINE o_ename VARCHAR(10);
DEFINE o_sal INTEGER;
DEFINE o_hiredate DATETIME YEAR TO SECOND;
FOREACH
SELECT ename, sal, hiredate INTO o_ename, o_sal, o_hiredate
FROM emp e, dept d
WHERE e.deptno = d.deptno AND d.dname = name
RETURN o_ename, o_sal, o_hiredate
WITH RESUME;
END FOREACH
END PROCEDURE;
Connect to the soainfra database as informix and execute the contents of ddl.sql and
dml.sql using the Query-language tab in dbaccess.
RUNNING THE SAMPLE
Deploying the BPEL Process
1. Create a new connection instance in the weblogic-ra.xml file.
<connection-instance>
<jndi-name>eis/DB/informix</jndi-name>
<connection-properties>
<properties>
<property>
<name>xADataSourceName</name>
<value></value>
</property>
3. Oracle SOA Suite 11g - Sample
<property>
<name>dataSourceName</name>
<value>jdbc/InformixDataSource</value>
</property>
<property>
<name>platformClassName</name>
<value>oracle.toplink.platform.database.InformixPlatform</value>
</property>
</properties>
</connection-properties>
</connection-instance>
2. Create a new data source for the JNDI name specified via the DatabaseConnection
property to the command-line utility and in the <jndi-name> element of the
connection instance (i.e. informix).
a. Connect to the WebLogic Server Administration Console.
b. Click the “Data Sources” link under the JDBC list item in the Services
section.
c. Enter “InformixDataSource” as the name and use the dataSourceName as
the JNDI Name.
d. Select the Informix Database Type and Oracle’s Informix Driver (Type 4)
Versions: 9.2, 9.3.
e. Select “Logging Last Resource” and uncheck the “Supports Global
Transactions” checkbox.
f. Enter the Connection Properties and click “Test Configuration”.
g. Deploy the data source to the “AdminServer” target.
3. In JDeveloper, right-click the project name and choose “Deploy” then “Deploy to
Application Server”. Accept the default deployment configuration. Check the
“Overwrite any existing composites with the same revision ID” checkbox if an
archive with the same revision ID has already been deployed.
4. Select an existing Application Server or create a connection to a new one. Choose
to deploy the archive to the AdminServer.
5. To verify that the application has been deployed successfully, click the
“Deployment” tab at the bottom of JDeveloper. This will show you the
deployment log.
6. Login to Enterprise Manager. The IfxDemo [1.0] archive will be listed in the
Deployments area.
Figure 1: Successfully Deployed Archive
TESTING THE BPEL PROCESS
4. Oracle SOA Suite 11g - Sample
Click the “IfxDemo [1.0]” link. Click the “Test” button at the top of the page.
Initiate the BPEL process by entering the name of a department from the dept table in
the Request tab.
Figure 2: Initiate a Test Instance
Click the “Test Web Service” button to initiate the BPEL Process. If the test was
successful, the following output should have been generated.
Figure 3: The result of the BPEL Process execution
Remember that we modeled a one-way BPEL process so there is no response.
VERIFYING EXECUTION
Click the “Launch Message Flow Trace” link. Look at the “Trace” information.
Figure 4: Trace Results from Test Instance
Click the “DemoProcess” link. Expand “<payload>” in the Invoke activity. The
input to and output from the stored procedure invocation will be displayed.
5. Oracle SOA Suite 11g - Sample
Figure 5: The input and output parameter values of the Stored Procedure execution
The value, SALES, was provided as the name of the department. One output value is
produced by the stored procedure. The RowSet captures the rows and columns of the
query in the stored procedure. There are three rows where each row consists of three
columns, ename, sal and hiredate.
BUILDING THE SAMPLE
CONFIGURING THE OUTBOUND ADAPTER SERVICE
1. Launch JDeveloper.
2. Create a new SOA Application called “IfxApp”. Create a project called
“IfxDemo” with SOA Project Technologies selected. Select “Composite with
BPEL”.
3. Create a BPEL process called “DemoProcess” and select “One Way BPEL
Process” from the list of Templates. Leave the “Expose as Composite Service”
box checked.
4. Drag a Database Adapter Service from the list of BPEL Services into the right
“Partner Links” swim lane. Enter “demo” as the Service Name.
5. Create a new Service Connection by clicking the green plus sign icon “+”. Enter
“informix” as the Connection Name. Choose “Generic JDBC”.
6. Oracle SOA Suite 11g - Sample
6. Click “New” in the Generic JDBC Settings area. Click “Browse” in the Register
JDBC Driver dialog. Click “New” to create a new Library.
7. Call the Library “Informix JDBC”. Click “Add Entry” and add the Informix
JDBC driver jar files to the Class Path.
Figure 6: Create a New JDBC Library
8. Enter the Driver Class in the Register JDBC Driver dialog.
Figure 7: Register the JDBC Driver
7. Oracle SOA Suite 11g - Sample
9. Enter “informix” as the username and enter a password. Enter a JDBC URL and
be sure to include the database name.
Figure 8: Create a New Service Connection
10. Click “Test Connection” to verify your connection.
11. Select “Call a Stored Procedure or Function”. Click “Browse” in the Specify
Stored Procedure dialog.
12. Enter “d%” in the Search text box and click “Search”. Select the “demo” stored
procedure.
8. Oracle SOA Suite 11g - Sample
Figure 9: Search for and Select the Stored Procedure
13. Click the Source tab to view the procedure source code.
Figure 10: View the Stored Procedure Source Code
9. Oracle SOA Suite 11g - Sample
14. Click “OK” then “Next”. Click “Next” in the Advanced Options page then
“Finish” to exit the wizard. Click “OK” to finish creating the Partner Link.
GENERATED BPEL ARTIFACTS
The adapter configuration wizard will generate three files. The service WSDL is
demo.wsdl. The name of the XSD will resemble “informix_demo_437.xsd”. The
number appended to the end of the name is an identifier that uniquely identifies the
stored procedure and distinguishes it from other stored procedures. This number also
appears in the generated JCA binding file, demo_db.jca, as an attribute called
“UIOverloadedProcedure”. This unique identifier is necessary to identify stored
procedures, particularly when they are overloaded.
CONFIGURING AN END TO END BPEL PROCESS
1. Configure an Invoke activity to invoke the Partner Link. Drag and drop an
Invoke activity after “receiveInput”. Right click on the Invoke and choose “Edit”.
Name the activity “Invoke”. Use the Flashlight to find and choose the “demo”
Partner Link that was just created.
2. Click “Automatically Create Input Variable” by clicking the green plus sign icon
“+”. Do the same for the Output Variable. Use the default variable names.
Choose the default “Global Variable” radio button and Click “OK” for each
variable. The “General” tab of the Invoke activity should appear as follows.
Figure 11: Configure the Invoke Activity
3. Provide a value for the Input Variable by dragging an Assign activity into the
diagram, positioning it between the receiveInput and Invoke activities. Right
click the assign and choose “Edit”. Choose “Copy Operation” from the dropdown
(the green “+”) in the “Copy Operation” tab to copy the value of the
inputVariable to the input parameter of the stored procedure.
10. Oracle SOA Suite 11g - Sample
Figure 12: Copy the inputVariable to the input parameter of the Stored Procedure
Use the “General” tab to provide a name for the Assign (e.g. “Input”).
4. This completes the modeling of the BPEL Process. The diagramming between
the receiveInput and replyOutput activities should look similar to the following
Figure 13: The complete BPEL Process
5. Click the “composite.xml” tab and choose the “Design” view. The composite
should resemble
11. Oracle SOA Suite 11g - Sample
Figure 14: Complete Composite Structure Design View