AnsweredAssumed Answered

Trying to configure return message profile

Question asked by EdCaliri7021 on Mar 21, 2016
Latest reply on Mar 22, 2016 by EdCaliri7021

I am trying to configure the return message profile from an upsert that will enable me to check the status of the operation.

The operation is a success but now I want to check it.

 

The RAW XML comes back like

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><ImportRegistrantResponse xmlns="http://www.viewcentral.com/DataExchange"><ImportRegistrantResult>&lt;response status="SUCCESS"&gt;&lt;code&gt;0&lt;/code&gt;&lt;message&gt;Record is imported to viewcentral -- Registrant record is updated. &lt;/message&gt;&lt;/response&gt;</ImportRegistrantResult></ImportRegistrantResponse></soap:Body></soap:Envelope>

 

Formatted XML looks like

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

   <soap:Body>

      <ImportRegistrantResponse xmlns="http://www.viewcentral.com/DataExchange">

         <ImportRegistrantResult>&lt;response status=&quot;SUCCESS&quot;&gt;&lt;code&gt;0&lt;/code&gt;&lt;message&gt;Record is imported to viewcentral -- Registrant record is updated. &lt;/message&gt;&lt;/response&gt;</ImportRegistrantResult>

      </ImportRegistrantResponse>

   </soap:Body>

</soap:Envelope>

 

I am trying, without success, to check the status field.  I currently have the profile defined as

vcresponse_3.png

 

I have been told that

The status field can have SUCCESS or FAILURE.

<string xmlns="http://www.viewcentral.com/DataExchange">

<response status="FAILURE"><code>19</code><message>some error message</message></response>

</string>

 

Anyone have a feeling on how I could define the XMP profile so I can check the return status??

Outcomes