wcf 서비스를 호출하는 실버 라이트 앱이 있는데 배포하는 데 문제가 있습니다.silverlight wcf 서비스 자격증 명 프롬프트
파일을 게시 할 수 있지만 앱이 서비스에 액세스하려고 시도하면 아무 것도 돌아 오지 않는 것 같습니다.
이 앱은 어떤 이상한 것은 그 오류를 던지고되지 것입니다 Windows 인증
와 클라이언트 자격 증명을 설정합니다. 실버 라이트 앱은 빈 화면으로 멈춘 것처럼 보입니다.
배포 된 서비스를 테스트하려면 브라우저에서 액세스하려고하며 자격 증명을 묻는 메시지가 표시됩니다. 내 이름과 암호를 넣으려고하지만 자격 증명을 다시 묻습니다.
어떤 자격 증명을 요구합니까?
어떻게해야합니까?
<configuration>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_IService" maxBufferSize="2147483647"
maxReceivedMessageSize="2147483647">
<security mode="TransportCredentialOnly" />
</binding>
</basicHttpBinding>
</bindings>
<client>
<endpoint address="../Service.svc" binding="basicHttpBinding"
bindingConfiguration="BasicHttpBinding_IService" contract="ServiceReference1.IService"
name="BasicHttpBinding_IService" />
</client>
</system.serviceModel>
</configuration>
다음은 웹 설정입니다 : 여기
클라이언트 설정의Integrated Windows Authentication
이 off` 설정되어있는 경우
<configuration>
<system.web>
<httpRuntime executionTimeout="180" />
<compilation debug="true" targetFramework="4.0" />
<customErrors mode="Off"/>
</system.web>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="BasicHttpStreamingBinding" maxBufferSize="2147483647"
maxReceivedMessageSize="2147483647" transferMode="Streamed" receiveTimeout="01:00:00" sendTimeout="01:00:00">
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
<security mode="TransportCredentialOnly">
<transport clientCredentialType="Windows" />
<!--<transport clientCredentialType="Ntlm" />-->
</security>
</binding>
</basicHttpBinding>
</bindings>
<client />
<behaviors>
<serviceBehaviors>
<behavior name="">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
</behavior>
</serviceBehaviors>
</behaviors>
<serviceHostingEnvironment
multipleSiteBindingsEnabled="true" />
<services>
<service name="CitationAir.MissionPlanning.WebService.Service">
<endpoint address="" binding="basicHttpBinding" bindingConfiguration="BasicHttpStreamingBinding"
contract="CitationAir.MissionPlanning.WebService.IService" />
</service>
</services>
</system.serviceModel>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
</system.webServer>