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
5 replies
Subscribers
5 subscribers
Views
1891 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
Hi team, I'm calling a REST webservice using jsontodictionary plug-in.
phanibabuk
over 10 years ago
Hi team,
I'm calling a REST webservice using jsontodictionary plug-in.
jsontodictionary(
httppost(
endpoint: "EndPoint URL"
))
I'm able to get the response from the service when the service is available and also able to handle other exception scenarios. All this works when the service is up and running.
I want to handle a scenario where the service is not up(may be server down).
In this case, the request itself doesn't reach the server.
How can I handle this scenario?
If I use webservicequery, it has a property httpErrorOccured. But in case of jsondictionary, how can I handle this?
Is there any property in jsondictionary that helps me or any other way?
Please provide your inputs!!!...
OriginalPostID-114218
OriginalPostID-114218
Discussion posts and replies are publicly visible
Parents
0
phanibabuk
over 10 years ago
Hi Stefan,
The above code is not returning any httpErrorOccurred property as the case with webServiceQuery() rule.
If the service itself is not available, it shoots an error.
Not sure what it returns and we should be able to handle that scenario.
Please provide your inputs.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
phanibabuk
over 10 years ago
Hi Stefan,
The above code is not returning any httpErrorOccurred property as the case with webServiceQuery() rule.
If the service itself is not available, it shoots an error.
Not sure what it returns and we should be able to handle that scenario.
Please provide your inputs.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data