0

私は WCF がまったく初めてで、これらの関数を作成しました。私のローカルホストでは完全に動作しますが、IIS に配置した後、使用しようとするとエラーメッセージ 405「メソッドは許可されていません」が表示されます。

[ServiceContract]
    public interface IService1
    {
        [WebInvoke(Method = "GET")]
        [OperationContract]
        string EncryptZonderPaswoord(string tekst);

        [WebInvoke(Method = "GET")]
        [OperationContract]
        string EncryptMetPaswoord(string tekst, string paswoord);

        [WebInvoke(Method = "GET")]
        [OperationContract]
        string DecryptZonderPaswoord(string tekst);

        [WebInvoke(Method = "GET")]
        [OperationContract]
        string DecryptMetPaswoord(string tekst, string paswoord);
    }

...

誰でもアイデアはありますか?IIS で設定する必要がある追加のプロパティはありますか?

4

1 に答える 1