使用旧版 ColdFusion 4.5 使用 VB.NET Web 服务
我的旧版 ColdFusion 4.5 应用程序需要使用 VB.NET Web 服务,我想知道是否有人使用 ColdFusion CFWDDX ACTION="WDDX2CFML" 成功反序列化 XML,
但我还没有成功,希望有任何代码示例,因为我无法使用CFINVOKE。
My legacy ColdFusion 4.5 app needs to consume a VB.NET web service and I am wondering if anyone has had success deserializing XML using the ColdFusion CFWDDX ACTION="WDDX2CFML"
I have not had success yet and would appreciate any code examples as I cannot use CFINVOKE.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你用什么来序列化 VB.Net 数据?如果您还没有找到合适的方法,那么这个库: http://boncode.blogspot.com/2011/10/net-wddxnet-library-revision.html 看起来是一个很好的选择。正如您所提到的,您应该能够使用
将格式良好的 WDDX 反序列化回 CF 代码。如果您有一些 WDDX 值未通过该标签正确传递,请发布该 WDDX,以便我们了解可能导致问题的原因。What are you using to Serialize your VB.Net data? If you haven't found a decent means of doing that, then this library: http://boncode.blogspot.com/2011/10/net-wddxnet-library-revision.html looks to be a good one for doing so. You should be able to deserialize well formed WDDX back into CF code with the
<cfwddx action="WDDX2CFML">
, as you mentioned. If you have some WDDX values that are not being correctly brought over with that tag, then please post that WDDX so we can see what might be causing the problem.