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
+1
person also asked this
people also asked this
Replies
9 replies
Subscribers
8 subscribers
Views
4776 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
Is there a way to parse a SOAP webservice response in an expression rule and pop
soumyab103
over 9 years ago
Is there a way to parse a SOAP webservice response in an expression rule and populate the CDT? For example, my webservice returns response in the following format-
<soapenv:Envelope xmlns:soapenv="
schemas.xmlsoap.org/.../">
<soapenv:Body>
<ns1:getBankResponse xmlns:ns1="
thomas-bayer.com/.../">
<ns1:details>
<ns1:bezeichnung>Aachener Bank</ns1:bezeichnung>
<ns1:bic>GENODED1AAC</ns1:bic>
<ns1:ort>Aachen</ns1:ort>
<ns1:plz>52001</ns1:plz>
</ns1:details>
</ns1:getBankResponse>
</soapenv:Body>
</soapenv:Envelope>
I want to use an expression rule to parse this response and populate a CDT. I used xpathsnippet to parse the above response, but it is throwing-"An error occurred while trying to parse the XML stream".
OriginalPostID-147519
OriginalPostID-147519
Discussion posts and replies are publicly visible
Parents
0
travis.blalock
Appian Employee
over 9 years ago
If the XML definition matches your CDT structure you can use the torecord() function to map it directly.
forum.appian.com/.../Scripting_Functions.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
travis.blalock
Appian Employee
over 9 years ago
If the XML definition matches your CDT structure you can use the torecord() function to map it directly.
forum.appian.com/.../Scripting_Functions.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data