views:

274

answers:

1

I've got a WCF service hosted on my server. I've set up 2 seperate endpoints on the service, 1 wshttpbinding for communicating with .net 3.5 service references and 1 basichttpbinding for commuicating with all other web references.

When i reference the service as a service reference in a .net 3.5 project everything works fine. The service reference gives me the choice of 2 endpoints to connect to and all is good.

When i reference the service as a web reference in .NET 2.0 the reference uses the wshttpbinding endpoint by default, which doesn't work with web references. Is there any way to set the basichttpbinding as the default endpoint and if so how

A: 

turns out, the web reference wasn't using the wrong endpoint. the problem was elsewhere.

zeocrash