Forum Discussion
xml API call not working
- 4 years ago
Yes problem solved, I just separate xml.tables(web.comtents)) into 2 steps:
Source = web.comtents(SourceURL, content=..., header = options)
XMLTable = Xml.Tables(Source)
......
and it worked.
thanks for all your reply.
Hi simonliucan
Your SourceURL contains a named query parameter wsdl but you aren't provinding a value for this. You can try either removing the wsdl part or supplying a value for.
Also, try just setting the SoureURL as the website domain e.g.
SourceURL = "htps://www.website.com"
Then specify the subfolder using the RelativePath e.g.
Web.Contents( "https://www.website.com", [ RelativePath = "OrderService.cfc" ] )
Query Parameters like wsdl can also be specified using the Query field of the Options record, see the documentation:
Web.Contents - PowerQuery M | Microsoft Docs
Regards
Phil
Thanks Phil, can you give me an exmaple of how to specify wsdl using querying field?