Friday Jul 24, 2015

SOA 12c – Using Maven for SOA Projects deployment by Silva

clip_image002In this post, we will see creation of SOA application/projects using the maven archetypes. And we will use local Maven Repository for the demonstration.

Navigate to %MW_HOME%\oracle_common\plugins\maven\com\oracle\maven\oracle-maven-sync\12.1.3 and use following commands to sync your local repository:

mvn install:install-file -Dfile=oracle-maven-sync-12.1.3.jar -DpomFile=oracle-maven-sync-12.1.3.pom

mvn com.oracle.maven:oracle-maven-sync:push -Doracle-maven-sync.oracleHome=%MW_HOME%

Update your archetype catalog using:

mvn archetype:crawl -Dcatalog=C:\Users\<<uname>>\.m2\archetype-catalog.xml

Generate SOA Application and project as shown below. This generates SOA application test-soa-application with  project test-soa-project.

mvn archetype:generate -DarchetypeGroupId=com.oracle.soa.archetype -DarchetypeArtifactId=oracle-soa-application -DarchetypeVersion=12.1.3-0-0 -DgroupId=org.my.test -DartifactId=test-soa-application -DprojectName=test-soa-project -Dversion=1.0-SNAPSHOT

Import this maven project in JDeveloper using File –> Import and select the Maven Project option as shown below. Click OK.

Give your application directory as Root Directory which brings up all POMs and select other options as shown below. Click OK. Read the complete article here.

SOA & BPM Partner Community

For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn image[7][2][2][2] Facebook clip_image002[8][4][2][2][2] Wiki

Wednesday Jul 22, 2015

Document Editor – Defining a custom message (Part 1 of 3) b2b SOA Suite by Bernardo Cabaços

clip_image002Oracle Document Editor is an application used for creating and testing document definitions for Oracle B2B.

The document definition (ECS) file is required in B2B for translating and validating documents.

With Document Editor you are able to create new guideline documents or use a template from the comprehensive library of standards available for download. You can download Document Editor and the standard definitions available here.

The available document guideline templates include EDI, HL7, positional flat file (which includes some SAP iDocs), XMLSchema and so on, as seen below.

Thanks to the countless templates available you can easily and quickly create a message definition (ECS) and respective XSD to import to B2B. Making the necessary changes if needed.

Below is an example of a message definition from the template library.

However, specially with Positional Flat File (PFF) messages, you might have to create a custom definition.

In this post I will go through the steps needed to create a custom PFF document definition in Document Editor. This post will be divided in 3 parts, in the first part I will focus on Message Segments', afterwards I'll cover the Field's types and properties, finalizing with testing and XSD generation.

Let's start by creating an empty definition. Read part I here and read part II here.

SOA & BPM Partner Community

For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn image[7][2][2][2] Facebook clip_image002[8][4][2][2][2] Wiki

Tuesday Jul 21, 2015

Purging and partitioned schemas by Christian

SOA Suite 11g and 12c both require regular database maintenance for optimal performance. A key task in managing your SOA Suite database is a regular purging strategy. You should be doing this, so read the Oracle SOA Suite database growth management strategy if you haven’t already: http://www.oracle.com/technetwork/middleware/bpm/learnmore/soa11gstrategy-1508335.pdf

One of the best practices for managing large SOA Suite applications is to use Oracle Database partitioning. In 11g this is usually a fairly ad-hoc setup, though the whitepaper has everything you need to know about setting it up; in 12c, the “LARGE” RCU profile is partitioned (with monthly partitions).

Purging a partitioned schema usually involves running the check and move scripts, to ensure your partitions don’t contain “LIVE” data (based on your retention policy), followed by dropping the “OLD” partitions and rebuilding the indexes.

However, there are times where you may want to run a purge to clean up data that doesn’t neatly align with the partitions, for example in a load testing environment. The purge scripts, by default, won’t touch any table that is partitioned. If your favourite table isn’t mentioned in the purge debug log output (example below), then it is probably because it is partitioned.

To force the purge scripts to consider partitioned tables, you need to enable the “purge_partitioned_component” flag to the “delete instances” purge function (see below). The purge script will then purge partitioned tables.

Obviously, this is not intended for regular production use and it should never be used there.

An example invocation with the flag set:
soa.delete_instances(max_runtime => 300, min_creation_date => to_timestamp('2000-01-01','YYYY-MM-DD'), max_creation_date => to_timestamp('2000-12-31','YYYY-MM-DD'), purge_partitioned_component=TRUE);

The example output below is from a soa.delete_instances run that has a partition on composite_instance. Note that there is no mention of composite_instance in the output. Read the complete article here.

SOA & BPM Partner Community

For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn image[7][2][2][2] Facebook clip_image002[8][4][2][2][2] Wiki

Monday Jul 20, 2015

CI using Oracle Fusion Middleware 12C: Part 2. Building a SB and SOA project using maven and the MDS by Hugo Hendriks

clip_image001In the part 1 I have shown how to setup a simple CI environment and how to build a Service Bus project using Maven. In this part I will try to make a release pipeline which builds, deploys, tests, packages and release a whole service using Jenkins and if all successful and finally install the artifact in Nexus.

Lets start where we left of. Startup Tomcat and log into Jenkins. We need some sort of plugin to be able to run multiple actions in a sequence. Jenkins has alot of plugins but the one which I am going to use is the MultiJob one. Go to Manage Jenkins->Manage plugins, choose the available tab, check the Multijob plugin and click Install without restart.

The multi-job plugin can chain jobs together and share variables and artifact between jobs. You can make very intricate jobs but for now I will keep it simple. I will make 1 job that will:

  1. Build the service bus component which also refers to a SharedObjects project and deploy it to my server
  2. Build the soa component which also refers to the MDS and deploy it to my server
  3. Run the matching soap ui test
  4. If succesfull, install the artifact to nexus

I have created a simple HelloService which first goes to the SB and then routes to a SOA component. The SB component makes use of a SharedObjects SB project which holds the WSDL and XSD. This project is setup so you don’t have to sync between this project and the MDS. This because the SB isn’t able yet to access the MDS. The SOA component does nothing else the return a string response. So the setup will look like this: Read the complete article here.

SOA & BPM Partner Community

For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn image[7][2][2][2] Facebook clip_image002[8][4][2][2][2] Wiki

Sunday Jul 19, 2015

REST-enable existing SOAP services with Oracle SOA Suite 12c – free online training

REST-Enabling SOA with Oracle Service Bus 12c clip_image001clip_image002

clip_image004In this tutorial, you REST-enable a service by using an application that validates credit cards. The application validates the requested authorization amount for the credit card number, and it returns the response in XML or JavaScript Object Notation (JSON) format, the common data formats for mobile devices.

REST-Enabling SOA with Oracle SOA Suite 12c clip_image001[1]clip_image002[1]

In this tutorial you integrate REST operations as service-binding components and reference-binding components in SOA composite applications. You REST-enable a service by using Oracle SOA Suite 12c and an application that validates credit cards. The application validates the requested authorization amount for the credit card number, and it returns the response in XML or JavaScript Object Notation (JSON) format, the common data formats for mobile devices.

SOA & BPM Partner Community

For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn image[7][2][2][2] Facebook clip_image002[8][4][2][2][2] Wiki

Saturday Jul 18, 2015

How to use the Domain Value Map (DVM) in Oracle Service Bus 12c by Jan van Zoggel

Introduction

clip_image002Due to the tighter integration of Oracle Service Bus 12c in the whole Oracle SOA Suite product it’s now much easier for developers to use general SOA Suite components like the Domain Value Map (DVM).

Getting Started

First I use the OSB 12c clone project ability to copy th earlier created/blogged OSB 12c Database adapter project and create a project named GetCaseServiceDVM. In the new project we add a Domain Value Map (DVM):

The file name and description speak for themself. The Initial DVM Entries forces us to define the minimum amount of 2 domain names (source and target of our value) and if we want we can inmediately configure the 1st record here.

The result is a DVM file in our project which we can easily edit within JDeveloper 12c.
For this blogpost we will add 2 records which will allow us to translate the value “1” and “2” which we receive from the database to a basic description of that value. Read the complete article here.

SOA & BPM Partner Community

For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn image[7][2][2][2] Facebook clip_image002[8][4][2][2][2] Wiki

Thursday Jul 16, 2015

Salesforce und SAP verbinden – Webcast July 31st 2015

imageOPITZ Consulting Presents: Salesforce und SAP verbinden – Die Oracle Integrationsplattform in der Cloud oder On-Premise

Join the Webcast July 31st 2015 10.00-11.00 am GMT

Highlights

Auch in Deutschland gewinnt das Thema Cloud an Fahrt. Zunehmend werden Softwarepakete als SaaS-Lösungen gleich in der Cloud angeschafft, weil die Vorteile, sich nicht um den Betrieb kümmern zu müssen und die damit einhergehende Flexibilität, starke Treiber sind nicht nur in der IT, auch in den Fachbereichen. Diese SaaS-Systeme müssen mit der bestehenden Anwendungslandschaft integriert werden: schnell, übersichtlich, qualitativ hochwertig und wartungsoptimal.
Dieses Webinar stellt Möglichkeiten und Architekturen vor, wie eine Integration mit Cloudsystemen aussehen kann und diskutiert auch gleich die Frage, ob die passende Integrationsplattform dann nicht auch in der Cloud stehen sollte. iPaaS ist hier das magische neue Buzzword: Integration Platform as a Service.
Wir zeigen an einem Livebeispiel mit der Oracle BPM Suite 12c/ SOA Suite 12c, wie sich Salesforce als Cloudsystem und SAP als typische On-Premise Installation für den Anwendungsfall des Ordermanagements miteinander verbinden lassen.

For details please visit the registration page here.

SOA & BPM Partner Community

For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn image[7][2][2][2] Facebook clip_image002[8][4][2][2][2] Wiki

Deploying SOA Suite 12c artifacts from Nexus by Maarten Smeets

clip_image001SOA Suite 12c introduces Maven support to build and deploy artifacts. Oracle has provided extensive documentation on this. Also there already are plenty of blog posts describing how to do this. I will not repeat those posts (only shortly describe the steps). What I couldn’t find quickly enough though was how to deploy artifacts from an artifact repository to an environment. This is a task often done by provisioning software such as Puppet or Jenkins. Sometimes though you want to do this from a command-line. In this post I’ll briefly describe steps required to get your Continuous Delivery efforts going and how to deploy an artifact from the Nexus repository to a SOA Suite runtime environment.

Preparations

In order to allow building and deploying of artifacts without JDeveloper, several steps need to be performed. See the official Oracle documentation on this here: http://docs.oracle.com/middleware/1213/soasuite/develop-soa/soa-maven-deployment.htm#SOASE88425.

Preparing your artifact repository

Optional but highly recommended
  • install and configure an artifact repository (Nexus and Artifactory are both popular. For Nexus see: http://books.sonatype.com/nexus-book/reference/install.html)
  • configure your settings.xml file in your .m2 folder in order provide information about your artifact repository (for a default Nexus installation described here)

Read the complete article here.

SOA & BPM Partner Community

For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn image[7][2][2][2] Facebook clip_image002[8][4][2][2][2] Wiki

Technorati Tags: Maarten Smeets, SOA Suite 12c, artifacts

Wednesday Jul 15, 2015

Managing Idempotence in SOA Suite by Waslley Souza


clip_image002According to the SOA Suite 12c documentation, an idempotent activity is an activity that can be safely retried. It means if your BPEL Process fails, a rollback operation will be executed and all data won’t be persisted in the database. OK, but sometimes you want to persist some data even your BPEL Process fails. How can you achieve it? Set the operation as nonidempotent and the Dehydration will occur after this operation. In this post, you will learn how to set an operation as nonidempotent. As a starting point, let’s use the application created here: Using DB Adapter in SOA Suite 12c. We will add a new Database Adapter to manage the jobs table, and when we try to add a new employee with a new job, the job will be persisted even if the BPEL Process fails. Download the sample application: SOAIdempotentApp.zip. Open the EmployeeProject file. To create the Database Adapter, right-click External References section, and choose Insert > Database. In Step 1, set the name as JOBSDbReference and click Next. hIn Step 2, choose the Database Connection, set the JNDI Name and click Next. In Step 3, choose Insert Only and Select By Primary Key options, and click Next. Read the complete article here. SOA & BPM Partner Community For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center. Blog Twitter LinkedIn image[7][2][2][2] Facebook clip_image002[8][4][2][2][2] Wiki

Tuesday Jul 14, 2015

Upgrading to SOA 12c and details of the next UKOUG Middleware SIG by Simon Haslam

clip_image002SOA 12c is the most important release of Oracle's flagship integration product set that we've seen for 5 years (when 11g was launched). Oracle has also now produced the first SOA 12c bundle patch-set (12.1.3.0.1) so in my opinion any new SOA installations should definitely be using 12c, and existing 11g users should be seriously considering upgrading to take advantage of the many new features.

For administrators what is particularly nice about this release is that a lot of work has clearly een put into the upgrade process, building on some of the changes introduced in WebLogic 12.1.2. The upgrade is actually surprisingly straightforward - in outline you have to:

  • Carefully review pre-requisites and do any purging of old instances
  • Install Fusion Middleware Infrastructure and SOA Suite 12c into a new Oracle home
  • Shut down SOA 11g, backup repository and domain home
  • Run RCU to install the new 12c schemas into the existing repository alongside the 11g ones
  • Run the Upgrade Assistant to upgrade the 11g schemas, including running instance data, to 12c format
  • Run the new Reconfiguration Wizard against the 11g domain home to rewire for the 12c home
  • Run the Upgrade Assistant a second time to upgrade some infrastructure components
  • If you have modified setDomainEnv,sh etc you will need to re-apply the changes
  • Backup repository and domain home, then start up SOA

Of course you may only have short-lived processes so be able to drain down the old SOA 11g system and switch over to a brand new SOA 12c system running in parallel, in which case the above upgrade is probably unnecessary.

The above does not consider migration from SOA Suite 10g to 11g/12c which is much more complicated and, if you've not already done it by now, a project in itself. Plus I've not mentioned Service Bus or BAM yet but we'll describe in more detail in a week's time... Read the complete article here.

SOA & BPM Partner Community

For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn image[7][2][2][2] Facebook clip_image002[8][4][2][2][2] Wiki

About





Search

Archives
« July 2015
SunMonTueWedThuFriSat
   
11
30
31
 
       
Today