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
2 replies
Subscribers
5 subscribers
Views
1533 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
#CDT as output in Smart Service Plugin Trying to map the output from a Java
geethag
over 8 years ago
#CDT as output in Smart Service Plugin
Trying to map the output from a Java plugin to a CDT having issue . Steps I followed
1) imported XSD in the apian
2) the same XSD in step 1 used to import as datatype in my plugin
3) marked the output as @Type in the AMASmartServiceMain
@Name("outputCDTAddress")
@Type (namespace="
cbsh.com/.../consolidatedAddress"
, name="Address")
public Address getOutputCDTAddress() {
return outputCDTAddress;
}
4) have the logic in the javaclass to get xml response from a webservice and then mapped to the Address
The plugin install does not give any issue but it doesnot give the output to the CDT in my process ( but when I send the output as an xml it works)
We are on 7.11
Please suggest any solution !!
OriginalPostID-217117
OriginalPostID-217117
Discussion posts and replies are publicly visible
Parents
0
venkats533
over 8 years ago
is there a need to use smart service ? can you consider expression plugin. It is very easy to pass CDT as an output from expression plugin than from smart service. From smart service try creating a TypedValue using TypeService to create an instance of the Address object. In the declaration, use TypedValue as data type (this is equivalent to AnyType).
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
venkats533
over 8 years ago
is there a need to use smart service ? can you consider expression plugin. It is very easy to pass CDT as an output from expression plugin than from smart service. From smart service try creating a TypedValue using TypeService to create an instance of the Address object. In the declaration, use TypedValue as data type (this is equivalent to AnyType).
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data