Re: Version Mismatch Error
| From: | Michael Rasmussen | Date: | Fri, 11 Aug 2006 00:57:37 +0000 |
| Subject: | Re: Version Mismatch Error | ||
| References: | 1 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-2365@lists.php.net to get a copy of this message | ||
On Thu, 10 Aug 2006 11:15:33 -0700, Vandegrift, Ken wrote:
> I have been using a SOAP service without issue until the company I am
> communicating with just upgraded their system.
>
> Now I get a Version Mismatch error when recieving requests - although I
> am getting the correct response back but PHP is giving the error?
>
It is my impression that ext/soap defaults to soap-1.1 and maybe the
company you are communicating with has upgraded their service to soap-1.2.
If that is the case you need to pass this option to the constructor:
$client = new SoapClient(
"reference to wsdl",
array("soap_version" => SOAP_1_2));
--
Hilsen/Regards
Michael Rasmussen
http://keyserver.veridis.com:11371/pks/lookup?op=get&search=0xE3E80917