Hi, I'm trying to add a custom data type to my smart service. Wit

Hi,

I'm trying to add a custom data type to my smart service. Without CDT declaration, I can install the smart service but if I add it, I get this message in the application-server.log :

com.atlassian.plugin.PluginException: com.appiancorp.type.config.pojo.PojoTypeImportException: Could not generate XSDs for the classes [class com.solypse.etde.etde_import]. Cause: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions (APNX-1-4166-001)

I just added the "netbean" cdt example, it's my first test and I'm not so good with Java so excuse me if the answer is obvious.

I'm using Appian 7 and jre 1.6

Thanks,

Olivier

appian-plugin.xml :
---------------------------------
...
          <datatype key="et_importDTin" name="Et Import Data Type">
<class>com.solse.et.et_import</class>
</datatype>

<smart-service name="et_import" key="et_import"
class="com.solse.et.et_import" />
</appian-plugin>
---------------------...

OriginalPostID-57953

OriginalPostID-57953

  Discussion posts and replies are publicly visible

Parents
  • I was more saying that it is simpler to pass primitives into a smart service, do some calculations, return those primitives, and then assign the result to fields in a cdt - if that is what you are trying to do. Genenrally, creating CDT's with java is not really necessary unless you are building in a lot of functionality into the class - not just using the class as a holder for variables.
Reply
  • I was more saying that it is simpler to pass primitives into a smart service, do some calculations, return those primitives, and then assign the result to fields in a cdt - if that is what you are trying to do. Genenrally, creating CDT's with java is not really necessary unless you are building in a lot of functionality into the class - not just using the class as a holder for variables.
Children
No Data