473,385 Members | 1,673 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,385 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 1953

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...
1
by: Jeff Dillon | last post by:
I'm using the webservice I've created: http://www.emergencyreporting.com/ERSWebService/ERSDispatch.asmx When building a client VB.NET app, and adding a web reference to the above file, I see...
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?

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.