I’m trying to use the JavaObjectGateway to invoke a method in a Java class. I have added the sequence below:
<?xml version="1.0" encoding="UTF-8"?>
<sequence version="4.0" xbd.zid="N400001">
<block xbd.zid="N400002">
<!--{Name: jogCreate};{Notes: }-->
<step component="SagJavaObjectGateway" xbd.object.class="blanket.signature.Verify" xbd.object.classPath="C:\Mediatorjava\MyJar.jar" xbd.object.function="Create" xbd.object.result="VerifyClass" xbd.zid="N400010"/>
<!--{Name: jogCall};{Notes: }-->
<step component="SagJavaObjectGateway" xbd.object.function="Call" xbd.object.method="TestMethod" xbd.object.object="VerifyClass" xbd.object.result="VerifyResult" xbd.zid="N400011"/>
</block>
</sequence>
The problem is that I get a ClassNotFoundException when I start the sequence. The error occurs after the first step. Am I supposed to place the Jar-file in a specific dir or what am I doing wrong?
/Caspar