如何使用Python生成SOAP WSDL存根

2024-06-26 13:27:56 发布

您现在位置:Python中文网/ 问答频道 /正文

我将SOAP库PySimpleSOAP用于客户机和服务器webservice接口。在

我们正在使用mediamind api

campaign_client =  SoapClient(wsdl="https://platform.mediamind.com/Eyeblaster.MediaMind.API/CampaignService.svc?wsdl"
                              ,trace = False)

我试着打电话 数据=活动_客户端.GetContact(联系人ID=1,UserSecurityToken=token)

获取错误

^{pr2}$

为了消除这个错误,我了解到需要为soapwsdl生成存根。在


Tags: https服务器clientapiweb客户机错误service