I want to call a SOAP-service from my ,net code. But when I import the wsdl I get the following error:
Cannot import wsdl:port Detail: There was an error importing a wsdl:binding that the wsdl:port is dependent on. XPath to wsdl:binding: //wsdl:definitions[@targetNamespace='http://www.bipro.net/namespace']/wsdl:binding[@name='KrankenServiceBinding'] XPath to Error Source: //wsdl:definitions[@targetNamespace='http://www.bipro.net/namespace']/wsdl:service[@name='KrankenService_2.6.0.1.1']/wsdl:port[@name='KrankenService'] Cannot import wsdl:binding Detail: An exception was thrown in a call to a policy import extension. Extension: System.ServiceModel.Channels.SecurityBindingElementImporter Error: An unsupported security policy assertion was detected during the security policy import: https://example.com/SecurityTokenService XPath to Error Source: //wsdl:definitions[@targetNamespace='http://www.bipro.net/namespace']/wsdl:binding[@name='KrankenServiceBinding']
I tried it initially with .NET Core but also with the classic Framework. Same result.
What can I do?