public CreateServiceFor ( |
||
accessor | ||
Результат | BLZServicePortTypeClient |
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); } }
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); } }