How to use MS SOAP toolkit?

落花浮王杯 提交于 2019-12-21 05:44:07

问题


I know that the Microsoft SOAP toolkit has been deprecated for a while now (.NET has all this stuff built in) but I was wondering in anyone has a quick bit of info on setting up a simple app that uses it. I was referred to http://www.devarticles.com/c/a/Cplusplus/Building-A-SOAP-Client-With-Visual-C-plus/ but the service in the example is no longer functioning and I can't seem to find any documentation online.

I've looked into gSoap, but it seems overly complicated for what I have to do and despite not being able to get it to work, the SOAP toolkit seems (relatively) elegant.


回答1:


Don't do it. It's 5 years deprecated, and it was 2 years out of date when it became deprecated. Don't.

Assuming you are running on Windows (since you mentioned the MS SOAP Toolkit), use the imminently-arriving WWSAPI instead.

Also see this post: http://blogs.msdn.com/vcblog/archive/2009/03/31/interested-in-using-web-services-in-your-native-c-c-code.aspx

EDIT: If you want something more basic, you can use MSXML and build your SOAP requests manually.




回答2:


Really. "Deprecated" is not the word for it. It's at the top of my list of obsolete web service technologies:

  1. SOAP Toolkit
  2. WSE 1.0
  3. WSE 2.0
  4. WSE 3.0

  5. ASMX - not quite obsolete. Just "legacy".



来源:https://stackoverflow.com/questions/1196039/how-to-use-ms-soap-toolkit

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!