cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Invalid XML in Response when including SOAP headers

Getting Invalid XML in Response when including SOAP headers

We are integrating with a customer's Magento SOAP service. We are also using DynatTrace for application monitoring, which injects tokens into SOAP headers to correlate requests and responses. We had issues recently where all our attempts to login to the client's Magento service failed with an invalid XML error. The root cause seems to be the inclusion of these headers from DynaTrace. This is using Magento Community 1.9.0.1.

 

Why is Magento erroring on the addition of headers in the SOAP request? The headers are properly namespaced and should not have interfered.As soon as we disabled our monitor, everything started working, but this cannot be a long term solution for us.