473,386 Members | 1,763 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

web application and web service

m.a
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
Aug 8 '08 #1
2 1023
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.@spamoff.comwrote in message
news:OQ****************@TK2MSFTNGP03.phx.gbl...
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

Aug 9 '08 #2
m.a wrote:
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
Aug 10 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: BK | last post by:
Can someone point me to a code sample that illustrates executing long running tasks (asynchronous) from a web application in ASP.NET? I assume that Web Services might come into play at some point,...
10
by: Jeremy Ames | last post by:
I have created a web application that uses a custom control and a web service on my local system. I have gotten all of the bugs worked out on my local system and now it is time to move it to the...
15
by: Chakkaradeep | last post by:
Hi all, i have written a Service,now i want to execute another application (for eg;calc.exe) in the service....how will i perform it??... i tried using this.... /**************Executing a...
5
by: vinoth | last post by:
Hi, I have created WindowsService Project.In that Project OnStart Method i have written the following Code. In this code the Server is waiting for the connection from client. When the Client...
11
by: Jason | last post by:
Hi I have a "problem" i have got a ASP.NET application. in this application i have included logging. in the logging i have logged how many seconds it takes for this application to fully load....
2
by: Randall Powell | last post by:
I am in the process of developing a Windows Service which will: (1) monitor multiple network shares; (2) marshal text file transfers into an SQL Server 2000 instance; and (3) provide messaging...
4
by: Vijay Kerji | last post by:
Dear Friends, please read the following scenario... - A website which invites different users to register/participate in an initiative - Intial time period will be given to the user to access...
3
by: Sylvie | last post by:
My Windows Application has two forms, one form contains a grid (lets say Stock Listing), and the other is a form of one stock, contains some edit boxes for one stock's fields.. Is it possible to...
1
by: David | last post by:
"David" <davidd31415@yoowhoo.comwrote in message news:3dmdnQe_FOWLdWHanZ2dnUVZ_veinZ2d@comcast.com... No luck yet. I created a service from scratch but keep getting the "service on local...
22
by: robertgregson | last post by:
Using C#, .NET3.5, Visual Studio 2008 and WCF on Windows VISTA SP1, I have written a service, service host (as a C# console application) and a client. The service uses...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.