Can I have web service client in one solution call a web service in another solution?

  • Thread starter Thread starter Ron L
  • Start date Start date
R

Ron L

Guest
I am working on building a client/server solution where the client is Xamarin Forms and the server is MVC. For several reasons I need to keep these as separate solutions. Within the server solution I have a very simple client that allows me to test connectivity and basic responses of GET and POST. These calls work when I run the server solution and access the server using the client in that solution. However, when I try to hit the server with a very similar call from the client in the mobile solution I am always receiving a "401.2 Unauthorized" error on connecting.

I have Windows authentication turned on for the server, and both clients are using HttpClient with the HttpClientHandler set to use default credentials. Are there some IIS Express or Visual Studio settings I have to setup to allow cross-solution access?


TIA

Ron L.


Ron L

Continue reading...
 
Back
Top