Asp.net 2005 website is not finding the webserivce which exist on local machine

i have created a web service using visual studio 2005 in C#. and then i created a website to use this web service.
now i want to know how will i add the reference of my web service to my web site.
I went to Addwebreference window but i donot know wht i have to enter in the field next to URL.

ziorrinfotechAsked:
Who is Participating?
 
Jens FiedererTest Developer/ValidatorCommented:
There are no "lines" needed.


You are using Visual Studio, so if you right-click on your web service project, you will get many options (Build, Rebuild, Clean, Publish, etc.).

The Publish option is the one you select, and this lets you specify the URL you want to use on your machine (I, for example, used http://localhost/websvc1).
0
 
Jens FiedererTest Developer/ValidatorCommented:
Did you PUBLISH the web service you created?


If you did, you should be able to simply select it from "web services on the local machine".
0
 
ziorrinfotechAuthor Commented:
jensfiederer

Can you explain a bit more.

the Webservice which i have created, i did run it.
but i donot know how to publish it.
could you add some more lines pls
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.