Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
16 replies
Subscribers
5 subscribers
Views
6857 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
Hi, I'm trying to add a custom data type to my smart service. Wit
olivierl
over 12 years ago
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
0
Michael Chirlin
Appian Employee
over 12 years ago
It actually doesn't sound like you need to be creating cdts with java code at all.
You can have your smart service take in and return primitive types like this example:
forum.appian.com/.../Custom_Smart_Service_Plug-ins
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Michael Chirlin
Appian Employee
over 12 years ago
It actually doesn't sound like you need to be creating cdts with java code at all.
You can have your smart service take in and return primitive types like this example:
forum.appian.com/.../Custom_Smart_Service_Plug-ins
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data