?
Solved

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

Posted on 2007-11-21
3
Medium Priority
?
259 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 150 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

770 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