| |
 |
|
|
.NET DotNet Forum Index » ASP.NET - Webservices Forum » web application and web service...
Page 1 of 1
|
| Author |
Message |
| m.a... |
Posted: Fri Aug 08, 2008 5:45 pm |
|
|
|
Guest
|
Hello,
I have a web application which is secure using a login page. I add a web
service to this web application and now I want to create a reference to this
web services using MSVC, but the web application doesn't let me to connect
to the web service before I login to the site.
How can I login to site without using a web browser?
How can I use a web services which is inside a web application?
Regards |
|
|
| Back to top |
|
| Cowboy (Gregory A. Beamer)... |
Posted: Fri Aug 08, 2008 10:05 pm |
|
|
|
Guest
|
Does the web service require the same security? If not, put it in another
folder and put a web.config that does not require the same security. You
will have to have a means of securing the service, of course, but that will
allow you to do what you desire. You can do it in the same folder, but it
requires a more intrictate web.config.
--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss
or just read it:
http://gregorybeamer.spaces.live.com/
********************************************
| Think outside the box! |
********************************************
"m.a" <ma. at (no spam) spamoff.com> wrote in message
news:OQcInha%23IHA.1016 at (no spam) TK2MSFTNGP03.phx.gbl...
Quote: Hello,
I have a web application which is secure using a login page. I add a web
service to this web application and now I want to create a reference to
this web services using MSVC, but the web application doesn't let me to
connect to the web service before I login to the site.
How can I login to site without using a web browser?
How can I use a web services which is inside a web application?
Regards
|
|
|
| Back to top |
|
| Arne Vajhøj... |
Posted: Sun Aug 10, 2008 6:42 pm |
|
|
|
Guest
|
m.a wrote:
Quote: I have a web application which is secure using a login page. I add a web
service to this web application and now I want to create a reference to this
web services using MSVC, but the web application doesn't let me to connect
to the web service before I login to the site.
How can I login to site without using a web browser?
How can I use a web services which is inside a web application?
You can specify Credentials in a web service call.
And if BASIC/digest/NTLM/Kerberos authentication is
good, then that should work.
Form based and having session in CookieContainer will
become messy.
Arne |
|
|
| Back to top |
|
| |
|
Page 1 of 1
All times are GMT - 5 Hours
The time now is Thu Jan 08, 2009 6:37 am
|
|