I am playing around with Zend_Soap right now. I am using the
Zend_Soap_AutoDiscover class to automate the process of creating the
WSDL definitions. I was getting lots of errors that I didn't understand
at all. Sometimes exceptions were thrown, sometimes the called methods
don't work es expected passing wrong results. When I change the method
signature these changes don't take any effect.
It took me about an hour until I noticed that a WSDL cache file is saved
in /tmp directory. When I change parameters of one of the methods, then
this cache file is not updated, causing my problems. This is really
confusing, since I did not find any hint about this in the manual.
When I delete this WSDL cache manually file after each run, I don't get
any problems since the WSDL is always up to date.
Why and where is Zend_Soap caching the WDSL definitions? Can I stop it
from doing it for testing issues? How can I delete this cache file
through Zend_Soap classes?
Thanks for advice.
Ralf
没有评论:
发表评论