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
3 replies
Subscribers
6 subscribers
Views
2673 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Reading xml tags from xpathsnippet. Hi i'm gettting the following
chandu
A Score Level 2
over 7 years ago
Reading xml tags from xpathsnippet.
Hi i'm gettting the following error when i give url for snippet argument in the xpathsnippet function.
"Error evaluating function 'xpathsnippet' : An error occurred while trying to parse the XML stream."
Expression:
xpathsnippet(
snippet: "
www1.nyc.gov/.../finder.xml",
expression: "/services/service"
)
I have modified the Expression as below
rule input:service(Text)
expression:
xpathsnippet(
snippet: ri!service,
expression: "/services/service"
)
With the modified expression I'm getting the Required Data, Can any one help me Why i'm getting the error when i use URL for snippet argument. I'm was trying in 7.8 version.
Thanks in advance.
OriginalPostID-219637
OriginalPostID-219637
Discussion posts and replies are publicly visible
0
kumaraveln
over 7 years ago
I am able to get a response with your first expression. But I am in version 16.1. Not sure what is wrong with your env or if it is a temporary issue. Lets wait for other people to comment on any known issue.
Can you try in any other env of urs either with same or diff version.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Karthik
over 7 years ago
check the firewall status between the machine that is hosting appian server and the external world. I think firewall is blocking appian from loading the xml from an external web site
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
ranveerr
over 7 years ago
There might be some security blockage in the connectivity of link. I have tried both the expressions it was was good.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel