Solved

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

Posted on 2007-11-21
3
246 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
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:…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

713 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