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
Comments
- Anonymous
August 27, 2007
The results last time were in disagreement with the rule of thumb that turning on reliable messaging