wcf - Add Service Reference to Old Service -
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: 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'
& 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>
Comments
Post a Comment