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
6 subscribers
Views
8181 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
0
Eduardo Fuentes
Appian Employee
over 10 years ago
Let me take a look at the WSDL you sent.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
abhinavg
over 10 years ago
Thanks Eduardo .. will wait for your findings !
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 10 years ago
I was able to reproduce the behavior with your steps. Let me dig a little bit more into it.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
abhinavg
over 10 years ago
Sure Eduardo !!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
abhinavg
over 10 years ago
Eduardo check Aleksi White last three comments -
forum.appian.com/.../e-113805
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 10 years ago
It could be related, but in general the root cause is:
1. Most likely for the reason Aleksi explain in that link Appian handles part of the definition of the enumreation through the creation of a data type called ACHTypes?key (notice that it has ?key as part of the name so don't confuse it with ACHTypes)
{
schemas.datacontract.org/.../Ryder.Enterprise.DataTransferObjects}ACHTypes
2. This data type is NOT visible in the Data Management Tab, therefore you cannot delete it to refresh the web service node, and since deleting all CDTs is a requirement you get the error you're seeing.
3. The way I was able to workaround this is by explicitly deactivating this data type (to mimic the "Delete" action in the Data Management tab) through the API with the TypeService.deactivate method.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 10 years ago
*TypeService.deactivateTypes(java.lang.Long[])
forum.appian.com/.../TypeService.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
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
0
abhinavg
over 10 years ago
Thanks Edurado !
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
<