How to invoke JCD from eInsight BS

I need to know how can I invoke a JCD from an eInsight business process.

I have created a JCD (exposed as web service).

I drag & drop the method implemented by the JCD into the eInsight business process, everything build & is deployed with no error.

But at run time, I get this error

[#|2006-08-18T11:03:38.913-0700|SEVERE|IS5.1|com.stc.bpms.bpelImpl.runtime.Inte rpreter|_ThreadID=43; ThreadName=Worker: 9;stacktrace-id=23;|Error in intepreting the Callframe : 148.92.115.31:-2538a7b6:10d1854e2c3:-7ac0

55213 com.stc.bpms.bpel.BPELException: BPELException: faultCode=OTHER_ERROR: (null)object is created for MessageType: {urn:stc:egate:jce:OrdersProcessing_InventoryCollaboration}Input

55214 at com.stc.bpms.bpelConnector.impl.WSMessageFactoryImpl.transformToWSMessage(WSMes sageFactoryImpl.java:170)

55215 at com.stc.bpms.bpelConnector.impl.WSMessageFactoryImpl.createMessage(WSMessageFac toryImpl.java:108)

55216 at com.stc.bpms.bpelImpl.runtime.CallFrame.createContainerData(CallFrame.java:1798 )

55217 at com.stc.bpms.bpelImpl.runtime.ExtendedAssignerImpl.initContainers(ExtendedAssig nerImpl.java:133)

55218 at com.stc.bpms.bpelImpl.runtime.ExtendedAssignerImpl.initContainers(ExtendedAssig nerImpl.java:152)

55219 at com.stc.bpms.bpelImpl.runtime.ExtendedAssignerImpl.assignFunction(ExtendedAssig nerImpl.java:117)

55220 at com.stc.bpms.bpelImpl.runtime.Interpreter.interpret0(Interpreter.java:398)

55221 at com.stc.bpms.bpelImpl.runtime.Interpreter.interpret(Interpreter.java:177)

55222 at com.stc.bpms.bpelImpl.runtime.BPELInterpreter$1.run(BPELInterpreter.java:319)

55223 at com.stc.bpms.bpelConnector.impl.ExecutorImpl$WorkImpl.run(ExecutorImpl.java:270 )

55224 at com.sun.enterprise.connectors.work.OneWork.doWork(OneWork.java:45)

55225 at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(Thread PoolImpl.java:382)

[1968 byte] By [hetawfik] at [2007-11-26 9:34:45]
# 1
Did you map a value into the input field of the JCD Activity?
ldeavila at 2007-7-7 0:24:25 > top of Java-index,Java Enterprise System,Java Composite Application Platform Suite -- General Discussion...
# 2
Yes I did, the input to the JCD is an OTD with repeating nodes. (XSD schema with maxoccurs=unbounded)
hetawfik at 2007-7-7 0:24:25 > top of Java-index,Java Enterprise System,Java Composite Application Platform Suite -- General Discussion...
# 3
Hello,I'm not sure but I guess it would work if the JCD were not exposed as a WS, so the way you should try is to import the WSDL published in the UDDI when you built your JCD and then invoke an operation from that WSDL in your BP, this should work.Hope this
JavaCK at 2007-7-7 0:24:25 > top of Java-index,Java Enterprise System,Java Composite Application Platform Suite -- General Discussion...
# 4

You might need to check the Business Process Attributes (BA) in the Business Process, and make sure there are no unnecessary BAs in such a name format Comp.Input1. Also, make sure when you do assign values, they are assigned to the appropriate BAs. I have seen this type of problems happen, and sometimes, it is caused by eDesigner adding uncessary BAs and the assignment goes to the wrong one.

xuekunkou at 2007-7-7 0:24:25 > top of Java-index,Java Enterprise System,Java Composite Application Platform Suite -- General Discussion...
# 5
I have the same trouble, input message in BP dosn't invoke JCD. I guess the best way to manage this trouble is simple project.
Alexhasu at 2007-7-7 0:24:25 > top of Java-index,Java Enterprise System,Java Composite Application Platform Suite -- General Discussion...