public TennisAustraliaServicesFixture()
        {
            // Because the provided user and password only exist on beta, we have to run this test against beta
            ConfigReader.DefaultProvider.ReloadAccount(ConfigReader.AccountEnum.Default);

            // Re-initialize base uri after changing environment above
            BaseUriWithHttps = new Uri(ConfigReader.DefaultProvider.AccountConfiguration.BaseUrlWithHttps);

            this.RemoteAddressUri = new Uri(
                BaseUriWithHttps,
                ConfigReader.DefaultProvider.WebServiceConfiguration[ConfigReader.WebServiceEnum.EventService].Url);

            this.service = new EventServiceSoapClient(
                ConfigReader.DefaultProvider.WebServiceConfiguration[ConfigReader.WebServiceEnum.EventService].EndpointConfigName,
                RemoteAddressUri.ToString());
        }
Ejemplo n.º 2
0
 static void Main(string[] args)
 {
     var client = new EventServiceSoapClient();
     var helloWorld = client.UpdateClaim(1, "foo");
 }