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="" xmlns:xsi="" xmlns:xsd=""><soap:Body><ImportRegistrantResponse xmlns=""><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="" xmlns:xsi="" xmlns:xsd="">


      <ImportRegistrantResponse xmlns="">

         <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>





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



I have been told that

The status field can have SUCCESS or FAILURE.

<string xmlns="">

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



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