我目前正在使用php-ews进行工作,但是在soap方面遇到了一些问题,而我对此一无所知。以下是错误信息:
Fatal error: Uncaught SoapFault exception: [VersionMismatch] Wrong Version in C:\wamp\www\intranet\dashboard\php-ews\ExchangeWebServices.php:230 Stack trace: #0 C:\wamp\www\intranet\dashboard\php-ews\ExchangeWebServices.php(230): SoapClient->__call('FindItem', Array) #1 C:\wamp\www\intranet\dashboard\php-ews\ExchangeWebServices.php(230): NTLMSoapClient_Exchange->FindItem(Object(EWSType_FindItemType)) #2 C:\wamp\www\intranet\dashboard\mailtest.php(56): ExchangeWebServices->FindItem(Object(EWSType_FindItemType)) #3 {main} thrown in C:\wamp\www\intranet\dashboard\php-ews\ExchangeWebServices.php on line 230
该文件的第230行如下所示
public function FindItem($request) {
return $this->initializeSoapClient()->{__FUNCTION__}($request);
}
如果有任何想法,将不胜感激。