<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How to consume nested XML to CDT from web service?</title><link>https://community.appian.com/discussions/f/integrations/14807/how-to-consume-nested-xml-to-cdt-from-web-service</link><description>Hello all, 
 I&amp;#39;m trying to call an integration object from SAIL. We should be able to use the data from the response in other interfaces and process models. The response is received in XML but has multiple nested fields (This is the only possible format</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to consume nested XML to CDT from web service?</title><link>https://community.appian.com/thread/66303?ContentTypeID=1</link><pubDate>Fri, 03 May 2019 02:27:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:83edb6b1-c557-4694-a76f-c1b910e48cf5</guid><dc:creator>josep</dc:creator><description>&lt;p&gt;Hello Oscar&lt;/p&gt;
&lt;p&gt;Between the options you are giving if i can pick I would suggest to use the torecord but before (after the call, before the torecord) use the xpathsnippet() to get the body and then convert to cdt. As a note all This works better if the service is rest. &lt;/p&gt;
&lt;p&gt;Looks like you are calling a wsdl, &amp;nbsp;I think we still have available the webservicecall, have you tried that ? &lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/19.1/fnc_scripting_webservicequery.html"&gt;docs.appian.com/.../fnc_scripting_webservicequery.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Hope this helps &lt;/p&gt;
&lt;p&gt;Jose &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>