How is the best way to write a SOAP 1.2 Client with Delphi Win32

核能气质少年 提交于 2019-12-23 07:20:12

问题


So far, no Delphi version supports SOAP 1.2 clients or server.

I have tried for weeks to make it works, but every time a new problem, with VS/C# I could do the same, and make works in 3 days, but I need to do with Delphi 2009.

"I write a new version using Rem Objects SDK,", but the result was not better that I had with Delphi SOAP library.

But I'm wondering what choice else do I have, which library/component full support SOAP 1.2?

I found a message from Bruneau, suggesting Pocket SOAP http://www.pocketsoap.com/pocketsoap/ I don't know how this works, Ill investigate and see what I can do.


回答1:


Remember to vote for SOAP 1.2 support on codegear's QC:

http://qc.codegear.com/wc/qcmain.aspx?d=66864

Currently, it's voted the #2 report for Delphi (after 64bit support). I'm really sure that CodeGear is not going to ignore this.




回答2:


Follow up. This has been implemented in Delphi 2010.




回答3:


I suggest that you dig into the source. With Delphi 7, I was able to add all sorts of extras by copying the SOAP code into my app's folder and editing it carefully. In one case I did some string manipulation to adjust the incoming SOAP packet to make it work with the way Delphi worked. I've not had to do this with RemObjects yet, but you do get the source for that too. Plus they have active newsgroups you can ask questions on.




回答4:


In some cases I found it much easier to write a proxy SOAP service in C# and VS, and consume it from Delphi with a simplified service description (WSDL). In the long term it was the most efficient solution, without any problems regarding stability or performance. The SOAP support in Delphi is not one of its highlights.



来源:https://stackoverflow.com/questions/393727/how-is-the-best-way-to-write-a-soap-1-2-client-with-delphi-win32

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