Hi Matthias,

Which version of ServiceMix are you using? ServiceMix v3.0.1 (or later) is required for the integration to work.

See http://issues.apache.org/activemq/browse/SM-581

alex



von Arx, Matthias wrote:
Hi,

We are using the ODE JBI service engine installed on ServiceMix. My
problem is now, how to address other services deployed in ServiceMix,
e.g. a JSR181 compliant service.

I guess, for that reason the attribute initializePartnerRole="yes" has
to be set on each partner link declaration and a corresponding partner
link declaration is required in the deploy.xml descriptor (like in the
ping-pong example).

With the following deploy.xml

    <process name="pns:CriminalRegisterProcess">
        <active>true</active>
        <provide partnerLink="criminalRegisterPartnerLink">
            <service name="sns:CriminalRegisterService"
port="CriminalRegisterPort"/>
        </provide>
        <invoke partnerLink="federalCriminalRegisterPartnerLink">
            <service name="fcr:FederalCriminalRegisterService"
port="JbiEndpoint"/>
        </invoke>
    </process>

I receive the following Exception after the deployment of the bpel
process:

14:29:41,277 | INFO  | Thread-10  | AutoDeploymentService    |
mework.AutoDeploymentService$2  589 | Directory: deploy: Archive
changed: processing sa-criminalregister.zip ...
14:29:46,124 | ERROR | Thread-10  | BpelServer               |
ode.bpel.engine.BpelServerImpl  654 | Deployment of process
"{http://husky.siemens.com/xml/ns/services/criminalregister/bpel}Crimina
lRegisterProcess" from
"D:\servicemix-3.0\husky\data\smx\service-assemblies\CriminalRegisterSer
viceAssembly\version_1\sus\OdeBpelEngine\CriminalRegisterOde" failed.
org.apache.ode.bpel.iapi.ContextException: Unkown endpoint:
{http://husky.siemens.com/xml/ns/services/federalcriminalregister}Federa
lCriminalRegisterService:JbiEndpoint
        at
org.apache.ode.jbi.BindingContextImpl.createPartnerRoleChannel(BindingCo
ntextImpl.java:77)
        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(BpelServerIm
pl.java:603)
        at
org.apache.ode.bpel.engine.BpelServerImpl.deploy(BpelServerImpl.java:739
)
        at
org.apache.ode.bpel.engine.BpelServerImpl.deploy(BpelServerImpl.java:649
)
        at
org.apache.ode.jbi.OdeServiceUnit.deploy(OdeServiceUnit.java:61)

Reply via email to