1、首先,.新建other,选择webservice,SOAPServerApplication
2、然后,在Intf里面写接口函数 XXX
3、然后,然后通过生成文件里的方法来发送消息给服务方,从而获取数据
4、然后,用http post soap方式:
5、ttp.AllowCookies := True;Http.HTTPOptions := [hoKeepOrigProtocol];Http.ProtocolVersion := pv1_1;
6、Http.Request.Accept := '*/*';Http.Request.ContentType := 'text/xml; charset=utf-8';Http.Request.ContentLength := 689; //-1;Params.Text := '<?xml version="1.0" encoding="utf-8"?>' +