The only thing you can get is WSDL if the web service is configured to deliver it. To do this, you need to specify serviceBehavior and enable httpGetEnabled:
<serviceBehaviors> <behavior name="BindingBehavior"> <serviceMetadata httpGetEnabled="true" /> <serviceDebug includeExceptionDetailInFaults="true" /> </behavior> </serviceBehaviors>
If the web service is only available through https, you need to enable http s GetEnabled instead of httpGetEnabled.
Manuel Koch Jun 22 '17 at 7:08 2017-06-22 07:08
source share