HuyPV
Thursday, December 2, 2010
After web-service change WSDL, you use current SoapClient and result is not expected.
Cause: SoapClient cache WSDL
Solution:
- Coding:
+ set cache option to false
new SoapClient(wsdlURL, array('cache' => false));
+ or: ini_set("soap.wsdl_cache_enabled", 0);
- Command:
+ rm -f /tmp/wsdl-*
Title:
PHP SoapClient cache problem
Description:
After web-service change WSDL, you use current SoapClient and result is not expected. Cause: SoapClient cache WSDL Solution: - Coding: ...
...
Rating:
4