Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

WCF NetTcpBinding mit Callback

5 views
Skip to first unread message

Michael Giger

unread,
Nov 10, 2009, 1:21:01 AM11/10/09
to
Hallo

Ich habe einen WCF Service programmiert, welcher ein TCP Endpoint besitzt.
Im Client habe ich ein Proxyobjekt (Im VS2008 -> Add Service Reference)
erstellt. Ohne Callbackfunktionalität funktioniert alles einwandfrei. Sobald
ich jedoch beim Service das Callbackinterface deklariere, bekomme ich
Probleme mit der ChannelFactory:

The InstanceContext provided to the ChannelFactory contains a UserObject
that does not implement the CallbackContractType
'TestClient.proxyProduct.IProductCallback'.

Genügt es nicht, das Proxy automatisch generieren zu lassen? Die Endpoints
möchte ich eigentlich im Config-File definieren (also nicht im Sourcecode).

Kennt jemand ein Beispiel?
Besten Dank!

Michael

0 new messages