没有用呀,我用了不同版本的nusoap都是这样的呀

解决方案 »

  1.   

    是的,我下载回来的也是有错的,不过只是一些简单的错误,修改一下就OK了。给一个修改后的下载地址给你:http://www.cnblogs.com/Files/coolstr/nusoap.zip
      

  2.   

    提示错误:
    Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `'$'' in nusoap.php on line 6496就是说在 nusoap.php 的第 6496 行处,遇到了一个字符串或变量的表现形式,而实际并不需要!
    问题出在这行的前面,即6495行处或者更前一点贴出那附近的代码
    windows下正常而Linux提示错误
    则可能存在大小写问题(包括传入的参数)、回车符、路径符
      

  3.   

    提示是这行。。
    $this->wsdl =& new wsdl($this->wsdlFile,$this->proxyhost,$this->proxyport,$this->proxyusername,$this->proxypassword,$this->timeout,$this->response_timeout);
      

  4.   

    如果6496行是
    $this->wsdl =& new wsdl($this->wsdlFile,$this->proxyhost,$this->proxyport,$this->proxyusername,$this->proxypassword,$this->timeout,$this->response_timeout);
    那么分别检查
    $this->wsdlFile
    $this->proxyhost
    $this->proxyport
    $this->proxyusername
    $this->proxypassword
    $this->timeout
    $this->response_timeout
    的值是否正确