SoFunction
Updated on 2025-03-02

Solve the issue of SoapFault (looks like we got no XML document)

The following error message appears when debugging the project today:

SoapFault

looks like we got no XML document (D:\phpStudy\WWW\\components\:477)

#0 D:\phpStudy\WWW\\components\(477): SoapClient->__call('sendAllGoods', Array)
#1 D:\phpStudy\WWW\\controllers\(967): Proxy->sendAllGoods('10042', '602017062319436...')
#2 D:\phpStudy\WWW\\framework\web\actions\(49): GoodsOrderController->actionSendAllGoods()
#3 D:\phpStudy\WWW\\framework\web\(308): CInlineAction->runWithParams(Array)
#4 D:\phpStudy\WWW\\framework\web\(286): CController->runAction(Object(CInlineAction))
#5 D:\phpStudy\WWW\\framework\web\(265): CController->runActionWithFilters(Object(CInlineAction), Array)
#6 D:\phpStudy\WWW\\framework\web\(282): CController->run('sendAllGoods')
#7 D:\phpStudy\WWW\\framework\web\(141): CWebApplication->runController('goodsorder/send...')
#8 D:\phpStudy\WWW\\framework\base\(184): CWebApplication->processRequest()
#9 D:\phpStudy\WWW\\(14): CApplication->run()
#10 {main}

Solution: Open the php_soap module in the PHP configuration file and restart the apache server to solve the above error.

The above article solves the problem of SoapFault (looks like we got no XML document) which is all the content I share with you. I hope you can give you a reference and I hope you support me more.