Hello,
I’m developing an importer plugin for CentraSite (following the examples in the documentation - HowtoextendAddAssetsDiagraminCentraSiteControl.pdf).
The import code (that is called in the execute() method in the ImportAdapter), simply calls my class based on the CSAF API (dg-csaf.pdf).
@Override
public boolean execute() {
boolean result = true;
Migrator migrator = new Migrator();
migrator.execute(Migrator.IMPORT_ACTION, getServerFilePath());
if (migrator.hasError()) {result = false;}
return result;
}
I have two asset types created directly in CS: MyService and MyProject and the corresponding beans classes where generated with the GenerateCSAFBeans.cmd.
When I run the Migrator directly (that is, directly from eclipse) everything works fine, and all assets are created / updated as intended, but when I run via the Centrasite Import plugin, it starts working but when I try to create the first myService object it gives the following error :
this is one of the generated beans
I’ve already created a jar with only the bean interfaces and corresponding implementation classes and placed in every folder I could think of and still have the same problem.
This is a list of folders where I placed the myBeans.jar:
Am I missing the right place to put myBeans.jar or is something else that I’m doing wrong?
Does someone have a clue that I could follow?
#CentraSite#API-Management#webMethods