Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

Destroy custom object not working through SOAP UI

$
0
0

Topic by Ajaya Abburi

Content

We would like to delete records from our custom objects. I am testing through SOAP UI and it's giving error message as below. When i change object name to standard object, it works, but not for custom object. I saw some postings that they successfully deleted custom object records. But, not enough information. Any help appreciated.

Request:

<soapenv:Body>
        <ns7:Destroy xmlns:ns7="urn:messages.ws.rightnow.com/v1_2">
            <ns7:RNObjects xmlns:ns4="urn:objects.ws.rightnow.com/v1_2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns4:CO.SolvedSR">
                <ID xmlns="urn:base.ws.rightnow.com/v1_2" id="100"/>
            </ns7:RNObjects>
            <ns7:ProcessingOptions>
                <ns7:SuppressExternalEvents>false</ns7:SuppressExternalEvents>
                <ns7:SuppressRules>false</ns7:SuppressRules>
            </ns7:ProcessingOptions>
        </ns7:Destroy>
    </soapenv:Body>

Response:

<faultcode>soapenv:Sender</faultcode>
         <faultstring>Data element in the Message is NULL</faultstring>
         <detail>
            <fault>RightNowSyncService|urn:wsdl.ws.rightnow.com/v1_2 failed
Failure creating object DestroyMsg element RNObjects of type base_ws_rightnow_com_v1_2::RNObject with given xsi:type
Failed in constructing object DestroyMsg : NULL input can not be deserialized
Failed in setting value for element RNObjects array position 0 of object DestroyMsg
Failure in setting value for object Destroy element Destroy of type messages_ws_rightnow_com_v1_2::DestroyMsg
NULL returned from the Destroy deserializer due to missing or invalid XML</fault>
         </detail>
      </soapenv:Fault>

 

Version

May 2016

Viewing all articles
Browse latest Browse all 2504

Trending Articles