IS EJB Adapter

After generating a service from an EJB method, the input for the service is disabled.

Hello, I have the same dilemma. What object do I pass as the inputs to the ejb service?

If the input is an object (for example: Account, Employee etc…), you need to write a Java Service to create that object instance and put in the pipeline. Map this pipeline object as the input to the generated service. You need to have the class (jar file) in the IS\lib\jars directory for the server and also in the Developer’s classpath.

Here is an example:

User user = new User();
user.setLocale(new java.util.Locale(“us”, “EN”));

Object userObject = user;
IDataCursor idPipeline = pipeline.getCursor();

idPipeline.insertAfter(“user”, userObject);