BPEL

Creating a HumanTask in BPEL – Part 2: Deployando and testing process

In the previous post I showed how we can create the process until the call HumanTask within the BPEL, here I explain step by step how you should deploy and how do we test our process.

See the links below to check the other parts:

Click the right button then on top of your HumanTaskBpel project, then click Deploy and choice HumanTaskBpel

Imagem Blog UansCarvalho

Click below Next >

Imagem Blog UansCarvalho

Below check the overwrite any existing composites with the same revision ID and uncheck Keep running instances on after redeployment and click Next >

Imagem Blog UansCarvalho

Just click below Next >

Imagem Blog UansCarvalho

Below check your domain, in my case this named localhost and click Next 

Imagem Blog UansCarvalho

Click Next Again

Imagem Blog UansCarvalho

Then click Finish

Imagem Blog UansCarvalho

Wait for the Deployment Come guide the message

—-  Deployment finished.  —-

Imagem Blog UansCarvalho

Now click your HumanTaskBpelWEB design and logo up on my Application click Deploy and then HumanTaskBpelWEB…

Note: Here be aware that the web projects can not do a normal deployment where we deploy by clicking the right button as the WEB projects must be made via deploy Application, ie, the Application menu

Imagem Blog UansCarvalho

Click below Next >

Imagem Blog UansCarvalho

Below check your domain, in my case this to localhost name and click Next 

Imagem Blog UansCarvalho

Click below Next >

Imagem Blog UansCarvalho

Now click Finish

Imagem Blog UansCarvalho

Will be presented the following screen, then place the following:

  • Repository Name: mds-soa
  • Partition Name: soa-infra
  • Respository: mds-soa
  • Partition: soa-infra

Then click Deploy

Imagem Blog UansCarvalho

If the message below click Yes

Imagem Blog UansCarvalho

Wait for the Deployment Come guide the message

—-  Deployment finished.  —-

Imagem Blog UansCarvalho

Let us now test our process.

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

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

Login, click on your project: HumanTaskBpel [1.0]  and click Testar

Imagem Blog UansCarvalho

Below is passing the value 7 is the number of my employee code which the process will search in my database

Imagem Blog UansCarvalho

In the upper right corner of the screen, then click Testar Web Service 

Imagem Blog UansCarvalho

Now in your browser go to the address http://localhost:10000/integration/worklistapp/faces/login.jspx

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

Login to the weblogic user that was what defined in HumanTask and see our Task created

Imagem Blog UansCarvalho

Then click on the Task and see below for our screen fields filled with the result of our select.

Imagem Blog UansCarvalho

Doubts ? Leave your comment :-)

Hugs and see you 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

2 Comments

  • Juan Pablo Lozano

    Nice article bro! you know, i am trying to deploy de Web UI part to a different domain and got differents errors refered to a JNDI :'( you know how to deploy the Web UI part in different domain???

    Thank you very much!

    A big hug 😀

  • Uans

    Hello john

    I’m glad you liked the Article, I believe that JNDI errors are directly linked to configuration issues in the database with your domain .. take a look at the BPEL Console (localhost: port / console) and double-check your settings Database, especially as it relates to XA and NonXa connections .. of a deals on this in google.

    To deploy WEB in different domains you can manually deploy the console to the left side of the screen by clicking Deployments.

    Without seeing the problem up close is really a little difficult but I hope to be able to help in some way …

    Then tell me if it all worked out …

    Hugs

    Uans

Leave a Reply

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