Ho un servizio WCF distribuito dietro il bilanciamento del carico, quando provo a raggiungerlo con SOAP funziona benissimo, ma quando provo a raggiungerlo tramite URL REST ottengo l'errore sotto indicato .WCF REST: WebHost non è riuscito a elaborare richiesta
Questo è l'URL REST cerco di raggiungerlo con https: // devreporting.dev.sample.com/ReportingManagement.svc/getAddtionsByCategory ..
Il bilanciamento del carico VIP è https: // devreporting.dev .sample.com e c'è solo un server dietro il firewall che è dev01
Credo che questo sia un problema con le intestazioni host, ma non sono sicuro di come risolvere questo problema. Qualsiasi idea sarebbe molto apprezzata.
Message: WebHost failed to process a request. Sender Information: System.ServiceModel.Activation.HostedHttpRequestAsyncResult/12646224
Exception:
System.Web.HttpException: There was no channel actively listening at 'https://dev01.dev.sample.com:17005/ReportingManagement.svc/reporting/getAddtionsByCategory'.
This is often caused by an incorrect address URI.
Ensure that the address to which the message is sent matches an address on which a service is listening. --->
System.ServiceModel.EndpointNotFoundException: There was no channel actively listening at 'https://dev01.dev.sample.com:17005/ReportingManagement.svc/reporting/getAddtionsByCategory'.
This is often caused by an incorrect address URI.
Ensure that the address to which the message is sent matches an address on which a service is listening.
at System.ServiceModel.Activation.HostedHttpTransportManager.HttpContextReceived(HostedHttpRequestAsyncResult result)
at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.HandleRequest() at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.BeginRequest()
--- End of inner exception stack trace ---
at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)
at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result)
Process Name: w3wp Process ID: 4760
Si può spiegare che cosa è la differenza tra la SOAPURI e il riposo URI, vuoi dire che uno è su Http e l'altro è su Https? – hussian