public void Get_customers_using_dto_from_xsd_and_deserialize_BasicHttp()
		{
			using (var client = new Soap11ServiceClient(base.BasicHttpSyncReplyUri))
			{
				var request = new xsd.GetCustomers { Version = 100, CustomerIds = new xsd.ArrayOfIntId { CustomerId } };
				var response = client.Send(request);
				var customersResponse = response.GetBody<xsd.GetCustomersResponse>();
				Assert.AreEqual(1, customersResponse.Customers.Length);
				Assert.AreEqual(CustomerId, customersResponse.Customers[0].Id);
			}
		}
		public void Get_customers_using_dto_from_assembly_and_parse_with_xlinq_BasicHttp()
		{
			using (var client = new Soap11ServiceClient(base.BasicHttpSyncReplyUri))
			{
				var request = new GetCustomers { CustomerIds = new ArrayOfIntId { CustomerId } };
				var response = client.Send(request);
				var el = XNode.ReadFrom(response.GetReaderAtBodyContents()) as XElement;
				var customers = el.AnyElement("Customers").AllElements("Customer").ToList();

				Assert.AreEqual(1, customers.Count);
				Assert.AreEqual(CustomerId, customers[0].GetInt("Id"));
			}
		}
 public void OnBeforeEachTest()
 {
     soapClient = new Soap11ServiceClient(BaseUrl);
     soapClient.Send<ResetMoviesResponse>(new ResetMovies());
 }