Hi all, Some time ago I wrote a post on my blog about bpel:flow [1] . There is a perfect example of invoking external Web Service from WS-BPEL.
There is a zip archive provided with both the WS-BPEL process and AXIS2 arr archive (which may be deployed on Apache ODE of course). More details and step-by-step procedure in said article :) cheers, Łukasz [1] http://jee-bpel-soa.blogspot.com/2009/09/ws-bpel-flow-activity-and-parallel.html 2009/9/17 M.Madhaiyan <[email protected]>: > hi Milinda, > i am new to BPEL.. in my system iam using Eclipse 3.4.(Ganymade) with BPEL > designer and Apache ODE server.. i have worked with HelloWord Bpel program, > just using assign activity.. but i want to use invoke activity which should > invoke external web service(such Java WS) and has to reply to client.. > > i don't know how to use the external web service with BPEL invoke activity. > > i have attached SimpleInvoke BPEL.. i downloaded from internet.. i made some > changes with parner links and their corresponding names space.. > > Regards > M.Madhaiyan. > > On Thu, Sep 17, 2009 at 5:06 PM, Milinda Pathirage > <[email protected]> wrote: >> >> Hi Madhaiyan, >> >> What is you problem? If you can explain it we'll be able to help you. >> >> Thanks >> Milinda >> >> On Thu, Sep 17, 2009 at 4:20 PM, M.Madhaiyan <[email protected]> wrote: >> >> > hi, >> > i have problem with partner links of various web services in BPEL using >> > Eclipse and Apache ODE.. can anybody help me to resolve that problem.. >> > >> > Regards >> > M.Madhaiyan >> > >> > >> > On Wed, Sep 16, 2009 at 5:05 PM, Daniela Butano <[email protected] >> > >wrote: >> > >> > > >> > > >> > > Hi Ode team, >> > > I've installed Apache-Ode 2 beta2 as a war, I've copied the extension >> > > ode-extensions-e4x and his libraries in Web-INF/lib, I've registered >> > > in >> > the >> > > ode-axis2.properties: >> > > >> > > ode-axis2.extension.bundles.runtime = >> > > org.apache.ode.extension.e4x.JSExtensionBundle >> > > >> > > but when I deploy my process that declares: >> > > >> > > <bpel:extensions> >> > > <bpel:extension >> > > namespace="http://ode.apache.org/extensions/js" >> > > mustUnderstand="yes"/> >> > > </bpel:extensions> >> > > >> > > the following exception has been displayed: >> > > >> > > ERROR - GeronimoLog.error(108) | Deployment of >> > > SimpleExtensionAssign-17 >> > > failed, aborting for now. >> > > org.apache.ode.bpel.iapi.ContextException: Deployment failed within >> > > the >> > > engine. >> > > at >> > > >> > > org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:308) >> > > at >> > > >> > >> > org.apache.ode.axis2.deploy.DeploymentPoller.check(DeploymentPoller.java:144) >> > > at >> > > >> > >> > org.apache.ode.axis2.deploy.DeploymentPoller.access$300(DeploymentPoller.java:55) >> > > at >> > > >> > >> > org.apache.ode.axis2.deploy.DeploymentPoller$PollingThread.run(DeploymentPoller.java:188) >> > > Caused by: org.apache.ode.bpel.iapi.BpelEngineException: Deployment of >> > > process "{test.extension}SimpleExtensi >> > > nAssign-18" failed. The process model requires the engine to >> > > understand >> > > language extensions defined by http:/ >> > > ode.apache.org/extensions/js. No extension bundle has been registered >> > for >> > > this namespace. >> > > at >> > > org.apache.ode.bpel.rtrep.v2.RuntimeImpl.init(RuntimeImpl.java:67) >> > > at >> > > >> > >> > org.apache.ode.bpel.engine.ODEProcess$HydrationLatch.doHydrate(ODEProcess.java:1253) >> > > at >> > > >> > >> > org.apache.ode.bpel.engine.ODEProcess$HydrationLatch.access$200(ODEProcess.java:1215) >> > > at >> > > >> > >> > org.apache.ode.bpel.engine.ODEProcess$HydrationLatch$2.run(ODEProcess.java:1226) >> > > at >> > > org.apache.ode.bpel.engine.NStateLatch.latch(NStateLatch.java:89) >> > > at >> > > org.apache.ode.bpel.engine.ODEProcess.hydrate(ODEProcess.java:847) >> > > at >> > > >> > >> > org.apache.ode.bpel.engine.BpelServerImpl.register(BpelServerImpl.java:383) >> > > at >> > > org.apache.ode.axis2.ODEServer.handleEvent(ODEServer.java:626) >> > > at >> > > org.apache.ode.axis2.ODEServer.access$100(ODEServer.java:91) >> > > at >> > > >> > >> > org.apache.ode.axis2.ODEServer$ProcessStoreListenerImpl.onProcessStoreEvent(ODEServer.java:613) >> > > at >> > > >> > >> > org.apache.ode.store.ProcessStoreImpl.fireEvent(ProcessStoreImpl.java:517) >> > > at >> > > >> > >> > org.apache.ode.store.ProcessStoreImpl.fireStateChange(ProcessStoreImpl.java:523) >> > > at >> > > >> > > org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:301) >> > > ... 3 more >> > > >> > > Is there something else that I need to do? >> > > >> > > Tanks in advance >> > > >> > > Daniela Butano >> > > >> > > >> > > >> > >> >> >> >> -- >> Milinda Pathirage >> Senior Software Engineer & Product Manager WSO2 BPS; http://wso2.org/bps >> WSO2 Inc.; http://wso2.com >> E-mail: [email protected], [email protected] >> Web: http://mpathirage.com >> Blog: http://blog.mpathirage.com > >
