Solved

Consuming Web Service in an Web Application

Posted on 2004-08-05
4
184 Views
Last Modified: 2010-04-15
hi:
   i m  begginer to APS.Net .. m following Professional c# (WORX) ... according to the book i hav created a web service now i want  to use it in a webclient(Webapplication) .. to generate a proxy class so the can communicate i hav to ADD WEB REFRENCE of a .vsdico file ..... i hav added the respective URL but i cnt fine any references .. i cant figure the prob ... nd nor the vsdisco file in any directory on my hjard drive ....
   either tell me the solution or the whole procedure how can i develop a web client which can cal a web service ........
the web service is working properly
   byzzzzzzzzz
0
Comment
Question by:himiz
4 Comments
 
LVL 9

Expert Comment

by:msdixon
ID: 11726950
right click on your project, and select "Add Web Reference"
click the "Web services on the local machine link"
it should find your web service, but if it doesn't you can enter the url of the web service in the location bar
click on the link for the web service
update the web reference name (optional)
click the "Add Reference" button
0
 

Author Comment

by:himiz
ID: 11728350
ok fine ... its working ... will u plz tell me wats .vsdisco file is about and how it is generated coz i cant find a file of this extention in my project folder ......
0
 
LVL 9

Accepted Solution

by:
s_sansanwal earned 50 total points
ID: 11730448
need to select "Show all files" in Solution explorer in VS.NET
See "Solution Explorer" help in MSDN


For Web Service, read this article:

http://aspnet.4guysfromrolla.com/articles/100803-1.aspx

It has 10 parts..
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Why, and when, to use Windows Workflow 1 32
Visual Studio 2013 debugging 2 35
Connecting database in Xamarin? 6 52
Word Directory is not in the drop down list 4 25
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now