作者:顏颖季珮琦 | 来源:互联网 | 2023-05-17 23:50
ImtryingtoconvertXMLSOAPresponseintoPHParray,hereisXMLSOAPresponse:我正在尝试将XMLSOAP响应转
I'm trying to convert XML SOAP response into PHP array, here is XML SOAP response:
我正在尝试将XML SOAP响应转换为PHP数组,这里是XML SOAP响应:
string(1182) "
"
This response is result of Godaddy auction API for domain details.
此回复是Godaddy拍卖API的域名详细信息的结果。
I have tried it to parse it into string but getting errors:
我已经尝试将其解析为字符串,但收到错误:
Warning: simplexml_load_string(): namespace warning : xmlns: URI GdAuctionsBiddingWSAPI is not absolute in C:\xampp\htdocs\adam_auction\index.php on line 94
Warning: simplexml_load_string(): w.w3.org/2001/XMLSchema"> object(SimpleXMLElement)#2 (1) { ["GetAuctionList2Result"]=> string(768) "" } }
Any help how to convert that response into PHP array?
任何帮助如何将响应转换为PHP数组?
1 个解决方案