2016-04-26 11 views
1

有効なSSL証明書を使用してWebサイト(Https Port 443)のIIS(8.5)にWebサービス(WCF)をホストしました。WCFサービスメソッドへのリクエストを取得できません

私はhttpでアプリケーションを参照し、サービスメソッドを呼び出してJsonデータを返すことができるすべてのサービスメソッドを見ることができます。 httpsでそれらを呼び出すと、サービスはすべてのメソッドをリストしますが、メソッドの実行を拒否し、エラーをスローします。

WebHost failed to process a request. 


Sender Information: System.ServiceModel.Activation.HostedHttpRequestAsyncResult/50848483 
Exception: System.Web.HttpException (0x80004005): There was no channel actively listening at 'https://MyURL?tea…d=9289&callback=jQuery1111010458340654899811_1461657725831&_=1461657725832'. 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://hypervtest.first-sports.com/RFU/FSI-Services-Host/Competitions.svc/json/GetSeasons?tea…d=9289&callback=jQuery1111010458340654899811_1461657725831&_=1461657725832'. 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() 
    at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result) 
    at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) 
Process Name: w3wp 
Process ID: 11016 

これらのサーバーメソッドは、すでに別のサーバーで実行されています。 私はConfigをコピーし、Bindingsを設定し、他のサーバーと同じだが運がないとしようとしました。

いずれかの提案が歓迎されます。

答えて

0

はこれを追加:[WebInvoke(方法= "GET")]

+0

これはすでにこの属性を持たない別の環境で作業しています。 これは何らかの形で設定されていると思います。 – hussian

関連する問題