using System;
using MyDemoApp.org.biodiv.bchtraining; // Imported Web Reference
namespace MyDemoApp
{
class Program
{
static void Main(string[] args)
{
try
{
// Initialize WebService
BCHWebService30 oWebService = new BCHWebService30();
// Call SOAP Method
oWebService.checkAccount("myemail@mydomain.com", "mypassword");
Console.WriteLine("Email and password are correct.");
}
catch(Exception e)
{
// Output error message to console
Console.WriteLine(e.Message);
}
}
}
}