I have a WCF service that works ok if I create the service without specifying any binding or endpoint (it reads it from the generated values in the App.config when I registe
Well, the client endpoint in the config specifies this URL:
but in your code sample, you create:
EndpointAddress endpointAddress = new EndpointAddress( "my.uri.com/service.svc" );
The addresses must match - if the one in the config works, you'll need to change your code to:
EndpointAddress endpointAddress = new EndpointAddress( "http://www.myuri.com/Services/Services.svc/basic" );
Mind you - there are various little typos in your code sample (my.uri.com vs. www.myuri.com, /service.svc instead of /Services/Services.svc).
Does it work with the corrected endpoint address?
Marc