I have a third-party web service to call from an ASP.NET Web API application. This third party service is not svc or asmx. And all I gave is 2 WSDL for TEST and PROD environments.
https://test.xyz.com/XYZEventService?wsdl https://xyz.com/XYZEventService?wsdl
Now I plan to add the class library to the web API application and get the links to the services for these services generated using svcutil.exe.
svcutil.exe
But how can I distinguish between TEST and PROD? Or in an ideal situation, one proxy will work for both?
My question is about the best way to configure and use multiple third-party web services within a single web API application.
, - .
TEST, web.config. web.config , URL- TEST.
, web.Release.config, , PROD.
Debug TEST, URL- , Release PROD.
, web.config.
Source: https://habr.com/ru/post/1524794/More articles:How to create a dark Google Maps image for Google Glass? - google-glassRemove all quotation marks in values in Pandas - pythonFailed to configure remote connections. MYSQL Ubuntu - mysqlJar file will not start with double click - javaJava ImageIO.read (getClass (). GetResource ()) returns null - javaИспользование ServiceStack Funq IoC: как впрыскиваются зависимости? - c#Intuition about a kernel trick in machine learning - statisticswarning c4307 integral constant overflow in C - c ++Redirecting to the constructor in place - c ++The DSA signature verification in C does not match the signature verification on the console. OpenSSL (enabled) - cAll Articles