我有带有 basicHttpBinding 的 WCF 服务:
<basicHttpBinding>
<binding name="DefaultBasic" closeTimeout="00:30:00" openTimeout="00:30:00"
receiveTimeout="05:00:00" sendTimeout="00:30:00" maxBufferSize="655360000"
maxBufferPoolSize="524288000" maxReceivedMessageSize="655360000">
<readerQuotas maxDepth="655320000" maxStringContentLength="655320000"
maxArrayLength="655320000" maxBytesPerRead="655320000" maxNameTableCharCount="655320000" />
<security mode="TransportCredentialOnly">
<transport clientCredentialType="Basic" />
<message clientCredentialType="UserName" />
</security>
</binding>
</basicHttpBinding>
java客户端可以使用这个服务吗?同事告诉wsdl这部分是有问题的:
<wsp:Policy wsu:Id="Basic_policy">
<wsp:ExactlyOne>
<wsp:All>
<http:BasicAuthentication xmlns:http="http://schemas.microsoft.com/ws/06/2004/policy/http"/>
</wsp:All>
</wsp:ExactlyOne>
</wsp:Policy>
编辑: java 客户端是否可以使用 Windows 身份验证服务?