在WCF回调中,对象引用未设置为操作上下文的对象实例 [英] Object reference not set to an instance of an object for Operation Context in WCF Callbacks

查看:57
本文介绍了在WCF回调中,对象引用未设置为操作上下文的对象实例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用带有回调的WCF服务.

但是我的操作上下文始终返回null并引发异常对象引用未设置为对象的实例."

其他所有工作都很好,但是回调未发生,我正在使用wsdualhttpbinding.引起问题的东西可能是我什么?

 


建议的建议

解决方案

您可以发布配置设置吗?


I am having a WCF service with callbacks. 

But my operation context always returns null and throws an exception "Object reference not set to an instance of an object."

Every thing else is working fine but the callback is not happening, i am using wsdualhttpbinding. what might me the thing which is causing problems.....?

 


Suggestions Appreciated

解决方案

Can you post your config settings?


这篇关于在WCF回调中,对象引用未设置为操作上下文的对象实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆