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
5 subscribers
Views
6904 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
This indicates that the application server was stopped when this data type was being created. The "IMPORTING" flag is currently on for this data type and should clear after 2 hours. I suggest you try again after that period of time.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
abhinavg
over 10 years ago
Thanks Eduardo ... But I tried the same on cloud instance and local instance ..same error pops up .. when i change service interface and re-loads the service into Appian instance ... i tried even after 24 hours and even re-started my local .. but no luck ..
I tried to manually loads the web service CDT ,, see attached error ..
Please suggest !
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 10 years ago
Why are you importing the XSDs? You don't have to, they are created automatically by the Call Web Service node.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
abhinavg
over 10 years ago
Yes.. they should be but they are not getting created .. see attached screenshot
So i tried to do the reverse .. thinking it will solve the problem but same error
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 10 years ago
We can confirm the issue is the IMPORTING flag if you are able to change the name of the CDT in the WSDL, you will see that at least this data type will not error out any more.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 10 years ago
What version of Appian is this by the way?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
abhinavg
over 10 years ago
Eduardo the service wsdl comes from 3rd party, I can't change CDT/XSD type name in WSDL, ,,,,, Appian Version is 7.4 and tested even on 7.5.. .
Some where Appian is storing the older reference, how can i identify where the reference is coming from ..
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 10 years ago
There's a cache for the WSLD and one for the data types.
A) If you think Appian is pulling out the old definition of the WSDL then the steps to perform are:
1. Delete the CDTs related to the Web Service. Make sure you delete all of them. Ideally you should sort by namespace to make sure you delete all of them.
It is very common for people to miss one or two making these steps fail
2. Open up the process model, right click on the Call Web Service Smart Service - Properties - Setup
3. Temporarily check Authentication Required and typed something in username and password and click Refresh
4. Uncheck the authentication required option.
5. Finish configuring the smart service.
6. Save and publish the model
7. Try again.
B) If the issue is the data types cache, again, this will be cleared after two hours, so I suggest you follow the step #1, restart your app server, wait two hours then try steps 2 to 7
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
abhinavg
over 10 years ago
Eduardo .. i tried all the steps ... but no luck .. all web service CDT's were deleted too.
Even restarted my local instance but same error results .. appian somewhere is referencing to few cdt's which are of enum type
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 10 years ago
Why do you say it's referencing those CDTs? do you mean the DataTransferObjects?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
>