I've done that and am still getting errors deploying my BPEL process. I
hope I did it correctly. Do you think I can send you my files? It is a
very small test.
By the way, I do see a CBP file being generated.
Thanks for the help.
Khanh
I am getting the following errors:
DEBUG - BpelEngineImpl.registerProcess(190) | Register process:
serviceId={http:
//ode/bpel/unit-test.wsdl}VersionService:Version,
process=BpelProcess[{http://od
e/bpel/unit-test}BPELProcess1 in {DeploymentUnit BPELProcess1}]
DEBUG - BpelProcess.activate(714) | Activating
{http://ode/bpel/unit-test}BPELPr
ocess1
ERROR - BpelServerImpl.deploy(660) | Deployment of process
"{http://ode/bpel/uni
t-test}BPELProcess1" from
"C:\Tomcat5.0.28\webapps\ode-axis2-war-2.0-SNAPSHOT\WE
B-INF\processes\BPELProcess1" failed.
java.lang.NullPointerException
at
org.apache.ode.axis2.hooks.ODEAxisService.extractServiceName(ODEAxisS
ervice.java:94)
at
org.apache.ode.axis2.hooks.ODEAxisService.createService(ODEAxisServic
e.java:48)
at
org.apache.ode.axis2.ODEServer.createService(ODEServer.java:191)
at
org.apache.ode.axis2.BindingContextImpl.activateMyRoleEndpoint(Bindin
gContextImpl.java:69)
at
org.apache.ode.bpel.engine.BpelProcess.activate(BpelProcess.java:717)
at
org.apache.ode.bpel.engine.BpelEngineImpl.registerProcess(BpelEngineI
mpl.java:193)
at
org.apache.ode.bpel.engine.BpelServerImpl.doActivateProcess(BpelServe
rImpl.java:602)
at
org.apache.ode.bpel.engine.BpelServerImpl.deploy(BpelServerImpl.java:
744)
at
org.apache.ode.bpel.engine.BpelServerImpl.deploy(BpelServerImpl.java:
656)
at
org.apache.ode.axis2.deploy.DeploymentPoller.check(DeploymentPoller.j
ava:126)
at
org.apache.ode.axis2.deploy.DeploymentPoller.access$300(DeploymentPol
ler.java:54)
at
org.apache.ode.axis2.deploy.DeploymentPoller$PollingThread.run(Deploy
mentPoller.java:181)
ERROR - DeploymentPoller.check(129) | Deployment of BPELProcess1 failed,
abortin
g for now.
org.apache.ode.bpel.iapi.BpelEngineException: Deployment of process
"{http://ode
/bpel/unit-test}BPELProcess1" from
"C:\Tomcat5.0.28\webapps\ode-axis2-war-2.0-SN
APSHOT\WEB-INF\processes\BPELProcess1" failed.
at
org.apache.ode.bpel.engine.BpelServerImpl.deploy(BpelServerImpl.java:
661)
at
org.apache.ode.axis2.deploy.DeploymentPoller.check(DeploymentPoller.j
ava:126)
at
org.apache.ode.axis2.deploy.DeploymentPoller.access$300(DeploymentPol
ler.java:54)
at
org.apache.ode.axis2.deploy.DeploymentPoller$PollingThread.run(Deploy
mentPoller.java:181)
Caused by: java.lang.NullPointerException
at
org.apache.ode.axis2.hooks.ODEAxisService.extractServiceName(ODEAxisS
ervice.java:94)
at
org.apache.ode.axis2.hooks.ODEAxisService.createService(ODEAxisServic
e.java:48)
at
org.apache.ode.axis2.ODEServer.createService(ODEServer.java:191)
at
org.apache.ode.axis2.BindingContextImpl.activateMyRoleEndpoint(Bindin
gContextImpl.java:69)
at
org.apache.ode.bpel.engine.BpelProcess.activate(BpelProcess.java:717)
at
org.apache.ode.bpel.engine.BpelEngineImpl.registerProcess(BpelEngineI
mpl.java:193)
at
org.apache.ode.bpel.engine.BpelServerImpl.doActivateProcess(BpelServe
rImpl.java:602)
at
org.apache.ode.bpel.engine.BpelServerImpl.deploy(BpelServerImpl.java:
744)
at
org.apache.ode.bpel.engine.BpelServerImpl.deploy(BpelServerImpl.java:
656)
... 3 more
-----Original Message-----
From: Alex Boisvert [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 02, 2006 2:37 PM
To: [email protected]
Cc: [email protected]
Subject: Re: How to create a new BPEL pocess?
You need both. You need to bind both your process endpoints (myRole)
and service endpoints (partnerRole) to service descriptions.
alex
Vo, Khanh wrote:
> I'm a little confuse with the wsdl. Is the wsdl for the BPEL process
or
> for the web service partners that are being invoked?
>
> Khanh
>
> -----Original Message-----
> From: Alex Boisvert [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 01, 2006 7:07 PM
> To: [email protected]
> Cc: [email protected]
> Subject: Re: How to create a new BPEL pocess?
>
>
> Hi Khanh,
>
> To deploy your process with the Axis2 distribution, simply copy all
your
>
> files (.bpel, .xsd, .wsdl) under a subdirectory of the /processes
> directory
>
> In addition to these standard files, you need to provide "deploy.xml"
> that configures your process to use specific services. The easiest is
> to copy an existing deploy.xml, edit the process name and supply
> <provide> and <invoke> elements to fit your process definition.
You'll
> need to bind every partnerlink where you receive messages with a
> <provide> element, and every partnerlink that you invoke with an
> <invoke> element (unless you use dynamic partnerlink assignments).
>
> The hardest part is usually figuring the correct namespaces of the
> services and not making typos in the copy/paste process!
>
> alex
>
>
> Vo, Khanh wrote:
>
>> I created a very simple BPEL process with Oracle's JDeveloper that
>>
> does
>
>> a invoke on Axis's getVersion web service. Now I'm trying to figure
>>
> out
>
>> how to deploy it on ODE. Can anybody help me this this?
>>
>> I'm located in CA.
>>
>> Thanks
>> Khanh
>>
>> -----Original Message-----
>> From: Vo, Khanh [mailto:[EMAIL PROTECTED]
>> Sent: Wednesday, November 01, 2006 11:49 AM
>> To: [email protected]; [email protected]
>> Subject: How to create a new BPEL pocess?
>>
>> Hello everyone,
>>
>>
>>
>> I'm able to run the HelloWorld2 example and was able to make very
>>
> minor
>
>> modifications to it. Now, I want to start a new BPEL process from
>> scratch. Is there documentations on how to do this?
>>
>>
>>
>> Thanks
>>
>> Khanh
>>
>>
>>
>>
>
>
>