im Tring Filetransfer Basis auf diesen postwcf Das bereitgestellte URI Schema 'http' ist ungültig; erwartet ‚https‘
zu schaffen, wenn ich es auf lokale Prüfarbeiten es große
i auf dem Server meinen Dienst einstellen, ohne ssl mit iis
das ist mein Server-Konfiguration:
<system.serviceModel>
<serviceHostingEnvironment aspNetCompatibilityEnabled="false" multipleSiteBindingsEnabled="true"/>
<bindings>
<wsHttpBinding>
<binding name="TransferService" maxReceivedMessageSize="2147483647">
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647"/>
<security mode="None" />
</binding>
</wsHttpBinding>
</bindings>
<services>
<service behaviorConfiguration="TransferServiceBehavior" name="WcfFTP.FtpService">
<endpoint address="FtpService.svc" binding="wsHttpBinding" bindingConfiguration="TransferService" contract="WcfFTP.IFileTransfer"/>
<endpoint contract="IMetadataExchange" binding="mexHttpBinding" address="mex"/>
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="TransferServiceBehavior">
<serviceMetadata httpGetEnabled="true"/>
<dataContractSerializer maxItemsInObjectGraph="2147483647"/>
<serviceDebug includeExceptionDetailInFaults="true"/>
<serviceThrottling maxConcurrentCalls="500" maxConcurrentSessions="500" maxConcurrentInstances="500"/>
</behavior>
</serviceBehaviors>
</behaviors>
und das ist mein Kunde:
<system.serviceModel>
<bindings>
<wsHttpBinding>
<binding name="WSHttpBinding_IFileTransfer" 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="TransportWithMessageCredential">
<transport clientCredentialType="Digest" proxyCredentialType="None"
realm="" />
<message clientCredentialType="Windows" negotiateServiceCredential="true" />
</security>
</binding>
</wsHttpBinding>
</bindings>
<client>
<endpoint address="http://www.myhost.com/WsFTP/FtpService.svc"
binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IFileTransfer"
contract="FtpWcfClient.IFileTransfer" name="WSHttpBinding_IFileTransfer" />
</client>
iv wurde im Netz mit diesem Sicherheitsproblem etwas Hilfe Tring aber dieser Fehler scheint
versucht ok iv es auch den Fehler das ist ich habe: Die HTTP-Anforderung mit Client verboten Authentifizierungsschema 'Anonym' Wie kann ich es ohne ssl tun? Ich werde nicht https in meine Website setzen, aber immer noch will ich in der Lage sein, Ordner mit Hilfe von wcf und nicht ftp iv Fragen [hier] (http://forums.asp.net/t/1784874.aspx/1?wcf % 20Der% 20Vorgesehen% 20URI% 20Schema% 20http% 20ist% 20Invalid% 20Erwartet% 20https% 20) auch –
Ich brauche die gleiche Antwort wie roy.d die Antwort ermöglicht es mir nicht, http und Windows-Authentifizierung zu verwenden. Vielen Dank! – JDPeckham