Code: Select all
[OperationContract(Name = "GetAllEmployee")]
IList GetEmployees(string UserId, string UserPassword);
Code: Select all
public IList GetEmployees(string UserId, string UserPassword)
{
List E = new List();
return E;
}
konvertiertpublic ServiceWeb.ServiceProWCFService.Employee[] GetAllEmployee(string UserId, string UserPassword)
{
ServicePROWeb.ServiceProWCFService.GetAllEmployeeRequest inValue
= new ServicePROWeb.ServiceProWCFService.GetAllEmployeeRequest();
inValue.UserId = UserId;
inValue.UserPassword = UserPassword;
ServicePROWeb.ServiceProWCFService.GetAllEmployeeResponse retVal =
((ServicePROWeb.ServiceProWCFService.IServiceProWCFService)(this))
.GetAllEmployee(inValue);
return retVal.GetAllEmployeeResult;
}
< /code>
Dies ist nicht korrekt. I tried to change in the advanced settings to make it as shown in this screenshot:

But it still didn't change.
I have already tried these things:
Ändern Sie die erweiterte Einstellung der Konfigurationsreferenz, um System zu machen. /> < /li>
< /ol>
Bitte schlagen Sie eine bessere Lösung vor, um dies zu verarbeiten < /p>