消费来自Delphi的.Net Web服务 [英] Consume .Net Web Service from Delphi

查看:140
本文介绍了消费来自Delphi的.Net Web服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好.我正在使用Delphi的Soap实现来使用.Net编写的Web服务.
是否有任何方法可以强制Delphi(或wininet)发送 expect-100标头,等待并根据服务器的响应继续进行.如果没有Expect-100-continue序列,服务将引发错误,显示为' 服务不可用".
据我所知,该序列是强制性的,或者至少存在于HTTP 1.1中,但是我找不到任何现场方法等来实现这一点.我正在使用Delphi XE2.(手动添加标头无法按预期工作).

Hi everyone.I''m using Delphi''s Soap implementation to consume a .Net written Web Service.
Is there any way to force Delphi(or wininet) to send an expect-100 header,wait and continue acording to response of server.Without an expect-100-continue sequence,service raises the error with ''service unavaible''.
As I know this sequence mandatory or at least exist in HTTP 1.1 but I am not able find any field method etc. to achive this.I''m using Delphi XE2.(adding header manually doesn''t work as expected.)Any help will be appriciated deeply.

推荐答案

请参阅本文 http: //www.drbob42.com/examines/examin45.htm [ ^ ]


这篇关于消费来自Delphi的.Net Web服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆