BPEL PROCESS in ALBPM Designer - aqualogic.bpm.modeling(Archived)

Hi,
I am new to Aqualogic BPM. I designed a very simple BPEL process in Aqualogic BPM Designer tool 5.7.
My BPEL process is very simple.
There is one assign activity and one invoke activity which invokes external web servcies.
I clicked on the CHECK tool bar icon for the validity of the BPEL process. It is giving the following errors.
1.Missing port type definition for activity 'BpelInvoke'
2.Missing port type definition for activity 'BpelReceive'
3.Missing port type definition for activity 'BpelReply'
The steps I followed are:
1. Created the process
2. Created the Partner Links and Partners for both process interface and the external web servcies.
After that from the process tool bar, I clicked on "Generate Process Interface".
I do not know how to proceed further from here.
I could not find any tutorials on ALBPM designer with BPEL process.
We proposed the solution to one customer recently. I need to make POC using ALBPM.
Request you please help me in this issue.
Regards,
Pandu 

First of all, my recommendation is that if you do not have a strict requirement to go with BPEL, you should use XPDL (normal) process definitions.
Regarding BPEL, the first thing you need is to externally define the WSDL you are going to use in your BPEL process.
You then need to introspect it so you get it inside the project catalog.
Then for each activity, you need to map the "port type" you will use. This defines what operation BPEL will execute.
Hope it helps as a start. But I highly recommend you use regular processes.
--
MAriano Benitez
Join us at BEAParticipate, May 6-9 2007 | Atlanta, Georgia

Related

Questions about web services and BPEL in ALBPM

Hi all,
We are currently evaluating various BPM products in order to decide which one to use. Currently I am evaluating ALBPM Studio 5.7 and I am running my processes on the embedded engine provided with the studio. I have some questions:
1. We want to be able to use complex types for the web services that are generated for processes. Will this limitation be solved any time in the future?
2. We want to be able to use the generated web services directly (that is, without calling the startSession method first). Is that possible?
3. I could not find extensive documentation about developing BPEL processes. There is only one small chapter in the developer documentation about BPEL processes. Is there any more documentation or sample about how BPEL is used in ALBPM?
4. I have developed a very simple BPEL process, but when I try to deploy it, I get the error "Activity BPEL receive does not have any incoming transitions". How can I resolve this issue? I guess it may be a problem about my PartnerLink definition.
5. When I try to catalog a wsdl which imports another wsdl (and when the imported wsdl also imports some xsds from another namespace), I get an error which says that a web service xxx with namespace yyy is not found, but actually the thing named xxx is not a web service but a soap fault. What could be the problem?
6. Is it possible to write a BP method in PBL for a BPEL activity?
Thanks in advance and best regards.. 
I will answer part of your questions
1. Our next major release will support complex types in web services for processes
2. Next major release
3. BPEL is supported as-is, without any extension, the process is used in the same way as a normal XPDL process, with the restrictions of being BPEL.
6. No, you cannot write PBL code in a BPEL process
MAriano
Benitez/BEA/BPM/Beautiful 
5. regarding the import WSDL problem, contact support, there were other issues reported around import functionality, and they are being under review now.
MAriano
Benitez/BEA/BPM/Beautiful 
Thanks a lot for the answer, Mariano..

BPM Newbie

Hi Guys
I am a BPEL guy and just started working on BPM. Being a newbie in BPM field i have few queries which should be able to make me understand the diff between BPEL and BPEM.
1) We created Business Process in BPEL with WS Orchestration, Deployed on BPEL PM Server then invoked the BPEL process with java code. Is it same with BPM? Do we have separate BPM Engine / Server for BPM? Where it is deployed? How is it invoked?
2) Can we call/invoke one BPM process from another BPM process?
3) How to use business rules in BPM?
4) How do we use BPM process in actuall overall project deployment?
5) Can it call any ESB and BPEL process? or can we call a BPM process from ESB or BPEL?
6) Does it also have instances like BPEL? and its versions?
I may have asked some stupid questions here but i am just trying to know how it can help me in understanding the business modelling better.
Many Thanks 
user12128585 wrote:
Hi Guys 1) We created Business Process in BPEL with WS Orchestration, Deployed on BPEL PM Server then invoked the BPEL process with java code. Is it same with BPM? Do we have separate BPM Engine / Server for BPM? Where it is deployed? How is it invoked?There is the dedicate engine for BPM that can run on an application server like WLS, you just have to deploy your projects on the engine in order to have them available.
The processes can be started in may ways: using the workspace (web application that alllows users to interact with processes) running activities (applications) that start the processes, using webservices, using jms listenere and so on. I suggest you to look at the documentation for specific details.
2) Can we call/invoke one BPM process from another BPM process? Of course!
3) How to use business rules in BPM? Just prepare the rules and use them, for instance using business rule based transitions to control the flow of the process...
4) How do we use BPM process in actuall overall project deployment?It depends on your project
5) Can it call any ESB and BPEL process? or can we call a BPM process from ESB or BPEL?Sure with ESB, it's strongly integrated with it. I've no experience with BPEL integration but I know it can be done.
6) Does it also have instances like BPEL? and its versions?It has. Don't know if in BPEL it's the same...
You define a process and then you can run instances of that process. You can modify it and have different versions running on the engine... but it would be too long to discuss here and now.
I may have asked some stupid questions here but i am just trying to know how it can help me in understanding the business modelling better. No question is stupid :)
Hope that this helps.
Giuliano 
Great! I love it!
Thanks Mate!
Few more added to it
--------------------
3) How to use business rules in BPM?
Just prepare the rules and use them, for instance using business rule based transitions to control the flow of the process...
--------------------
the business rule part is still haunting me. Do we add business rules via business rules transition? or the $ sign of inserting business rule? I am acutally looking for a tutorial which tells me how to use BPM business rules.
Thanks
D

Reusable BPM And BPEL sub processes

Hi Heidi,
Is there support for this already? WIll appreciate a tutorial that covers these two topics. In addition if there is any integration between the two other than web services, would be great to have some information on that as well.
regards,
Naresh 
Hi,
The Reusable BPMN process (also referred to as Callable subprocess) and the Call Activity to call this reusable subprocess are not supported in this version but will be supported in a subsequent patch post the 11gR1 release. You need to use Service Tasks to invoke BPEL as well as BPMN processes exposed as a Service. You need to choose the "Async" or "Sync" template for the BPMN process to be exposed as a Service. We will get a sample out to you via the Beta site. 
Could you use Message Throw/Catch Events or Send/Receive Tasks to invoke another process? Is this supported in 11g in the current version? I have not tried to test these yet, but it seems like you could use them to accomplish almost the same thing.
-- Becky Kellinger 
Becky,
Yes. You will be able to use the following type of BPMN activities to enforce IPC (Inter Process Communication):
a) Message Events (Asynchronous)
b) Service Tasks (Synchronous)
c) Send and Receive Tasks (Asynchronous)
d) Signal events (if you are looking more to a broadcast mechanism where multiple target processes may need to be triggered).
Hope this helps !
eduardoc.

Exposing a process as web service on Oracle BPM 11g

Hi!
Does somebody know how can I expose a process as a web service on Oracle BPM 11g? How does it works?
In the version 10.3, when we exposed a process as web service it always had 3 default methods: startSession, getInstanceStatus and discardSession, is it the same in the 11g version?
Where can I found some info about it? Any tutorial?
Thanks a lot!
Ana 
Typically you would use a Message Start event to start the process in conjunction with a Message End event. This will allow your process to be called as an asynchronous web service.
In the "Implementation" section for the start event, you specify the input parameters. You can specify "Define Interface" to directly define the interface, or use an existing interface from the BPM Catalog (the From Catalog option).
For further details on the different event types and their use cases, refer to the modeling and implementation guide:
http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15176/toc.htm
You can test the web service and examine the WSDL and endpoints by using FMW control (Enterprise Manager). In the menu on the left hand side: expand SOA -> SOA-Infra -> <Partition Name> -> Composite Name, then click the "Test" button at the top. 
I am trying to do the same. Have defined the arguments in both start and end and have also done the data association for these arguments. I deployed the composite, went to the EM and tested the webservice. The response tab gives me message "The web service invocation was successful. However, there was no response to the invocation from the server." I was expecting the argument even in the end as a response. Anyways I was able to test if by invoking from another process.
Edited by: Venkat Ram on Jul 21, 2010 3:43 AM 
You don't get a response from the tester in EM because it's an asynchronous invocation.
I believe you can see the output of the corresponding end activity if you view the flow trace in EM by clicking on the instance ID, then the BPMN process, then expand the node for the corresponding activity. 
Hi Venkat!
Do you have any tutorial or manual for this subject(Exposing projects as webservices) ??? I haven't worked in 11g version, and I don't know anything about composite and those things related!
Regards,
Ana 
I have created the message event as described by Mike, but I specified "Synchoronous" for the "Define Interface". I am getting a response time out error because the conversation id is null. Does it mean that exposing a process as webservice can only be invoked from another process (which already has a conversation id), but not from an external application. Or am I missing something?
I am also in the look out for exposing a process as a web service to be consumed by an external application(non-java). 
Are you sure you want to use a synchronous style call?
Typically that's only recommended for very short lived processes involving automatic behavior only. If you have any interactive activities (human tasks) in there then you'll want to be using asynchronous - you don't want the caller blocking indefinitely. 
You are right Mike. I was just trying out both Asynch and Sync. My requirement is that I need to expose the BPMN process as a webservice(async offcourse) and consume it from a non-java application. I do not know how to do it. Is it possible to expose each of the human task and business rules within the BPMN process as a webservice?
Obviously I am a newbie :) 
What exactly is your integration requirement?
Message start/end activities will allow your process to be initiated via an external web service call.
I believe the decision service of a business rule can be exposed as a web service. There should be an option for this in the rule editor. How you locate the actual WSDL and endpoint and make the actual call externally - that I am not sure. You should refer to the business rules documentation:
http://download.oracle.com/docs/cd/E14571_01/soa.htm
To my knowledge there is no way to expose a human task as a web service. There is however a Java API that can be used to programmatically manipulate human task instances.
See section 31 and 32 of the SOA suite developers guide:
http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10224/toc.htm
Javadocs:
http://download.oracle.com/docs/cd/E14571_01/apirefs.1111/e10660/toc.htm

BPM Test suits

I have created BPMN business process, that starts by Initiator task activity.
I wrote test case for it in Jdev, but I can't to compile and run this test, because secton <initiate> requires attribute serviceName with the name of service, which start process instance.
But i have NO exposed service, cause I'm starting instance from bpm workspace!
Tell me please, how can i initiate process instance to run test?
P.S. Oracle SOA Suite 11.1.1.4, Jdev + bpm extensions. 
no solution.
as i supposed 
Having tussled with this same problem, I have come up with these 2 alternative solutions
1. Implement a second Start Event in your BPM process of type Message which takes a payload of the same schema as the output of your Human Task Initiate activity. Join the alternative path to the happy path with a gateway. Now you can start your process by either type of Start event (automated or human)
2. Test your process through its Web UI using an external Web Testing tool, such as Selenium or Oracle's own ATS (http://www.oracle.com/technetwork/oem/app-test/index.html) (part of OEM) 
Please have a look at this post: Re: How to call BPM process from Java
It includes a pointer to an example app posted by the ATeam for a web app that can interact with Worklist and can start BPM11g processes. You may not need the UI part, but there are examples there in the model layer for using APIs to start BPM processes, including those that have only an initiator task (no external message API). The basic model is you call a special form of start process that returns the Task object. You put in the payload and set the outcome via API, which is the same thing (and the same API) that BPM Workspace uses. That would let you drive process creation through the initiator human activity.

Categories

Resources