Solved

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

Posted on 2007-11-21
3
241 Views
Last Modified: 2010-04-14
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.

0
Comment
Question by:ziorrinfotech
  • 2
3 Comments
 
LVL 23

Expert Comment

by:Jens Fiederer
ID: 20328349
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
 

Author Comment

by:ziorrinfotech
ID: 20328400
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
 
LVL 23

Accepted Solution

by:
Jens Fiederer earned 50 total points
ID: 20328490
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

Featured Post

The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

Question has a verified solution.

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

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

829 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