WCF web.config中的客户端端点地址

时间:2015-12-16 15:56:06

标签: c# web-services wcf soap wcf-endpoint

我是网络服务新手,对于<client> web.configAccounts.svc.端点的设置存有疑问     请查看附有解释我的架构的图片。

Server Setting in iis service name:https://prddb02:448/Accounts.svc and 
external wsdl :https://company.****/*****?SOAP
   (authenticated with username,password & proxy)
 <client>
    <endpoint address="https://company.****/*****?SOAP"
    binding="basicHttpBinding" bindingConfiguration="CodeItSoap"
    contract="Service.CodeItSoap" name="CodeItSoap" />
 </client>

OR

<client>
     <endpoint address="https://prddb02:448/Accounts.svc"
     binding="basicHttpBinding" bindingConfiguration="CodeItSoap"
     contract="Service.CodeItSoap" name="CodeItSoap" />
</client>

使用哪个端点地址。 请帮我明白这一点。 Architecture diagram

0 个答案:

没有答案