WCF wsdl schema location points to the machine name by default. This may not be ideal in a situation when the Client do not have access to the remote machine. Below is the example of the wsdl schema location with machine name.

In the Service behavior, add

Now, your wsdl will be available under location.
NOTE: You can use any word instead of “service”. It is there just to distinguish the wsdl URL from the endpoint URL address.
Schema location will now show up as

Here is your full configuration:

Set WSDL Schema Location to Domain Name
Tagged on:

Leave a Reply

Your email address will not be published. Required fields are marked *