0

私はWCFサービスに慣れていません。WindowsサービスでホストされているWCFライブラリ(DLL)を持っています。このサービスは、リフレクションによって呼び出されているDLLによって呼び出されます。Windowsサービスに次のapp.configがあり、呼び出すEXEがありますすべてを一緒に:

  <system.serviceModel>
    <bindings>
      <wsHttpBinding>
        <binding name="WSHttpBinding_IVerifyIC" closeTimeout="00:01:00"
            openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
            bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
            maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
            messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
            allowCookies="false">
          <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
              maxBytesPerRead="4096" maxNameTableCharCount="16384" />
          <reliableSession ordered="true" inactivityTimeout="00:10:00"
              enabled="false" />
          <security mode="Message">
            <transport clientCredentialType="Windows" proxyCredentialType="None"
                realm="" />
            <message clientCredentialType="Windows" negotiateServiceCredential="true"
                algorithmSuite="Default" />
          </security>
        </binding>
      </wsHttpBinding>
    </bindings>
    <client>
      <endpoint address="http://localhost:8732/S3IcVerification/S3.IcVerfication.Wcf.Service/VerifyIC/"
          binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IVerifyIC"
          contract="VerifyIcService.IVerifyIC" name="WSHttpBinding_IVerifyIC">
        <identity>
          <dns value="localhost" />
        </identity>
      </endpoint>
    </client>
  </system.serviceModel>

デプロイメント環境で実行すると、次のエラー メッセージが表示されます。

サービス 'S3.IcVerfication.Wcf.Service.VerifyIC' にはアプリケーション (非インフラストラクチャ) エンドポイントがありません。

また、WCFTestClient でも機能しません。エンドポイントがないことを説明するエラーメッセージを返します...など

私は何を間違えましたか?

4

0 に答える 0