Version Mismatch Error
| From: | kiran ahire | Date: | Wed, 07 Jan 2009 10:51:50 +0000 |
| Subject: | Version Mismatch Error | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-2873@lists.php.net to get a copy of this message | ||
Hello Sir,
I found your email at
http://www.spinics.net/lists/phpsoap/msg01412.html
.I want ur your
help to solve my problem.
I'm new to soap application .I'm using php 5
For our client we using
http://www.savaari.com/demo/soap/soap.class_test.php?wsdl
this
as per me the version of soap is 1.1
Server config are enabled.
But still it throws me error like this
Fatal error: Uncaught SoapFault exception: [VersionMismatch] Wrong
Version in /home/getsmart/public_html/ontest/ajaxtrip.php:31 Stack
trace: #0 [internal function]: SoapClient->__call('Call', Array) #1
/home/getsmart/public_html/ontest/ajaxtrip.php(31):
SoapClient->Call('gettrips', Array) #2 {main} thrown in
/home/getsmart/public_html/ontest/ajaxtrip.php on line 31
our url
http://www.getsmarttrip.com/ontest/ajaxtrip.php
I Also try your tip about version
$client = new SoapClient(
"reference to wsdl",
array("soap_version" => SOAP_1_2));
but fail .
I tried but unable to solve problem pl.help me
Thanks
Kiran