Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我该怎么做
在肥皂客户端:
try{ } catch a SoapFault
在服务器端,如果您愿意,您可以将所有异常定向到 SoapFault...
本教程处理 Zend Soap,但应该会有所帮助:
http://www.ibm.com/developerworks/webservices/library/x-zsoap/
编辑
这是关于 Soap 服务器处理错误的最佳方法的另一个讨论:
http://zend-framework-community.634137.n4.nabble.com/Zend-SOAP-server-what-is-the-best-approach-for-error-exception-handling-td676006.html