Webアプリケーションをリモートサーバーに展開しています。私はIIS 7をセットアップし、サイトが現れます。 Webアプリケーションの一部として、wcfサービスへのサービス参照があります。 これはすべて私のlocalhost上で正常に動作します。 デプロイメントサーバー上でサービス自体は何もしませんでした。私はちょうどIISでWebアプリケーションをセットアップしました。今ではいくつかの問題がある可能性があるソケット例外エラーが発生しました。私はオプションを削除したいだけです......WCFサービスの公開
私の質問は私の展開プロセスの一部としてサービスを公開するか、私はそれに添付されたサービスリファレンスを持つWebアプリケーションを公開して以来、私は大丈夫でしょうか?
ローカルホストへの参照があります(これはうまくいきません)。これはどのように解決されましたか?
</system.webServer>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_IHSSWcfServices" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="None">
<transport clientCredentialType="None" proxyCredentialType="None"
realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://localhost:49506/IHSSWcfServices.svc"
binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IHSSWcfServices"
contract="ServiceReference1.IHSSWcfServices" name="BasicHttpBinding_IHSSWcfServices" />
</client>
</system.serviceModel>
@Ethan ....私が追加したWeb設定を見てください。 –
そのアドレスのURLをブラウザに貼り付けると、サービスページが表示されますか? –