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
29 replies
Subscribers
7 subscribers
Views
7048 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
I was trying to test a web service ... facing error while selecting the service
abhinavg
over 10 years ago
I was trying to test a web service ... facing error while selecting the service operation from callweb service node ...
Error came as when i change my service interface and tried to load the same service again on to Appian .
'I have deleted all the previous web service CDT before testing new service
If I load the same service in other Appian instance it loads the operation smoothly ...
OriginalPostID-115143
OriginalPostID-115143
Discussion posts and replies are publicly visible
Parents
0
Eduardo Fuentes
Appian Employee
over 10 years ago
You can build a custom smart service that will run the following code:
QName qName = new QName(namespace, name);
Datatype dataType = ts.getTypeByQualifiedName(qName);
ts.deactivateTypes(new Long[]{dataType.getId()});
and will take two node inputs, the namespace and name of the CDT to "delete". You can then invoke it passing:
namespace = "
schemas.datacontract.org/.../Ryder.Enterprise.DataTransferObjects";
name = "ACHTypes?key";
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Eduardo Fuentes
Appian Employee
over 10 years ago
You can build a custom smart service that will run the following code:
QName qName = new QName(namespace, name);
Datatype dataType = ts.getTypeByQualifiedName(qName);
ts.deactivateTypes(new Long[]{dataType.getId()});
and will take two node inputs, the namespace and name of the CDT to "delete". You can then invoke it passing:
namespace = "
schemas.datacontract.org/.../Ryder.Enterprise.DataTransferObjects";
name = "ACHTypes?key";
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data