http://www.bungie.net/stats/reach/ReachJson.svc
And it does find the service, along with two methods. I named the service reference "ReachJson", and added a using line to my code:
using WindowsFormsApplication2.ReachJson;
Then I tried creating a client in two different ways. First:
ReachJsonClient client = new ReachJsonClient();
With this I get the following error on the line where I create the client:
Could not find default endpoint element that references contract 'ReachJson.IReachJson' in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this contract could be found in the client element.Then I tried this:
static ReachJsonClient client = new ReachJsonClient();
And got this error on my Application.Run() line in program.cs:
The type initializer for 'WindowsFormsApplication2.Form1' threw an exception.Is there anything I can do to get this working, or would that all be on the side of the service host?