cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

EJB function unit test

0 Likes
614

Hi everyone,

I have simple problem I am struggling with. I developed EJB function and deployed it on Java AS. So before using this as mapping function in SAP BPM process i would like to test it.

First, i found the simplest way, but it doesn't work for me:

Second way would be to write unit test in NWDS, but still i don't know how to initialize DataObject and InvocationContext to call the invokeSdo method.

I didn't say what function does, but it isn't important for my problem - let's assume that function receives one string parameter and returns the same.

I would be grateful if someone can point me to right solution, either using EJB Explorer or writing unit test in NWDS.

Accepted Solutions (0)

Answers (0)