Answer the question
In order to leave comments, you need to log in
web service client in WinRT
We have:
company.com/services/service.wsdl service, login and password.
Required:
Log in and read the data.
Windows RT platform.
Service.PortTerminalOperationServiceClient client = new Service.PortTerminalOperationServiceClient();
public void ServiceConnect()
{
HlagDataService.credentials login = new HlagDataService.credentials();
login.userId = "11";
login.password = "12";
login.organisation = "FBI";
Task<Service.readAllPortsResponse> x = client.readAllPortsAsync(login);
Service.readAllPortsResponse Ports = x.Result;
We get an error:
The HTTP request was forbidden with client authentication scheme 'Anonymous'.
Perhaps the task is simple, but I did not find any information. I would appreciate your help!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question