Created
October 27, 2011 21:43
-
-
Save JohannesEH/1320969 to your computer and use it in GitHub Desktop.
Host name problems in WCF service metadata
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<system.serviceModel> | |
<services> | |
<service name="Example.ProblemService" behaviorConfiguration="CustomBehavior"> | |
<endpoint contract="Example.IProblemService" binding="wsHttpBinding" bindingConfiguration="ssl" /> | |
<endpoint contract="IMetadataExchange" binding="mexHttpBinding" address="mex"/> | |
</service> | |
</services> | |
<bindings> | |
<wshttpbinding> | |
<binding name="ssl"> | |
<security mode="Transport"> | |
<transport clientCredentialType="None"/> | |
</security> | |
</binding> | |
</wsHttpBinding> | |
</bindings> | |
<behaviors> | |
<servicebehaviors> | |
<behavior name="CustomBehavior"> | |
<servicemetadata httpGetEnabled="true" /> | |
</behavior> | |
</serviceBehaviors> | |
</behaviors> | |
</system.serviceModel> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment