Why am I getting a 500 Response code from the SOAP API with an error response detail "Found out-of-order or unrecognized node Product"?
Oracle B2C Service Connect Web Service for SOAP
The SOAP API returns a response code of 500 and the response body includes the faultstring "Data element in the Message is NULL" with detail including the text "Found out-of-order or unrecognized node Product". This is due to the SOAP envelope construction, all nodes need to be in alphabetical order. e.g. when adding Product to the example incident create, that node should be above the Subject:
| <ns7:RNObjects xmlns:ns4="urn:objects.ws.rightnow.com/v1_4" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns4:Incident">
<ID xmlns="urn:base.ws.rightnow.com/v1_4" id="1" />
<ID id="1" xmlns="urn:base.ws.rightnow.com/v1_4%22%22/>
<ns4:Subject>This is a newly created incident.</ns4:Subject>
For further information on the SOAP API, refer to Oracle B2C Service Connect Web Services for SOAP.