AnsweredAssumed Answered

How to pull a text node out of SOAP response that is an XML Document

Question asked by tim.mccann593688 on Jun 28, 2016
Latest reply on Jul 6, 2016 by Thameem Khan

My SOAP Response returns an XML Doc as one of the Elements text node.

response.GIF

In GetPersonResult is a defined xml doc which looks like below.

<?xml version="1.0" encoding="utf-8"?>

<PersonDetails>

<Person ID="1">

   <Name>John Doe</Name>

   <City>Los Angles</City>

   <State>CA</State>

</Person>

</PersonDetails>

 

I want to pull this document out and start a stream with it. My goal is to put this in a Document Cache for use later in the process. I do have an XML profile for this new doc.

 

How would I extract it? I'm going to try custom scripting in a Data Process. But if anyone has a solution, I would like to hear. 

Thanks Tim

Outcomes