Problem consuming Maporama Webservice

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

 



Hello!

I have a strange problem with consuming the maporama webservice. I successfully implemented soapclients for some methods for this webservice, yet. But the method "SearchAround" drive me nuts .. 

I put in all the parameters, that are demanded by the webservice. If i delete one property from the parameter objects i get an errormessage like this: 

Fatal error: SOAP-ERROR: Encoding: object hasn't 'lg' property in F:\xampp\xampp\htdocs\Maporama\SearchAround.php on line 77

If i take the right parameters, the returning object of the request is a Soap Fault Object. 

Here a var_dump: 
object(SoapFault)#11 (9) { ["message:protected"]=> string(0) "" ["string:private"]=> string(0) "" ["code:protected"]=> int(0) ["file:protected"]=> string(47) "F:\xampp\xampp\htdocs\Maporama\SearchAround.php" ["line:protected"]=> int(77) ["trace:private"]=> array(2) { [0]=> array(4) { ["function"]=> string(6) "__call" ["class"]=> string(10) "SoapClient" ["type"]=> string(2) "->" ["args"]=> array(2) { [0]=> string(12) "SearchAround" [1]=> array(3) { [0]=> object(stdClass)#4 (2) { ["lg"]=> int(13) ["lt"]=> int(50) } [1]=> object(stdClass)#6 (3) { ["affiliateID"]=> string(6) "123123" ["DBaffiliateID"]=> string(6) "123123" ["TableName"]=> string(4) "test" } [2]=> object(stdClass)#8 (9) { ["distanceMin"]=> int(0) ["distanceMax"]=> int(30000) ["nbMaxResult"]=> int(100) ["minIndex"]=> int(0) ["inputUnitIsKm"]=> bool(true) ["outputUnitIsKm"]=> bool(true) ["inputUnitIsMile"]=> bool(false) ["outputUnitIsMile"]=> bool(false) ["criteriaRequest"]=> string(0) "" } } } } [1]=> array(6) { ["file"]=> string(47) "F:\xampp\xampp\htdocs\Maporama\SearchAround.php" ["line"]=> int(77) ["function"]=> string(12) "SearchAround" ["class"]=> string(10) "SoapClient" ["type"]=> string(2) "->" ["args"]=> array(3) { [0]=> object(stdClass)#4 (2) { ["lg"]=> int(13) ["lt"]=> int(50) } [1]=> object(stdClass)#6 (3) { ["affiliateID"]=> string(6) "123123" ["DBaffiliateID"]=> string(6) "123123" ["TableName"]=> string(4) "test" } [2]=> object(stdClass)#8 (9) { ["distanceMin"]=> int(0) ["distanceMax"]=> int(30000) ["nbMaxResult"]=> int(100) ["minIndex"]=> int(0) ["inputUnitIsKm"]=> bool(true) ["outputUnitIsKm"]=> bool(true) ["inputUnitIsMile"]=> bool(false) ["outputUnitIsMile"]=> bool(false) ["criteriaRequest"]=> string(0) "" } } } } ["faultstring"]=> string(31) "SOAP Server Application Faulted" ["faultcode"]=> string(11) "SOAP:Server" ["detail"]=> string(14) "Internal Error" } 

Has anyone an idea, what I'm doing wrong? 

Thanks in advance,
best regards,

Stefan Lehmann

+-----------------------------------------------------
| Stefan Lehmann
| Jonasstr. 31, 12053 Berlin
+
| Mail: stefan@4pmail.de
| Tel.: ( 030 ) 22498989 
| Mobil: ( 0176 ) 24336460
| www.o-ton-band.de
+-----------------------------------------------------

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

  Powered by Linux