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
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