c# - ASMX Web service call its own instance located at different location -


i have 1 service located @ servers http://myservice/profilemanagerws/profilemgrws.asmx

when client make call, need check request header property. if property call canadian instance, redirect call http://ca-myservice/profilemanagerws/profilemgrws.asmx

previously service located @ servers , have hosted service canadian servers now.

we not want make code changes @ consumers of http://myservice/profilemanagerws/profilemgrws.asmx

should write httpmodule or soap extension instance?

also, should add proxy instance call canadian instance?

first of all, unless client application has functionality accept redirect response won't able alter web service functionality.

what want implement geographical load balancing @ dns server. if canadian requests ip address myservice, give them ip address goes candian server configured accept requests myservice domain.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -