实现代码如下:

#调用及测试webservice接口
import requests
class SoapConnect:
    def get_soap(self,url,data):
        r = requests.post(url,data)
        print(r.text)
if __name__ == '__main__':
    u = 'http://ws.webxml.com.cn/WebServices/MobileCodeWS.asmx/getMobileCodeInfo'
    d = {'mobileCode': '15928777426', 'userID': ''}
    SoapConnect().get_soap(u,d)

 

相关文章:

  • 2021-07-24
  • 2021-11-27
  • 2022-01-20
  • 2022-12-23
  • 2021-05-27
  • 2021-11-27
  • 2021-10-11
猜你喜欢
  • 2021-10-07
  • 2021-08-25
  • 2021-11-17
  • 2022-12-23
  • 2022-12-23
  • 2021-11-19
  • 2022-12-23
相关资源
相似解决方案