L
LFN
Hi all,
I have a simple web service in my web application.
The web application is using FormsAuthentication.
The service.vb file is stored in the App_Code folder of the web application.
the service.asmx file is in the root of the web application.
I am now trying to add a web refernce from a seperate windows application
(within the same solution but seperate app)...
The service is being found without a problem (using the visual studio tools)
and I can see its methods etc and even invoke it and get the xml output.
But I cannot add the web reference.
Visual Studio Web Reference tool is saying:
There was an error downloading 'http://localhost/abc/services/headlines.asmx'.
The request failed with the error message:
--
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a
href="/abc/services/headlines.asmx?AspxAutoDetectCookieSupport=1">here</a>.</h2>
</body></html>
I'm guessing that FormsAuthentication is jumping in and breaking my request
for the webService?
Is there any way around this?
When this application goes live (and is moved into the real world) do i have
to host my web services in a seperate application to prevent them from being
sabotaged by the FormsAuthentication?
All and any help would be very greatfully received....
I mean... I cant buy you chocolate or anything but I'll be really really
happy and the karma gods will smile upon you i'm sure
Thanks people.
I have a simple web service in my web application.
The web application is using FormsAuthentication.
The service.vb file is stored in the App_Code folder of the web application.
the service.asmx file is in the root of the web application.
I am now trying to add a web refernce from a seperate windows application
(within the same solution but seperate app)...
The service is being found without a problem (using the visual studio tools)
and I can see its methods etc and even invoke it and get the xml output.
But I cannot add the web reference.
Visual Studio Web Reference tool is saying:
There was an error downloading 'http://localhost/abc/services/headlines.asmx'.
The request failed with the error message:
--
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a
href="/abc/services/headlines.asmx?AspxAutoDetectCookieSupport=1">here</a>.</h2>
</body></html>
I'm guessing that FormsAuthentication is jumping in and breaking my request
for the webService?
Is there any way around this?
When this application goes live (and is moved into the real world) do i have
to host my web services in a seperate application to prevent them from being
sabotaged by the FormsAuthentication?
All and any help would be very greatfully received....
I mean... I cant buy you chocolate or anything but I'll be really really
happy and the karma gods will smile upon you i'm sure
Thanks people.