您可以在 Web 服务引用上使用城堡动态代理吗?
是否可以在已添加到 Visual Studio 项目的 Web 服务引用上创建动态代理?
我已经以正常方式添加了 Web 服务引用,并尝试使用 castle 创建动态代理,将方法调用包装在 try/catch 中以转换任何 SoapExceptions,但在运行它时,我收到了很多非可序列化的类?
有人做过这样的事吗?
谢谢
Is it possible to create a dynamic proxy on the a web service reference that has been added to a visual studio project?
I've added the web service reference in the normal way and tried to create a dynamic proxy using castle to wrap the method invocation in a try/catch to translate any SoapExceptions, but on running it I'm getting a lot of errors around non serializable classes?
has anyone done anything like this?
thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,这应该是可能的。
您遇到什么错误?您尝试序列化哪些类不会序列化?
最好在Castle 用户群组上讨论这个问题
yes, this should be possible.
What errors are you getting? Which classes you're trying to serialize that won't serialize?
It's probably better to discuss it on Castle users group