它看起来很简单,但它却以非常可怕的方式消耗我的时间!zend肥皂错误xml声明
基于:http://www.opensourceuniverse.com/zend-framework/quickstart-web-services-with-soap-and-zend-framework-263.html,没有做出改变,我得到:
网址: (...)/公/ SOAP WSDL
这里Apache的错误日志: SOAP的错误:解析WSDL:无法从'http:// localhost/test/app/public/soap?wsdl'加载:XML声明只允许在C:\ wamp \ www \ test \ app \ library文档的开始处\ Zend \ Soap \ Server.php on line 762
如果url: (...)/ public/soap/client
结果: 页保持空白(存在于CLIENTACTION视图,进行测试。) 在这里,我已经检查它获得的观点时,我评论调用客户端的方法,我的意思是:
$客户端=新的Zend_Soap_Client($ this - > _ WSDL_URI);
// $ this-> view-> add_result = $ client-> math_add(11,55);
一些不错的线索? Pablo
是的,没错。你是否已经在使用zend_soap?我会张贴另一个问题btw ..谢谢! – user968865 2012-03-07 12:01:06