加载WSDL失败

时间:2015-01-21 13:04:14

标签: php wsdl

我尝试像这样加载WSDL:

Base_DigiDoc::load_WSDL();
$dd = new Base_DigiDoc();

我的WSDL文件名是: wsdl.class.php

我收到错误,

 Strict standards: Non-static method Base_DigiDoc::load_WSDL() should not be called statically in C:\wamp\www\source\auth_sample\index.php on line 11

我做错了什么还是......?

感谢您的帮助

1 个答案:

答案 0 :(得分:0)

使用此代码:

$dd = new Base_DigiDoc();
$dd->load_WSDL();