tags:

views:

869

answers:

1

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

+1  A: 

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">http://msdn.microsoft.com/en-us/library/ms731762(VS.85).aspx

Michael Lang