Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private static ProcessRequestResponseProcessRequestResult SendRequest(ProcessRequestRequest posRequest, UserModel user)
- {
- using (var pos = new POSProcessingSoapClient("endpoint_configuration_name"))
- {
- pos.ClientCredentials.Windows.ClientCredential.UserName = user.Name;
- pos.ClientCredentials.Windows.ClientCredential.Domain = user.Domain;
- pos.ClientCredentials.Windows.ClientCredential.Password = user.Password;
- return pos.ProcessRequest(posRequest, "org_name");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement