Fatal error: Uncaught SoapFault exception: [WSDL]

后端 未结 4 694
被撕碎了的回忆
被撕碎了的回忆 2021-01-15 11:03

I\'m having trouble calling a web service I\'ve set up from PHP. The obfuscated adress http://XXX.XXX.XXX.XXX/test.asmx?wsdl in the error message below returns

4条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-15 11:50

    Adding index.php worked for me working on php application

    $client = new SoapClient('http://www.domain.com/api/v2_soap/?wsdl'=1)
    
    $client = new SoapClient('http://www.domain.com/index.php/api/v2_soap/?wsdl'=1)
    

提交回复
热议问题