locked
Simple Dynamics SOAP request fails due to inaccessible schema RRS feed

  • Question

  • Hello all

    I am new to Dynamics and attempting to test out SOAP interfacing with the system and have come across an error, which looks like it may affect a large number of users.

    I have been using soapUI to test the SOAP interface, using the endpoint defined by my installation (obfuscated in my example below). All calls, even to the most simple discovery service are failing due to a 404 which is returned by Microsoft's Schema site. The URL failing is:

    http://schemas.microsoft.com/xrm/2011/Contracts/Discovery

    The XML request I'm sending is as follows:

    <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:dis="http://schemas.microsoft.com/xrm/2011/Contracts/Discovery">
       <soap:Header/>
       <soap:Body>
          <dis:Execute>
             <!--Optional:-->
             <dis:request/>
          </dis:Execute>
       </soap:Body>
    </soap:Envelope> 


    What happens when I attempt to execute this is that the client simply times out whilst waiting for a response. Removing the offending XMLNS entry causes the server to response immediately with an error. I've a good understanding of SOAP and know that the request won't be handled correctly without the correct XML NameSpaces.

    Have others come across this? Is there a solution where I can replace this non-working NameSpace with one hosted by my Dynamics installation?

    Thanks,

    Justin

    Friday, January 13, 2012 10:20 AM