Solved

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

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
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…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

757 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

22 Experts available now in Live!

Get 1:1 Help Now