wcf - Add Service Reference to Old Service -


"itemprop =" text ">

I am running through a Windows service in an old service that launches a service host through runtime on HTTP One needs to hook up I do not know how to get your 'add a service reference' to work. I know that the log file shows that the service is running. Here are the configuration entries for the service:

  & lt; System.serviceModel & gt; & Lt; Binding / & gt; & Lt; Services & gt; & Lt; Service behaviorConfiguration = "blah.blah.WCF_Service.EngineServiceBehavior" name = "blah.blah.WCF_Service.EngineService" & gt; & Lt; endpoint address = "http: // localhost: 8455 / EngineService /" binding = "basicHttpBinding" bindingConfiguration = "" name = "engine" bindingName = "engineBinding" contract = "blah.blah.IEngineService" & gt; & Lt; Identity & gt; & Lt; DNS value = "localhost" /> & Lt; / Identification & gt; & Lt; / Endpoint & gt; & Lt; endpoint address = "MEX" binding = "mexHttpBinding" bindingConfiguration = "" name = "MAX" contract = "IMetadataExchange" /> & Lt; Host & gt; & Lt; BaseAddresses & gt; & Lt; Add baseAddress = "http: // localhost: 8455 / EngineService /" /> & Lt; / BaseAddresses & gt; & Lt; / Host & gt; & Lt; / Services & gt; & Lt; / Services & gt; & Lt; Behavior & gt; & Lt; Service Behariers & gt; & Lt; Hauveer Name = "blah.blah.EngineServiceBehavior" & gt; & Lt; ServiceMetadata httpGetEnabled = "true" /> & Lt; Service debug includes ExceptionDetailInFaults = "true" /> & Lt; / Behavior & gt; & Lt; / ServiceBehaviors & gt; & Lt; / Behavior & gt; & Lt; /system.serviceModel>   

This is a MEX endpoint being installed, but I can not see how to get the service information for the URL creation.

Any ideas?

It looks like you need some details to add a service context. In your project, right-click on 'References' and select 'Add Reference Service ...' and enter the address mentioned John Saunders and then click on 'Go'  Enter image details here

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -