I un-deployed the process, and re-deployed it with the correct parameters....and it works!!! Thank you!!
P.s. I have to re-deploy the process all times that I shutdown ode?In the future, I'm sure that I'll have other questions....eheh Rodolfo Barbeiro-2 wrote: > > > > According to the exception "Error in deployment descriptor for process" > indicates that there is an error in deploy.xml specifically in the field > "Partner Link ". For this reason recheck your file deploy.xml > > > Can you display the file deploy.xml? > > > > > >> Date: Fri, 6 May 2011 10:41:17 -0700 >> From: [email protected] >> To: [email protected] >> Subject: RE: Problem with invoke block in BPEL and apache ODE >> >> >> Yes, I use Eclipse BPEL designer..The file "deploy.xml" is generated by >> adding an "ODE descriptor" in the BPELproject, and it has to be compiled >> (opening it with an ode descriptor editor) inserting a port, a binding a >> service ecc for each partner link..Is that the same or I have to add >> other >> code? >> It's 3 days that I have this issues,and I try to solve that. The only >> thing >> that I think is that it can be a problem with namespaces...I have to use >> the >> same namespace for the BPEL process and for the service invoked?? >> Sorry for my english :( >> Thanks a lot for your response!! >> >> >> Rodolfo Barbeiro-2 wrote: >> > >> > >> > >> > Hi! >> > >> > You are using Eclipse BPEL Designer? >> > >> > Because Eclipse does not generate the ODE Descriptor correctly, you >> have >> > to do manually. >> > >> > >> > For example: >> > >> > deploy.xml >> > >> > <?xml version="1.0" encoding="UTF-8"?> >> > <deploy xmlns="http://www.apache.org/ode/schemas/dd/2007/03" >> > xmlns:powProcess="http://helloProcess"> >> > <process name="helloProcess:helloProcess"> >> > <active>true</active> >> > <retired>false</retired> >> > <process-events generate="all"/> >> > <provide partnerLink="client"> >> > <service name="helloProcess:helloProcessService" >> port="helloProcessPort"/> >> > </provide> >> > </process> >> > </deploy> >> > >> > >> >> Date: Fri, 6 May 2011 09:31:00 -0700 >> >> From: [email protected] >> >> To: [email protected] >> >> Subject: Problem with invoke block in BPEL and apache ODE >> >> >> >> >> >> Hi, I try to deploy a BPEL process using apache ODE. I'm new in >> either, >> >> BPEL >> >> and ODE.. >> >> I follow the tutorial >> >> http://people.apache.org/~vanto/HelloWorld-BPELDesignerAndODE.pdf >> Hello >> >> World Tutorial to deploy a simple Hello World process (with only >> Assign >> >> block and not Invoke). It works fine. >> >> Then I try to add Invoke block, following the tutorial: >> >> http://www.codeproject.com/KB/webservices/BPELInvokeWebService.aspx >> >> Invoke >> >> tutorial , but it doesn't work. In particular, testing the project >> using >> >> the "Web service explorer" the errors are the following: >> >> >> >> Request: >> >> - >> >> - >> >> - >> >> 1 >> >> >> >> >> >> >> >> <\code> >> >> >> >> Response: >> >> >> >> - >> >> - >> >> - >> >> java:org.apache.ode.bpel.iapi.BpelEngineException >> >> Error in deployment descriptor for process {http://example}Example-4; >> >> reference to unknown partner link MonitorPL >> >> - >> >> org.apache.ode.axis2.OdeFault: Error in deployment descriptor for >> process >> >> {http://magazzino}GestioneMagazzino-4; reference to unknown partner >> link >> >> MonitorPL at >> >> >> org.apache.ode.axis2.ODEService.onAxisMessageExchange(ODEService.java:146) >> >> at >> >> >> org.apache.ode.axis2.hooks.ODEMessageReceiver.invokeBusinessLogic(ODEMessageReceiver.java:69) >> >> at >> >> >> org.apache.ode.axis2.hooks.ODEMessageReceiver.invokeBusinessLogic(ODEMessageReceiver.java:52) >> >> at >> >> >> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:96) >> >> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145) at >> >> >> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275) >> >> at >> >> >> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:120) >> >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:641) at >> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at >> >> >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304) >> >> at >> >> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) >> >> at >> >> >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240) >> >> at >> >> >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164) >> >> at >> >> >> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:498) >> >> at >> >> >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) >> >> at >> >> >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) >> >> at >> >> >> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562) >> >> at >> >> >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) >> >> at >> >> >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:394) >> >> at >> >> >> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243) >> >> at >> >> >> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188) >> >> at >> >> >> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:166) >> >> at >> >> >> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302) >> >> at >> >> >> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) >> >> at >> >> >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) >> >> at java.lang.Thread.run(Thread.java:662) Caused by: >> >> org.apache.ode.bpel.iapi.BpelEngineException: Error in deployment >> >> descriptor >> >> for process {http://magazzino}GestioneMagazzino-4; reference to >> unknown >> >> partner link MonitorPL at >> >> org.apache.ode.bpel.engine.BpelProcess.setRoles(BpelProcess.java:500) >> at >> >> >> org.apache.ode.bpel.engine.BpelProcess.access$1300(BpelProcess.java:89) >> >> at >> >> >> org.apache.ode.bpel.engine.BpelProcess$HydrationLatch.doHydrate(BpelProcess.java:884) >> >> at >> >> >> org.apache.ode.bpel.engine.BpelProcess$HydrationLatch.access$100(BpelProcess.java:800) >> >> at >> >> >> org.apache.ode.bpel.engine.BpelProcess$HydrationLatch$2.run(BpelProcess.java:810) >> >> at org.apache.ode.bpel.engine.NStateLatch.latch(NStateLatch.java:89) >> at >> >> >> org.apache.ode.bpel.engine.BpelProcess.getEndpointToMyRoleMap(BpelProcess.java:730) >> >> at >> >> >> org.apache.ode.bpel.engine.BpelProcess.initMyRoleMex(BpelProcess.java:310) >> >> at >> >> >> org.apache.ode.bpel.engine.BpelEngineImpl.createNewMyRoleMex(BpelEngineImpl.java:187) >> >> at >> >> >> org.apache.ode.bpel.engine.BpelEngineImpl.createMessageExchange(BpelEngineImpl.java:157) >> >> at >> >> >> org.apache.ode.bpel.engine.BpelEngineImpl.createMessageExchange(BpelEngineImpl.java:210) >> >> at >> >> >> org.apache.ode.axis2.ODEService.onAxisMessageExchange(ODEService.java:110) >> >> ... 25 more >> >> >> >> >> >> >> >> >> >> <\code> >> >> >> >> Someone can help me to find the possible mistakes? >> >> Thanks in advance! >> >> -- >> >> View this message in context: >> >> >> http://old.nabble.com/Problem-with-invoke-block-in-BPEL-and-apache-ODE-tp31560403p31560403.html >> >> Sent from the Apache Ode User mailing list archive at Nabble.com. >> > >> > >> >> -- >> View this message in context: >> http://old.nabble.com/Problem-with-invoke-block-in-BPEL-and-apache-ODE-tp31560403p31560906.html >> Sent from the Apache Ode User mailing list archive at Nabble.com. >> > > -- View this message in context: http://old.nabble.com/Problem-with-invoke-block-in-BPEL-and-apache-ODE-tp31560403p31561161.html Sent from the Apache Ode User mailing list archive at Nabble.com.
