Re: Version Mismatch Error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux