WCFTestClient The HTTP request is unauthorized with client authentication scheme 'Anonymous'

前端 未结 9 1487
囚心锁ツ
囚心锁ツ 2020-12-05 01:34

I\'ve created one WCF service and deployed it on Server. When I browse this service it gives me positive response with ?wsdl URL. Now I\'m trying to test the service through

9条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-05 02:06

    I had the same error today, after deploying our service calling an external service to the staging environment in azure. Local the service called the external service without errors, but after deployment it didn't.

    In the end it turned out to be that the external service has a IP validation. The new environment in Azure has another IP and it was rejected.

    So if you ever get this error calling external services

    It might be an IP restriction.

提交回复
热议问题