Skip Navigation
Connect for Web Services returns 500 response code for out-of-order nodes
Answer ID 11662   |   Last Review Date 07/22/2020

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="" xmlns:xsi="" xsi:type="ns4:Incident">
                        <ID xmlns="" id="1" />
                   <ID id="1" xmlns=">
                <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.