예제 #1
0
 public thomasbayer.com.blz.details GetBankByBankleitzahl(string blz)
 {
     var serviceFactory = new BLZServiceFactory ();
     var client = serviceFactory.CreateServiceFor (this);
     try {
         return client.getBank (blz);
     } catch (System.Web.Services.Protocols.SoapException ex) {
         throw new InvalidOperationException ("Der Webservice hat einen Fehler gemeldet!", ex);
     }
 }
예제 #2
0
        public thomasbayer.com.blz.details GetBankByBankleitzahl(string blz)
        {
            var serviceFactory = new BLZServiceFactory();
            var client         = serviceFactory.CreateServiceFor(this);

            try {
                return(client.getBank(blz));
            } catch (System.Web.Services.Protocols.SoapException ex) {
                throw new InvalidOperationException("Der Webservice hat einen Fehler gemeldet!", ex);
            }
        }