[英]can you use castle dynamic proxies on web services references?
Is it possible to create a dynamic proxy on the a web service reference that has been added to a visual studio project? 是否可以在已添加到Visual Studio项目的Web服务引用上创建动态代理?
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? 我已经以常规方式添加了Web服务参考,并尝试使用Castle创建动态代理,以将方法调用包装在try / catch中以翻译任何SoapExceptions,但是在运行它时,我遇到了很多错误可序列化的类?
has anyone done anything like this? 有人做过这样的事情吗?
thanks 谢谢
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 最好在Castle用户组中进行讨论
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.