用VC++编写 SOAP Client
您能给我一些用VC++编写 SOAP Client的例子程序吗?我看了MS SOAP TOOLKIT3.0的例子,老是不能成功。
请教一下概念:
1、EndPointURL 是一个服务提供的一个URL吧。而在开发包的例子是一个http://MyServer/Soap3DocSamples/DocSample1/Server/DocSample1.wsdl ,我觉得应该是一个类似http://localhost/xxx.asp的URL吧 ?
2、 //Connector->Property["SoapAction"] = "uri:AddNumbers";
这个是2.0 提供的代码
Connector->Property["SoapAction"] = "http://tempuri.org/DocSample1/action/Sample1.AddNumbers";
这个是3.0 提供的代码。有什么区别?
请教一下概念:
1、EndPointURL 是一个服务提供的一个URL吧。而在开发包的例子是一个http://MyServer/Soap3DocSamples/DocSample1/Server/DocSample1.wsdl ,我觉得应该是一个类似http://localhost/xxx.asp的URL吧 ?
2、 //Connector->Property["SoapAction"] = "uri:AddNumbers";
这个是2.0 提供的代码
Connector->Property["SoapAction"] = "http://tempuri.org/DocSample1/action/Sample1.AddNumbers";
这个是3.0 提供的代码。有什么区别?

浙公网安备 33010602011771号