473,395 Members | 1,948 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Problems with Adding Service Reference

M R
I wrote a WCF service that currently runs in a Console host with the config
whose XML is shown below. I have tested the service and it works, i.e. it
receives the requests and provides the reply,

I am writing a new client that utilizes the service and am trying to create
a Service Reference. I start the service, test it to verify that it is
running properly and then i try to add the service.
I am unable to add the service. When I enter the URL
"tcp.net//localhost:8080/AnalysisService" or
http://localhost:8000/AnalysisService i get an error that "This program
cannot display the webpage"

Am I using the wrong URL? is there an error in the host config file?
thanks for any suggestion.
m

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<bindings />
<client />
<services>
<service
behaviorConfiguration="AnalysisService.AnalysisSer viceBehavior"
name="AnalysisService.ServiceAnalyze">
<endpoint address="mex" binding="mexTcpBinding"
bindingConfiguration="" name="MexTcpBinding"
contract="AnalysisService.IServiceAnalyze" />
<endpoint address="net.tcp://localhost:8080/AnalysisService"
binding="netTcpBinding" bindingConfiguration=""
name="AnalysisServiceTcpEndpoint" contract="AnalysisService.IServiceAnalyze"
/>
<host>
<baseAddresses>
<add
baseAddress="http://localhost:8000/MSOMEServiceAnalyze" />
</baseAddresses>
</host>
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="AnalysisService.AnalysisServiceBehavior">
<serviceMetadata httpGetEnabled="True"/>
<serviceDebug includeExceptionDetailInFaults="False" />
</behavior>
</serviceBehaviors>
</behaviors>
</system.serviceModel>
</configuration>
Nov 28 '07 #1
0 1207

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Dan Smith | last post by:
When I try to create a new C# Web Reference in Visual Studio 2003, I get an error message "The proxy settings on this computer are not configured correctly for web discovery. ..." This web...
0
by: Saumendra | last post by:
Hi guys, When I am adding a Web Reference in Visual Studio.net, I provide the url to the .vsdisco file, so that Visual Studio.net can dynamically discover all the available Web Services. Now when...
3
by: MIGUEL | last post by:
Hi all, I'm quite lost with how adding web references to a project creates proxy classes. I've developed a web service with two classes inside and that contains three references to three...
1
by: rgarf | last post by:
I have a web service that is consumed by a C++ application. I added a C# dll reference to the web service, When the web service calls a method on the dll, it sends back an HRESULT of E_FAIL to my...
1
by: Matthias De Ridder | last post by:
Hello, I really hope that someone will be able to help me, because I'm desperate now! I'm a student, graduating this year, and I'm working on a thesis where C# Web Services are involved. I...
0
by: Sanjaya | last post by:
Hi, I'm using a custom wsdl for my webservice. this is how have done it http://pluralsight.com/blogs/craig/archive/2005/12/15/17482.aspx. When i try to add a webreference to my service from a...
0
by: Sanjaya | last post by:
Hi, I need to add application specific headers and reference parameter in the "ReplyTo" to my web service request as header elements. What is right way to do this? I'm using framework 1.1 with...
0
by: M R | last post by:
I wrote a WCF service that currently runs in a Console host with the config whose XML is shown below. I have tested the service and it works, i.e. it receives the requests and provides the reply, ...
5
by: Simon | last post by:
I have problem with namespaces. I have a program that consumes the web service and has for instance names space nsProgram. In this program I have defined several classes that I use for storing and...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.