+ -
当前位置:首页 → 问答吧 → vc6+soap+webservic(C#)访问数据库

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>

作者: jljsmu   发布时间: 2010-08-17

还请高手帮忙

作者: jljsmu   发布时间: 2010-08-17

热门下载

更多