BPEL

Hello World BPEL

I know that for many create a simple Hello World BPEL is a very basic thing but yet for many it is also a form of power assimilate the main foundations of JDeveloper tool.

But here we go 😀

Note: Using Jdevelper 11.1.1.6.0

Click File >> New

Imagem Blog UansCarvalho

Will open a screen like below:

Then select Generic Project

Imagem Blog UansCarvalho

Project Name HelloWorldBpel place and select the SOA Technologies Project name and click the small arrow> to the name go right and be as below:

Note: See the Directory that it will automatically fill in the name will be created where the project name you entered in the Project Name

In my case: /home/uans/jdeveloper/mywork/UansBlogApplication/HelloWorldBpel

Click Next and then:

Imagem Blog UansCarvalho

Below click Finish leaving the Composite Template in Empty Composite

Imagem Blog UansCarvalho

Voalá” His first project with HelloWorldBpel name was created as follows:

Imagem Blog UansCarvalho

Now right click Componets> Insert> BPEL Process

Imagem Blog UansCarvalho

Click BPEL 2.0 Specification

In place name HelloWorldBPELProcess

In Template select Synchronous BPEL Process and click OK

Imagem Blog UansCarvalho

Now double click on HelloWorldB

Imagem Blog UansCarvalho

Will open a screen as below:

On the right side in BPEL Constructs drag the icon with the Assign name to below receiveInput and release

Imagem Blog UansCarvalho

Double click on Assign1, will open a screen as below, then click the + in outputVariable your RIGHT hand to get client:result string

Right-click client:result string and click Expression

Imagem Blog UansCarvalho

In the screenshot below click on the + sign in inputVariable to get client:input and click Insert Into Expression

Imagem Blog UansCarvalho

Advanced Functions String Functions select, select concat and click Insert Into Expression then set its Expression to look like below:

concat(‘Hello ‘,$inputVariable.payload/client:input)

Now click OK

Imagem Blog UansCarvalho

Right-click the Projects tab HelloWorldBpel left side of the screen

Click Deploy >> HelloWorldBpel

Imagem Blog UansCarvalho

Click Next

Imagem Blog UansCarvalho

Select the Overwrite any existing composites with the same revision ID

Uncheck the option Keep running instances on after redeployment as follows and click Next

Imagem Blog UansCarvalho

In Application Servers select localhost and click Next

Imagem Blog UansCarvalho

Click Next again:

Imagem Blog UansCarvalho

Click Finish

Imagem Blog UansCarvalho

Follow below in Deployment – Log below the screen if the deploy will be successfully completed

Note: You should see the message —- Deployment finished. —-

Imagem Blog UansCarvalho

In your browser go to http: http://localhost:10000/em

Note: The port 10000 is the number that I chose to create my Domain.

Login:

Imagem Blog UansCarvalho

Click your project: HelloWorldBpel[1.0] and right click the Test

Imagem Blog UansCarvalho

Below in input put your name in my case Uans and click Test Web Service

Imagem Blog UansCarvalho

Check the result of your first project done in BPEL

Imagem Blog UansCarvalho

 

Hugs and to the Next

/:-D

 

 

Criei este Blog destinado a desenvolvedores e interessados na Tecnologia Oracle SOA Suite, minha idéia é que no futuro ele sirva de referência para Analistas e Desenvolvedores desde aprendizes a especialistas. Já existem alguns Posts interessantes que abordam um pouco do meu dia a dia, no passar do tempo irei alimentar este Blog com o máximo de informações possíveis, por isso peço por gentileza aos interessados e afins que caso tenham alguma dúvida, sugestão ou crítica que me digam para que eu possa da melhor forma suprir as expectativas e na medida do possível sanar todas as duvidas que vierem a surgir ou até mesmo criar novos Posts abordando algum tópico que venha a ser relevante para todos os interessados. Obrigado Uans Carvalho

Leave a Reply

Your email address will not be published. Required fields are marked *