doq91130 2011-02-22 16:51
浏览 51


I'm trying to integrate weather data from the NOAA in my web site, and as a starting point I was trying to run their sample code (available here. The specific sample I'm trying to work with is the Basic Client sample (starting point is ndfdXML.htm).

I've followed the readme instructions for downloading nuSOAP and changing location to local paths, and changing the location of soapclient to instead of localhost, but I'm still getting an error when I actually submit the page.

The error only shows up when I do a view-source, and this is what it says:

Fatal error:  Uncaught SoapFault exception: 
[WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from '': 
Extra content at the end of the document  in /opt/lampp/htdocs/weather/ndfdXMLclient.php:179

Stack trace:
#0 /opt/lampp/htdocs/weather/ndfdXMLclient.php(179): SoapClient->SoapClient('http://www.weat...')
#1 {main}   thrown in /opt/lampp/htdocs/weather/ndfdXMLclient.php on line 179

Any idea what this means? I've been unable to find any kind of help offered by the actual weather service.

  • 写回答



      相关推荐 更多相似问题


      • ¥15 如何在linux服务器做视频静态资源访问接口
      • ¥15 Python Xpath对<em>标签的爬取结果变成了- -(关键词-Xpath)
      • ¥15 el-cascader懒加载模式选中单选框加载下层无数据问题
      • ¥15 promql 参数怎么忽视大小写查询
      • ¥50 swift使用textkit读取大文本文件速度慢的问题
      • ¥20 统信linux360企业浏览器 如何配置扩展程序?(图形界面我知道)
      • ¥100 c/c++实现DoubleArrayTrie
      • ¥30 关于#网络安全#的问题:非对称加密验证
      • ¥20 关于线性代数里施密特正交化和QR分解的疑问
      • ¥15 matlab超类包含解析错误