首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

soap调用webservice解决方法

2013-02-05 
soap调用webservice测试地址:http://api-sandbox.tg.qq.com/API/services/AccountService?wsdlRequest:so

soap调用webservice
测试地址:http://api-sandbox.tg.qq.com/API/services/AccountService?wsdl
Request:<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v1="http://api.tg.soso.com/advertise/accountservice/v1">
  <soapenv:Header>
          <token>d573b032-507f-4f07-88da-7a4019d36252</token>      
  </soapenv:Header>
   <soapenv:Body>
      <v1:getAdvertiserInfoRequest/>
   </soapenv:Body>
</soapenv:Envelope>

通过WSDL.EXE生成了代理类。如何设置TOKEN来调用http://api-sandbox.tg.qq.com/API/services/AccountService?wsdl中的方法,获得数据?十万火急。希望可以给我一个可以运行的Demo。
[解决办法]
你给个邮箱,我把程序打包后给你发过去

热点排行