I'm working on an ASP.NET Core 6 Web API server.
I'm trying to add a WCF web service reference, and I0m getting a policy assertion error:
Warning: The following Policy Assertions were not Imported:\r\n XPath://wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:binding[@name='BasicHttpBinding_ILoginService']\r\n Assertions:
<sp:HttpsToken xmlns:sp='http://schemas.xmlsoap.org/ws/2005/07/securitypolicy'>..</sp:HttpsToken>
I have checked the validity of the WSDL and it passed the tests. I have tried to insert the service URL in the browser and I'm getting a correct response.
I have searched and unfortunately was not able to successfully find an answer which will resolve this matter.
Does anyone has ever encountered it and been able to fix it?