Friday, March 13, 2020

There was an error downloading 'https://D365applicationaos.cloudax.dynamics.com/soap/services/SWaifServices?wsdl/$metadata'. The request failed with an empty response. Metadata contains a reference that cannot be resolved: 'https://swelldev102dce1a4c63e35cbbdevaos.cloudax.dynamics.com/soap/services/SWaifServices?wsdl'. The server did not provide a meaningful reply; this might be caused by a contract mismatch, a premature session shutdown or an internal server error.

I was getting the below error while trying to download D365 services in SOAP reference.

There was an error downloading 'https://D365applicationaos.cloudax.dynamics.com/soap/services/SWaifServices?wsdl/$metadata'.

The request failed with an empty response.

Metadata contains a reference that cannot be resolved: 'https://D365applicationaos.cloudax.dynamics.com/soap/services/SWaifServices?wsdl'.

The server did not provide a meaningful reply; this might be caused by a contract mismatch, a premature session shutdown or an internal server error.

Reason:

Usually, we see this error when parameters in the service class is not matching or having duplicates in the parameters.




Solution:

Make sure the parameters should be unique and matching with method parameters.



Please see my previous post as well
https://rahulmsdax.blogspot.com/2019/08/there-is-problem-with-server-sorry.html

Why do users often get confused about Dynamics 365 Customer Engagement (D365 CE), Dataverse, and the Power Platform?

  The Microsoft ecosystem for business applications can sometimes be difficult to navigate, especially when discussing Dynamics 365 Customer...