What is the web config syntax for specifying a WCF WebService Proxy’s Default Target Endpoint?
Specifically, I’m trying to configure the address that the client uses for locating the .asmx of the webservice
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Nevermind – found it.
The answer is:
Set the address attribute of the endpoint element.
I.E.
<endpoint address="http://fooland.com/bar.asmx" ... />For anyone else who’s challenged at searching MSDN like myself, the rest of the documentation for configuring client endpoints can be found at: http://msdn.microsoft.com/en-us/library/ms731762(VS.85).aspx