Hello Everyone
I'm currently trying to integrate the functionalities of an external Client Library (RosJava) into my YAWL Custom Service.

I have already created a Java Project in Eclipse which includes the Client Library, and the Rosjava code in my main class compiles and run correctly.
My first attempts to make my Custom Service perform the same functions my Java Project code performs were unsuccessful.
I developed my Custom Service by extending InterfaceBWebsideController class and I realized that including the libraries and putting my RosJava code in one of the methods (doGet, HandleEnabledWorkItemEvent...) it's not the correct way.
I wish to know if there is another method which is compatible with external Libraries or if it's the correct way to implement it.
The error I always face is "The server encountered an internal error () that prevented it from fulfilling this request".
I also tried to create a .jar file from my Java Project and to include it into the Libraries of my Custom Service, but also this time I faced some problems.
My Custom Service works appropriately, I can use it as a Task Decomposition and it successfully interface itself with the YAWL Engine.
Anytime I call a method from the client library, I can compile the Service, run it, but if fails as soon as it's supposed to perform the method.

My purpose is to include this code into my YAWL Cusotm Service.
The problem is that I'm a beginner with YAWL and Java servlets so any hints and tips from this forum would be a great help.
Thanks a lot! "