|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Problems with Adding Service Referencewhose 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.AnalysisServiceBehavior" 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> |
|||||||||||||||||||||||