Version Mismatch Error

[email protected] ("kiran ahire")
Newsgroups php.soap
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.