Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 4th, 2008, 11:53 AM
Authorized User
 
Join Date: Apr 2008
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default Web Service not Found

I have created an ASP.NET Web Service using VS Web Developer which I have tested and it works. However, when I create a C# Windows Form Application as the Client Windows Application and attempt to add a service to the client the service can not be found. I am trying to keep the service and the form in the same project.

Thank you in advance or your assistance.

Brian
 
Old December 4th, 2008, 07:41 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

How are you referencing the service? With what http address? If you are doing this in VS2005+ you might need to set up your site in IIS to expose it properly. Although I think as long as you are working in localhost, even the development web server should be visible by VS for a service reference, after all, Internet Explorer can obviously see it.

-Peter
compiledthoughts.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
Web Service Consuming another web service CraigWhitfield EJB 0 January 10th, 2008 08:38 AM
Error to Add Web Reference from a Web service jdjbarrios ASP.NET 2.0 Professional 0 July 18th, 2006 02:58 PM
Service Oriented Web Service aldwinenriquez .NET Web Services 2 September 15th, 2005 03:25 AM
web service not found yoclee BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 0 July 5th, 2004 10:54 PM
Cryptographic service provider (CSP) not found Pipo BOOK: ASP.NET Website Programming Problem-Design-Solution 2 April 15th, 2004 06:38 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.