I have a Windows app that calls QueryMultiple on some data without a problem. It connects to the Organization service and returns back correct values.
When I use the same library in a web service (so a web service is calling the XRM SDK) , I get the error:
There was no endpoint listening at xxxxxx.crm3.dynamics.com/.../web that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. Inner Exception = System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 52.139.86.52:443 at System.Net.Sockets.Socket.DoConnection
However, when looking at the basic content being passed to the client, it looks the same.
I know it reads like a security block - but is this due to a web service not providing proper AD permissions or is there something else at play here?