English 中文(简体)
WCF服务的网络参考资料
原标题:Web reference for WCF service
  • 时间:2012-05-17 11:46:28
  •  标签:
  • wcf

I am consuming WCF service in my VS 2005 solution by adding as webreference. Ex: Today my WCF url address is - http:// ip-001 :/service If tomorrow i deployed my service in ip-002 machine, in this case i have to add again the service reference by using the http:// ip-002 :/service or i have to change only config file. Note: no service changes has made from ip-001 to ip-002. Let me know without any service changes only url is changes in this case i have to change only config will it work?

问题回答

只要你不这样做,安全就不应仅仅改变地址。 如果你能够安全,那么有两个问题需要了解。

如果他们使用SSL,那么你需要确保他们使用的证书权威在客户机器上得到信任。

如果客户正在查明英国航天中心提供的远程机器,那么如果你想要支持一个以上的边远的马mah,那么你就不得不转向类似证书的参考。

在此情况下,只有改变政界才能发挥作用。

添加的网络参考资料仅与元数据交换终点连接,并下载该轮驱动器,然后用于生成客户密码以遵守合同。 你不需要这样做,你可以手写正确的客户旁码,或者与服务器共用图书馆,以便有相同的客户密码。

客户和服务器一旦有了这一信息,就与该守则产生的飞跃通信。 这些飞跃的信息非常重要。 只要服务器检索正确构造了电文,而客户正确将服务器发出的信息编码。 它现在设在另一个服务器上,这是没有意义的。

客户不是网基,可以要求撤销服务,这样客户的密码都能用不同语言生成,或者电文可以由操纵磁带的人发送。





相关问题
WCF DataMember Serializing questions

Ok, so I was part way through the long winded process of creating DTOs for sending my model over the wire and I don t feel like I m going down the right route. My issue is that most of the entities ...

Access WCF service on same server

I have a .NET website with a WCF service. How do I access the current operations context of my service? One possible work around is to just make a call to the service within the app...but that seems ...

WCF binding error

So I got into work early today and got the latest from source control. When I try to launch our ASP.NET application, I get this exception: "The binding at system.serviceModel/bindings/wsHttpBinding ...

The service operation requires a transaction to be flowed

I am facing strange issue with our WCF service. The same code was working fine until recently we added more OperationContracts(Web Methods). We have common 3 tier architecture. DAL (WCF) BLL Web ...

热门标签