2011-09-20 47 views
1

我想使用MSSQL报告服务的PHP,但没有成功...首先,我尝试使用SRSS SKD PHP helloworld.php,并返回此错误:帮助连接报告Web服务2008 R2与PHP

无法连接到报告服务:

Make sure that the url (http://10.120.100.12/ReportServer/) and credentials are correct! 

,并试图用纯SoapClient的

Warning: SoapClient::SoapClient(http://10.120.100.12/ReportServer/ReportExecution2005.asmx) [function.SoapClient-SoapClient]: failed to open stream: HTTP request failed! HTTP/1.1 401 Unauthorized in C:\xampp\htdocs\estudos\index.php on line 5 

Warning: SoapClient::SoapClient() [function.SoapClient-SoapClient]: I/O warning : failed to load external entity "http://10.120.100.12/ReportServer/ReportExecution2005.asmx" in C:\xampp\htdocs\estudos\index.php on line 5 

Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://10.120.100.12/ReportServer/ReportExecution2005.asmx' in C:\xampp\htdocs\estudos\index.php:5 Stack trace: #0 C:\xampp\htdocs\estudos\index.php(5): SoapClient->SoapClient('http://10.120.1...', Array) #1 {main} thrown in C:\xampp\htdocs\estudos\index.php on line 5 
  • 是否有额外的IIS配置?
  • 我确定使用在浏览器版本中使用的相同登录名和密码。需要更多的东西?

感谢, 塞尔索

回答