Invalid SOAP Message Response Error

If you receive an invalid SOAP message response error, the root cause is that the web services error responses from Ariba did not follow SOAP 1.1 standards. Therefore, your ERP middleware could not consume the messages properly. The Ariba-generated responses did not contain enough information. This issue prevented you from troubleshooting the issues in the ERP system that impacted the data sent to the Ariba solution. The error message is as follows:

<fault xmlns="http://www.bea.com/wli/sb/context">
<errorCode>OSB-380001</errorCode>
<reason>java.lang.RuntimeException: javax.xml.soap.SOAPException: Error parsing 
envelope: most likely due to an invalid SOAP message.: Undeclared namespace prefix 
"soapenv" at [row,col {unknown-source}]: [1,14] </reason>

If you receive the invalid soap message response error or some other invocation error from Ariba, you must enable the following property in the Ariba sand box.

Application.Messaging.Channels.Util.IncludeNameSpaceDetailsInErrorResponse

Perform the following steps to create a service request to change the above property in the Ariba sandbox.

  1. Access SAP Ariba Connect: https://connect.ariba.com.
  2. Click Service Requests.
  3. Click Create a Service Request.
  4. On the Create a Service Request page, click Continue to next step.
  5. Click Configuration/Customization. This redirects you to the Request New Customization page.
  6. Select the following attribute values and click Submit.
    Attribute Value
    Ariba Solution Select SAP Ariba Buying and Invoicing from the list.
    Solution Area Select Integration/platform from the list.
    Environments Impacted Select Test from the list.
    Business Problem/Requirement Enter the problem/requirement.
    Proposed Solution

    Enter the solution. In this case, enter Enable the following property in Ariba to avoid the service invocation from Ariba.

    Application.Messaging.Channels.Util.IncludeNameSpaceDetailsInErrorReaponse
  7. Once complete, you receive a confirmation email from the service request team. The service request team informs you about the status.
  8. Once the property is enabled, check the same from the SAP Ariba Adapter.
  9. If the property works fine, update the service request so it can be closed.

Access Ariba Note 164260 using your Ariba Connect credentials. See https://support.ariba.com/item/view/164260?min=1.