public async Task <aanleverenResponse> AanleverenAsync(aanleverenRequest request) { AanleverService_V1_2 client = WusChannelFactory <AanleverService_V1_2> .CreateServiceClient(Profile.EndpointAanleverService, ClientCertificate, Profile.ServerCertificate); aanleverenResponse response = await client.aanleverenAsync(request); return(response); }
public async Task <getStatussenProcesResponse1> StatusInformatieAsync(getStatussenProcesRequest1 request) { StatusinformatieService_V1_2 client = WusChannelFactory <StatusinformatieService_V1_2> .CreateServiceClient(Profile.EndpointStatusInformatieService, ClientCertificate, Profile.ServerCertificate); getStatussenProcesResponse1 response = await client.getStatussenProcesAsync(request); return(response); }
public getBerichtenKenmerkResponse1 OphalenBericht(getBerichtenKenmerkRequest1 request) { OphaalService_V1_2 client = WusChannelFactory <OphaalService_V1_2> .CreateServiceClient(Profile.EndpointOphaalService, ClientCertificate, Profile.ServerCertificate); getBerichtenKenmerkResponse1 response = client.getBerichtenKenmerk(request); return(response); }
public static T CreateServiceClient(EndpointAddress address, X509Certificate2 certClient, X509Certificate2 certServer) { WusChannelFactory <T> factory = new WusChannelFactory <T>(address, certClient, certServer); return(factory.CreateChannel()); }