Consider that I am about to create a general interface to subscribe and unsubscribe for a duplex service, for example To:
[ServiceCentrack (Callback Contract = Typef (ICLBack service)) Public Interface IISIS [(Operation Contract) Zero Sub (); [Operation Contract] Zero (); } Public Interface ICallbackService {[operationcontract (isoneway = true)) sending zero (object data); } Public Interface IFirstService: IService {} Public Interface ISecondService: IService {}
and during the duplex channel example, on client side, as my callback instance
Class Callback Class: ICallbackService {Public Zero Send (object d) {}}
and when using
Duplexconflorfactor & lt; IFirstService & gt; Fact = New Duplex Channel feature & lt; IFirstService & gt; (New example convert text (new callback class ()), new wsdualhttpbinding (), "address"); Var chan = fact.CreateChannel (); I have to face a problem saying that the contract IFirstService does not define any operation. One can help in this type of scenario. Unfortunately, you can not do it, it is not possible to do this because soap does not support this.
.
No comments:
Post a Comment