public static bool CheckVat(string countryCode, string vatNumber, out string name, out string address) { var inValue = new CheckVatRequest { countryCode = countryCode, vatNumber = vatNumber }; var retVal = ((CheckVatPortType)(new CheckVatPortTypeClient())).CheckVat(inValue); name = retVal.name; address = retVal.address; return(retVal.valid); }
CheckVatResponse CheckVatPortType.CheckVat(CheckVatRequest request) { return(Channel.CheckVat(request)); }