vc6+soap+webservic(C#)访问数据库
时间:2010-08-17
来源:互联网
vc6+soap+webservic(C#)访问数据库,在Vc中怎样将webservic返回的DataSet结果集的数据取出来。刚开始接触soap,还请高手指点。
作者: jljsmu 发布时间: 2010-08-17
使用语句printf("Xml: %s\n", (const char*)Reader->Body->xml);
结果如下:
<soap:Body xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<returnDataResponse xmlns="http://tempuri.org/">
<returnDataResult><xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-icrosoft-om:xml-msdata">
<xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">
<xs:complexType><xs:choice minOccurs="0" maxOccurs="unbounded"/>
</xs:complexType>
</xs:element>
</xs:schema>
<diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1"/>
</returnDataResult>
</returnDataResponse>
</soap:Body>
结果如下:
<soap:Body xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<returnDataResponse xmlns="http://tempuri.org/">
<returnDataResult><xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-icrosoft-om:xml-msdata">
<xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">
<xs:complexType><xs:choice minOccurs="0" maxOccurs="unbounded"/>
</xs:complexType>
</xs:element>
</xs:schema>
<diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1"/>
</returnDataResult>
</returnDataResponse>
</soap:Body>
作者: jljsmu 发布时间: 2010-08-17
还请高手帮忙
作者: jljsmu 发布时间: 2010-08-17
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28