Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[bpel-dev] question about deployment to Apache ODE

Thanks, Jonathan! I am trying now and will let you know the result.

as for the documentation of ODE, it's not very detailed. also the examples coming with ODE are not
very useful. the "HelloWorld" is too simple, another two use two BPELs that I am not interested.

Thanks again and have a good weekend,
Sammy



--- bpel-dev-request@xxxxxxxxxxx wrote:

> Send bpel-dev mailing list submissions to
> 	bpel-dev@xxxxxxxxxxx
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://dev.eclipse.org/mailman/listinfo/bpel-dev
> or, via email, send a message with subject or body 'help' to
> 	bpel-dev-request@xxxxxxxxxxx
> 
> You can reach the person managing the list at
> 	bpel-dev-owner@xxxxxxxxxxx
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of bpel-dev digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: Re: question about deployment to Apache ODE (Jonathan Coogan)
>    2. Re: How can I refer to the org.eclipse.bpel.model package?
>       (Jonathan Coogan)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Wed, 24 Oct 2007 11:04:49 -0700
> From: Jonathan Coogan <Jonathan.Coogan@xxxxxxxxxxxxxx>
> Subject: Re: [bpel-dev] Re: question about deployment to Apache ODE
> To: Simon D Moser <SMOSER@xxxxxxxxxx>,	"BPEL Designer project
> 	developer discussions." <bpel-dev@xxxxxxxxxxx>
> Cc: bpel-dev-bounces@xxxxxxxxxxx
> Message-ID: <C344D751.314E%Jonathan.Coogan@xxxxxxxxxxxxxx>
> Content-Type: text/plain;	charset="ISO-8859-1"
> 
> 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
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Back to the top