“无法加载WSDL”在长期运行的脚本中 [英] "Couldn't load WSDL" in long-running script
问题描述
大家好!
Hi everyone!
我有一个长期运行的脚本,可以获取客户帐户/广告组/广告等的结构信息。我们有数百个客户帐户。
所以之后脚本运行一段时间,我在尝试创建新的ServiceClient(authenticate)时遇到此错误:
I have a long running script which fetches sctructure information of our client's accounts/adgroups/ads etc. We have hundreds of client accounts.
So after script runs for a while, I'm getting this error when trying to create new ServiceClient (authenticate):
'SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://campaign.api.bingads.microsoft.com/Api/Advertiser/CampaignManagement/v12/CampaignManagementService.svc?singleWsdl' : failed to load external entity "https://campaign.api.bingads.microsoft.com/Api/Advertiser/CampaignManagement/v12/CampaignManagementService.svc?singleWsdl"
其他服务相同, ie:
Same for other services, i.e.:
SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://clientcenter.api.bingads.microsoft.com/Api/CustomerManagement/v12/CustomerManagementService.svc?singleWsdl' : failed to load external entity "https://clientcenter.api.bingads.microsoft.com/Api/CustomerManagement/v12/CustomerManagementService.svc?singleWsdl"
这种情况发生在30- 40分钟和约130个处理帐户。有什么线索有什么不对?这对我的远程端或编码有什么限制吗?
This happens after 30-40 mins and about 130 processed accounts. Any clue what's wrong? Is that some limitation on remote side or bad coding on my end?
谢谢,< br style ="">
弗拉基米尔。
Thanks,
Vladimir.
推荐答案
我们看到一个类似的问题,昨天晚上开始。
We are seeing a similar issue, started yesterday evening.
SOAP-ERROR:解析WSDL:无法从'https://bulk.api.bingads.microsoft.com/Api/Advertiser/CampaignManagement/v12/BulkService.svc?singleWsdl'加载:无法加载外部实体"https://bulk.api.bingads.microsoft.com/Api/Advertiser/CampaignManagement/v12/BulkService.svc?singleWsdl"
SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://bulk.api.bingads.microsoft.com/Api/Advertiser/CampaignManagement/v12/BulkService.svc?singleWsdl' : failed to load external entity "https://bulk.api.bingads.microsoft.com/Api/Advertiser/CampaignManagement/v12/BulkService.svc?singleWsdl"
任何想法?
更新:
我试图在浏览器中加载上述URL几次并出现错误"服务遇到错误。"在其中一个负载上。 但是在新的浏览器中加载它会按预期加载wsdl。
所以看起来像是间歇性问题。
这篇关于“无法加载WSDL”在长期运行的脚本中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!