[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [bpel-dev] Re: question about deployment to Apache ODE
|
As for the Ode deployment descriptor, you should take a look at the user
guide (
http://ode.apache.org/user-guide.html#UserGuide-DeploymentDescriptor) and
then look at the examples that come with Ode.
A deployment descriptor for your project might look something like this:
<?xml version="1.0" encoding="UTF-8"?>
<deploy xmlns="http://www.apache.org/ode/schemas/dd/2007/03"
xmlns:ns1="http://eclipse.org/bpel/sample"
xmlns:ns2="http://www.ebi.ac.uk/WSWUBlast">
<process name="ns1:sBlast">
<active>true</active>
<provide partnerLink="client">
<service name="ns1:sBlastService" port="sBlastPort"/>
</provide>
<invoke partnerLink="blast">
<service name="ns2:WSWUBlastService" port="WSWUBlast"/>
</invoke>
</process>
</deploy>
On 10/24/07 12:11 AM, "Simon D Moser" <SMOSER@xxxxxxxxxx> wrote:
> Hi Sam,
>
> the standard BPEL way is that you create two variables: v1in and v1out,
> both typed to the messages that ws1 expects ( given that ws1 is a
> request-response operation). Then v2in and v2out, typed to the messages
> that ws2 expects. Now the messages behind the variables all have the
> correct namespaces etc.
> After invoking ws1 you add an assign that copies the contents of v1out to
> v2in, and then use v2in to call ws2.
> There are simplifications to that method (eg. using the fromPart / toPart
> notation), but these are not yet supported im M3 (planning to support
> fromPart/toPart in M4). Any other solution to that problem is proprietary
> and does not conform to the BPEL specification.
>
> HTH
> Simon
>
> Simon Moser, M.Eng.
>
>
>
> Websphere Integration Mail: IBM Deutschland Entwicklung
> Developer Development smoser@xxxxxx. GmbH
> Team Lead BPEL Editor com Vorsitzender des
> Dept. 4722, Bldg. Phone: Aufsichtsrats: Martin Jetter
> 71032-01, Room 086 +49-7031-16-43 Geschäftsführung: Herbert
> Websphere Solutions and 04 Kircher
> Services Fax: Sitz der Gesellschaft:
> IBM Deutschland +49-7031-16-48 Böblingen
> Entwicklung GmbH 90 Registergericht: Amtsgericht
> Schönaicherstr. 220, D Stuttgart, HRB 243294
> 71032 Boeblingen
>
>
>
>
>
>
>
>
>
>
> sam wang
> <samwzm@xxxxxxxxx
>> To
> Sent by: Michal Chmielewski
> bpel-dev-bounces@ <michal.chmielewski@xxxxxxxxxx>
> eclipse.org cc
> Jonathan Coogan
> <Jonathan.Coogan@xxxxxxxxxxxxxx>,
> 24.10.2007 03:39 "BPEL Designer project developer
> discussions."
> <bpel-dev@xxxxxxxxxxx>
> Please respond to Subject
> "BPEL Designer [bpel-dev] Re: question about
> project developer deployment to Apache ODE
> discussions."
> <bpel-dev@eclipse
> .org>
>
>
>
>
>
>
>
> thanks for the quick reply and help, Michal!
>
> As for the namespace problem, I think it is a big and common problem. For
> example, we want to make
> a simple BPEL, there are two web services--ws1 and ws2. ws1 is invoked
> first and then ws2 is
> invoked. In order to make this simple BPEL work, ws1's output must be
> compatible with ws2's input.
> However, usually ws1's namespace is different with ws2's, there is no way
> to feed ws1's output
> directly into ws2's input. As I know, it's a really painful process to
> configure namespace when I
> try to use ActiveBPEL designer. Taverna(http://taverna.sourceforge.net/)
> seems solve this problem
> very well. However, it's not a BPEL designer. It uses XScufl workflow
> language. So I guess
> namespace is a common problem for BPEL process, and I don't know how to
> solve this problem. Does
> there anyone know how Eclipse BPEL designer handles this problem?
>
> Thanks!
> Sammy
>
>
>
>
> --- Michal Chmielewski <michal.chmielewski@xxxxxxxxxx> wrote:
>
>> sam wang wrote:
>>> Hi, Jonathan and Michal,
>>>
>>> Sorry to interrupt you. I got a problem about deployment Eclipe BPEL
> process to Apache ODE.
>>>
>>> I use Eclipse BPEL designer to create a simple bpel process which only
> invokes one remote
>>> Bioinformatics web service(wublast). Its receive and reply activities
> are placed in the
>> process
>>> body. The caller will resume execution as soon as the receive activity
> is performed by the
>> BPEL
>>> process. In another word, it's a synchronized process.
>>>
>>> I tried to deploy this simple bpel process to Apache ODE. However, I
> got confused when I try
>> to
>>> write the deployment descriptor (attached).
>>>
>> I have not looked at how the Apache ODE deployment descriptor is to be
>> written.
>>> Firstly, how to handle namespace? There will be multiple namespaces in
> a BPEL process. For
>>> example, the process itself will have its own namespace, each web
> service has its own
>> namespace.
>>> In order to feed webservice1's output to webservice2's input, the
> namespace should be handled
>>> with. However, I am not sure how to deal with it. Any idea or
> suggestion will be greatly
>>> appreciated!
>>>
>> How about [in BPEL] a couple of variables, one that is of type
>> message-1-from-service-1 the other that is of type
>> message-2-from-service-2 and an assign somewhere between the receive and
>> invoke ?
>>
>> Or am I missing something here .... ?
>>
>>>
>>> Secondly, how to handle the client interface automatically generated by
> Eclipse BPEL? For the
>>> client interface, do I have to write <provide>|<invoke> for it? If so,
> can I skip the <service
>>> name> for it, since the client interface is not a real web service, and
> I don't know what to
>> put
>>> as the service. I wonder if there is any chance that Jonathan can help
> me write a deployment
>> file
>>> of Apache ODE based on the process files attached with this email.
>>>
>> I'll let Jonathan handle this one for now if he may.
>>> Michal, could you please let me know the current status? For example,
> when M4 will be
>> available? I
>>> expect that M4 release will offer help about deployment, right?
>>>
>> I think the only I can say with confidence about M4 is that it is being
>> worked on. Not sure about dates at this point. Simon and Co. could
>> provide some more feedback regarding the text editor integration into
>> the BPEL designer.
>>
>>
>>> Thank you very much!
>>> Sammy
>>>
>>>
>>>
>>>
>>> __________________________________________________
>>> Do You Yahoo!?
>>> Tired of spam? Yahoo! Mail has the best spam protection around
>>> http://mail.yahoo.com
>>
>>
>> --
>> Michal Chmielewski, CMTS, Oracle Corp,
>> W:650-506-5952 / M:408-209-9321
>>
>> "Manuals ?! What manuals ? Son, it's Unix, you just gotta know."
>>
>>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> bpel-dev mailing list
> bpel-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/bpel-dev