Wrox Programmer Forums
|
BOOK: Professional ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Professional ASP.NET 4 in C# and VB by Bill Evjen, Scott Hanselman, Devin Rader; ISBN: 9780470502204
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET 4 : in C# and VB 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 18th, 2010, 03:22 PM
Registered User
 
Join Date: Nov 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Add Service Reference of a WCF service

Hi,
after creating the Calculator WCF Service (chapter 31) I am trying to add the Service reference in an ASP.NET application (WCFConsumer), writing the following address in the address field:
http://localhost:51179/WCFService1/Calculator.svc?wsdl, which I copied from the address bar of IE when viewing the svc file in the browser.
In doing so I receive an error with the following details:
There was an error downloading 'http://localhost:51179/WCFService1/Calculator.svc?wsdl'.
Unable to connect to the remote server
No connection could be made because the target machine actively refused it 127.0.0.1:51179
Metadata contains a reference that cannot be resolved: 'http://localhost:51179/WCFService1/Calculator.svc?wsdl'.
There was no endpoint listening at http://localhost:51179/WCFService1/Calculator.svc?wsdl that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
Unable to connect to the remote server
No connection could be made because the target machine actively refused it 127.0.0.1:51179
If the service is defined in the current solution, try building the solution and adding the service reference again.
I am stuck here and don't know how to solve the problem.

Thanks for any help





Similar Threads
Thread Thread Starter Forum Replies Last Post
Web Service - Add Web Reference - Object moved to surendraparashar ASP.NET 2.0 Professional 1 June 11th, 2010 11:15 PM
WCF service issue geoscaria BOOK: Professional WCF Programming: .NET Dev with Windows Communication Found ISBN: 9780470089842 0 August 12th, 2008 05:44 AM
WCF endpoint error when wrapping WCF service with jdawg1979 Visual Studio 2008 0 July 8th, 2008 11:56 AM
Error to Add Web Reference from a Web service jdjbarrios ASP.NET 2.0 Professional 0 July 18th, 2006 02:58 PM





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