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
soumyab103
over 9 years ago
Hi, I am invoking this web service using an expression rule and using webservicequery method. For example, I created an expression rule with the following contents-
webservicequery(
a!wsConfig(
wsdlUrl: "
www.thomas-bayer.com/.../BLZService
service: "{
thomas-bayer.com/.../}BLZService",
port: "BLZServiceHttpport",
operation: "{
thomas-bayer.com/.../}getBank"
),
{
getBank: {
blz: "39060180" }
}
)
and I want to parse the response of this rule to populate my CDT.
Thanks again.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
soumyab103
over 9 years ago
Hi, I am invoking this web service using an expression rule and using webservicequery method. For example, I created an expression rule with the following contents-
webservicequery(
a!wsConfig(
wsdlUrl: "
www.thomas-bayer.com/.../BLZService
service: "{
thomas-bayer.com/.../}BLZService",
port: "BLZServiceHttpport",
operation: "{
thomas-bayer.com/.../}getBank"
),
{
getBank: {
blz: "39060180" }
}
)
and I want to parse the response of this rule to populate my CDT.
Thanks again.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data