如何将 DIME 与 WSE 3.0 一起使用?
我需要调用仅支持 DIME 的旧版 SOAP API ,但 WSE 3.0 不支持 DIME。
不幸的是,支持 DIME 的 WSE 2.0 不支持与 Visual Studio 2005 结合使用。
我理解迁移到 MTOM,但与遗留服务通信的需求并没有因为新标准的发布而消失。
谢谢你的帮助。
I need to make calls to a legacy SOAP API that only supports DIME, but DIME is not supported in WSE 3.0.
Unfortunately, WSE 2.0, which supports DIME, is not supported in conjunction with Visual Studio 2005.
I understand the reasons for moving to MTOM, but the need to communicate with legacy services does not disappear because a new standard is released.
Thanks for any help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
虽然您没有 VS 2005 支持,但您仍然可以完成这项工作。 请记住,VS 是一个非常简单的工具,但您始终可以绕过它。 我的建议是您下载 WSE 2.0 并找到包含 DIME 和您需要的其他库的程序集。 然后添加从客户端到该程序集的引用,并将命名空间包含在文件中。 以下文章展示了如何编写客户端代码,但没有提及 VS 支持:
http ://msdn.microsoft.com/en-us/library/ms996944.aspx
请注意设置配置文件以引用正确程序集的示例。 您可能需要尝试获取正确的参考资料和一些手动工作,但我确信这是可能的。
我第一次使用 DIME 是通过 MS 发布到 GotDotNet 的预览副本,但现在已经消失了。 我有源代码和类似上面的文章,但没有 IDE 支持,并且可以正常工作。
乔
While you don't have VS 2005 support, you can still make this work. Remember that VS is a tool that makes it incredibly easy, but you can always get around it. My proposal is that you download the WSE 2.0 and find the assembly containing DIME and other libraries you need. Then add a reference from your client to that assembly and include the namespace in your file. The following article shows how to code the client, not saying anything about VS support:
http://msdn.microsoft.com/en-us/library/ms996944.aspx
Notice the example that sets the config file to reference the right assemblies. You might have to play around with getting the right references and some manual work, but I'm sure it's possible.
The first time I used DIME was with a preview copy that MS had posted to GotDotNet, which is now gone. I had the source code and articles like the one above, but no IDE support and got it to work just fine.
Joe