将HeaderHandler传递给代理对象 [英] Passing HeaderHandler to proxy object

查看:129
本文介绍了将HeaderHandler传递给代理对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在开发一个早期在.net framework 2.0中开发并使用一些COM组件和SOAP 3.0的迁移应用程序。 SOAP对象包含一个Web服务,并且一个headerhandler从COM类传递给SOAP对象。

I am working on a migration application which was earlier developed in .net framework 2.0 and uses some COM components and SOAP 3.0. The SOAP object contains a web service and a headerhandler is passed to the SOAP object from COM class.

现在我没有使用该SOAP对象并创建Web服务的代理对象并尝试调用web方法。应用程序成功编译,但在运行时我收到以下错误: -

Now I am not using that SOAP object and creates a proxy object of the web service and trying to call the web method.The applications compiles successfully but at runtime I am getting following error :-

" soap标头请求要么没有存在或格式不正确。"

"A soap header request either does not exist or is formatted incorrectly."

虽然我没有使用SOAP对象,但却给了我错误。请告诉我丢失的地方。

though I am not using the SOAP object it is giving me the error.Please let me know where I am missing.

推荐答案

您好,


你的另一个主题

你在错误的论坛上提出这个问题,这个论坛是关于论坛重新设计的讨论。您可以等待主持人移动此主题,也可以在C#论坛中发帖:

You're asking this question in the wrong forum, this forum is for discussions on the forums redesign. You can either wait for a moderator to move this thread or you can post in the C# forum here:

http://social.msdn.microsoft.com/Forums/en-us/home?forum=csharpgeneral&filter=alltypes&sort = lastpostdesc

祝你的项目好运。


这篇关于将HeaderHandler传递给代理对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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