I have a custom desktop application which invokes an ASMX web service. The Service is hosted under a SharePoint Site in a Virtual Directory in IIS. The authentication used is Windows Integrated.
Now, I want to use the same application from a host in our DMZ. I configured ISA Server to allow HTTP access from the DMZ to the Server in our protected network.
Trying to test the application I got some errors like: "Client found response Content type text/html but expected text/xml". I guess that this error comes from the authentication failure since the same app works fine in the protected mode.
What are my options here concerning authentication? Should I allow Anonymous?
Thanks, Dimitris.
**. This means STATUS_AUTHENTICATION_FIREWALL_FAILED (http://msdn.microsoft.com/en-us/library/cc704588.aspx).
– dporikos Apr 09 '12 at 12:19After changing the credentials of the Web Service from DefaultCredentials to an account existing in the domain hosting the Service (protected network) it worked fine.
Which is the best practice of Authenticating the user?Should I add a corporate account to my code to authenticate? Should I enable Anonymous Authentication?