We are trying to access OLAP through an msmdpump.dll endpoint hosted in IIS, on the same server as the SSAS we are connecting to through a POST HttpRequest. I'm testing it through POSTMAN as follows:
POST https://ourserver/olap_test/msmdpump.dll
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" flexmonster="true"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" >
<SOAP-ENV:Body>
<Discover xmlns="urn:schemas-microsoft-com:xml-analysis">
<RequestType>DISCOVER_DATASOURCES</RequestType>
<Restrictions/>
<Properties/>
</Discover>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Or via javascript through Firefox Dev tools:
var xhr = new XMLHttpRequest();
xhr.open("POST", 'https://servername/OLAP_test/msmdpump.dll', true);
xhr.withCredentials = true;
xhr.send('<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" flexmonster="true"><SOAP-ENV:Body><Discover xmlns="urn:schemas-microsoft-com:xml-analysis"><RequestType>DISCOVER_DATASOURCES</RequestType><Restrictions/><Properties/></Discover></SOAP-ENV:Body></SOAP-ENV:Envelope>');
Though it doesn't matter what the content of the request is. The same result happens with just <SOAP-ENV:Envelope/> alone.
The following error is returned:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<soap:Fault xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<faultcode>XMLAnalysisError.0xc1270004</faultcode>
<faultstring>Errors during parsing DIME headers. An unexpected value was encountered in the TYPE field of a chunk record for a DIME message.</faultstring>
<detail>
<Error ErrorCode="3240558596" Description="Errors during parsing DIME headers. An unexpected value was encountered in the TYPE field of a chunk record for a DIME message." Source="Unknown" HelpFile=""/>
</detail>
</soap:Fault>
</soap:Body>
</soap:Envelope>
Additionally there's an Event Viewer error at the same time:
The description for Event ID 25 from source MSOLAP ISAPI Extension: \\?\c:\inetpub\wwwroot\olap_test\msmdpump.dll cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
I can access the Cube through Excel just fine.
What does this error mean? How come it's not working through a POST request? Thank you.