Hi all

I'm trying to work with servicemix + ode-jbi. and I tested HelloWorld2 Process and work fine. I've changed the HelloWorld2 process to invoke the External WS that I made. but while deploying it, a following error has occured. ERROR - BpelServer org.apache.ode.bpel.engine.BpelServerImpl. start(BpelServerImpl.java:151) - Error activating process {urn:/HelloWorld2.bpel}HelloWorld2

org.apache.ode.bpel.iapi.ContextException: Unkown endpoint: {http://www.daesangit.com/LoginMgr.jws}LoginMgr:LoginMgrSoap at org.apache.ode.jbi.BindingContextImpl.createPartnerRoleChannel(BindingContextImpl.java:83)

at org.apache.ode.bpel.engine.BpelProcess.activate(BpelProcess.java:737) at org.apache.ode.bpel.engine.BpelEngineImpl.registerProcess(BpelEngineImpl.java:166)

at org.apache.ode.bpel.engine.BpelServerImpl.doActivateProcess(BpelServerImpl.java:603)

at org.apache.ode.bpel.engine.BpelServerImpl.start(BpelServerImpl.java:148)
       at org.apache.ode.jbi.OdeLifeCycle.start(OdeLifeCycle.java:356)
at org.apache.servicemix.jbi.framework.ComponentMBeanImpl.doStart(ComponentMBeanImpl.java:289)

following source part make the error log. public PartnerRoleChannel createPartnerRoleChannel(QName processId, DeploymentUnit deploymentUnit,
           PortType portType, Endpoint initialPartnerEndpoint) {
ServiceEndpoint se = _ode.getContext()..getEndpoint(initialPartnerEndpoint.serviceName,initialPartnerEndpoint.portName);

           if (se == null)
throw new ContextException("Unkown endpoint: " + initialPartnerEndpoint, null); JbiEndpointReference jbiEpr = new JbiEndpointReference(se); I've checked deploy.xml by comparing other deploy.xml. but I can't find anything strange. so I have three question . 1. could you explain to me why this error comes, 2. should I config another thing to invoke External WS? 3. when ode-jbi BPEL process calls External WS, it must go through the JBI? 4. I think whole BPEL process action(invoke, receive, callback etc.) shoud be done in just one process in ODE-JBI Engine without using JBI ServiceUnit. Am I misunderstanding?


Reply via email to