Welcome to Windows Communication Foundation (WCF)
Top Tasks :

WCF Team Bloggers

Endpoints with Multiple Schemes

My service has two endpoints, an HTTP endpoint for serving metadata and a non-HTTP endpoint for the actual service. The base address of the service is the non-HTTP endpoint. How do I get the HTTP endpoint to work? I get an error even if the metadata address is fully qualified. The error in this case was that the only known scheme was the one used by the non-HTTP endpoint. Adding an HTTP endpoint failed because http was not in the list of base addresses. You need to use relative and absolute addresses at least somewhat consistently to create a valid configuration. If you have no base addresses and all of your endpoints use absolute addresses, then everything works fine. If you have a base address, then make sure that you have a base address for every scheme that you plan to use. You can still mix relative and absolute addresses for the actual endpoints as much as you want. Next time: MSMQ Addressing Read More...
Published Monday, August 27, 2007 8:00 AM by Nicholas Allen's Indigo Blog

Comments

No Comments
Anonymous comments are disabled

Copyright © 2006 Microsoft Corporation. All Rights Reserved. | Terms of Use | Privacy Statement | Contact Us