Hi Arnaud,

How exactly do you package the service assembly?  Sounds like the wrong
files are being packaged.  Did you try using the Ant scripts in this
directory?

http://svn.apache.org/repos/asf/incubator/ode/trunk/distro-jbi/src/examples/HelloWorld2/

alex


On 3/6/07, Arnaud D <[EMAIL PROTECTED]> wrote:


Hi,

I'm running Ode into Service Mix, but I'm not able to make the helloworld2
sample working;
When the Ode service Unit is deploying, i obtain this error :

/****************   Stack trace ***********************/

ERROR - BpelC                          - error: [Bpel11RequiresWsdl] A
WSDL
document must be specified for a BPEL4WS 1.1 process.
ERROR - ProcessStoreImpl               - Deploy failed; BPEL compilation
errors.
org.apache.ode.bpel.compiler.api.CompilationException: error:
[Bpel11RequiresWsdl] A WSDL document must be specified for a BPEL4WS 1.1
process.
        at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:232)
        at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:325)
        at
org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:125)
        at
org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:95)
        at org.apache.ode.store.ProcessStoreImpl.deploy(
ProcessStoreImpl.java:143)
        at org.apache.ode.jbi.OdeServiceUnit.deploy(OdeServiceUnit.java
:62)
        at org.apache.ode.jbi.OdeSUManager.deploy(OdeSUManager.java:60)
        at

org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly
(DeploymentService.java:527)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(
AutoDeploymentService.java:334)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory
(AutoDeploymentService.java:645)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200(
AutoDeploymentService.java:62)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(
AutoDeploymentService.java:605)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
ERROR - OdeServiceUnit                 - Error deploying process described
by deployment descriptor
"C:\apache-
servicemix-3.1-incubating\apache-servicemix-3.1-incubating\data\smx\service-assemblies\simpleProcess-sa\version_1\sus\OdeBpelEngine\simpleProcess-bpel-su
"
for service unit "simpleProcess-bpel-su".
org.apache.ode.bpel.iapi.ContextException: Deploy failed; BPEL compilation
errors.
        at org.apache.ode.store.ProcessStoreImpl.deploy(
ProcessStoreImpl.java:147)
        at org.apache.ode.jbi.OdeServiceUnit.deploy(OdeServiceUnit.java
:62)
        at org.apache.ode.jbi.OdeSUManager.deploy(OdeSUManager.java:60)
        at

org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly
(DeploymentService.java:527)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(
AutoDeploymentService.java:334)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory
(AutoDeploymentService.java:645)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200(
AutoDeploymentService.java:62)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(
AutoDeploymentService.java:605)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
Caused by: org.apache.ode.bpel.compiler.api.CompilationException: error:
[Bpel11RequiresWsdl] A WSDL document must be specified for a BPEL4WS 1.1
process.
        at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:232)
        at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:325)
        at
org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:125)
        at
org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:95)
        at org.apache.ode.store.ProcessStoreImpl.deploy(
ProcessStoreImpl.java:143)
        ... 9 more

/****************   End stack trace ***********************/



I simply put the HelloWorld2.wsdl, HelloWorld2.bpel and the deploy.xml in
the same directory,
and told maven to build the service unit.




Reply via email to