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
4 replies
Subscribers
5 subscribers
Views
1770 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
We call a REST web service which returns a XML with field containing a document
William
over 11 years ago
We call a REST web service which returns a XML with field containing a document binary stream (in base64). In Appian process model, we use a text PV to receive this web service result XML. How can we extract this binary field into another text PV so that we can further convert it to a document?
Note that we tried xpathsnippet() but it failed to parse such XML....
OriginalPostID-61588
OriginalPostID-61588
Discussion posts and replies are publicly visible
0
Owen Parrish
Appian Employee
over 11 years ago
Did you get an error using xpathsnippet()?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
William
over 11 years ago
The XML contains both text fields and a binary field which corresponds to a document. I think the Send Http Request plug-in cannot handle such "mixed" web service response. We now made a change to that web service to just return that binary field only and then we managed to convert it to a document. Thanks.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
eaglez
over 11 years ago
hi, can you tell me how to convert a binary stream to a document?
thanks in advance
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
moritzw
over 11 years ago
forum.appian.com/.../componentbrowse.bg
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel