all groups > asp.net webservices > june 2007 >
You're in the

asp.net webservices

group:

Best way to add webservice on website with form authentication?


Best way to add webservice on website with form authentication? Vili
6/20/2007 12:00:00 AM
asp.net webservices:
Hi all

I am having problems with using an webservice on my website which has
form authentication and saves the data to a cookie. When trying to add
web reference to the webservice it complains about the authorization.
The error I get is

"There was an error downloading 'http://localhost:3915/ekoseer/
myWebService.asmx'.

The request failed with the error message:
--
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="/sivusto/Login.aspx?ReturnUrl=%2fsivusto
%2fMyWebService.asmx">here</a>.</h2>
</body></html>

--."

Any help or suggestions would be nice :)

Vili
Re: Best way to add webservice on website with form authentication? Vili
6/20/2007 12:00:00 AM
Forgot to add, that this same webservice must be possible to query
from a server machine without any user logged in.
AddThis Social Bookmark Button