I am using Azure API Management Soap Pass through URL(ENdpoint) It has subscription key for authentication.
But when I add wsdl web endpoint have only base address and not header. And after web service call I am getting the error:
{"The HTTP request is unauthorized with client authentication scheme 'Anonymous'.
The authentication header received from the server was 'Key realm=\"https:\url\",name=\"Key\",type=\"header\"'."}
I guess I am missing passing a header.
How to pass header to call web api endpoint? We cant mention it in web.config.