I am getting this fault when doing a search
$result = $soap->Search("-destination KIAH",10,0);
can someone help
soap_fault Object
(
[error_message_prefix] =>
[mode] => 1
[level] => 1024
=> NONE
[message] => wrong # args: type InFlightAircraftStruct contains "
ident string
prefix string
type string
suffix string
origin string
destination string
timeout string
timestamp int
firstPositionTime int
longitude float
latitude float
groundspeed int
altitude int
heading int
altitudeStatus string
updateType string
altitudeChange string
"
[userinfo] => stdClass Object
(
[errorInfo] => stdClass Object
(
[errorCode] => NONE
[stackTrace] => wrong # args: type InFlightAircraftStruct contains "
ident string
prefix string
type string
suffix string
origin string
destination string
timeout string
timestamp int
firstPositionTime int
longitude float
latitude float
groundspeed int
altitude int
heading int
altitudeStatus string
updateType string
altitudeChange string
"
while executing
“insert_value $d_elt [rpcvar “$itemtype$final” $elt]”
(procedure “insert_value” line 116)
invoked from within
“insert_value $d_elt [rpcvar $ti($eltname) $eltvalue]”
(procedure “SOAP::insert_value” line 175)
invoked from within
“SOAP::insert_value $retnode $result”
(procedure “SOAP::reply” line 17)
invoked from within
“SOAP::reply [dom::DOMImplementation create] $methodNamespace “${methodName}Response” $msg”
)
)
[backtrace] => Array
(
[0] => Array
(
[file] => C:\PHP\PEAR\SOAP\Fault.php
[line] => 49
[function] => pear_error
[class] => pear_error
[type] => ::
[args] => Array
(
[0] => wrong # args: type InFlightAircraftStruct contains "
ident string
prefix string
type string
suffix string
origin string
destination string
timeout string
timestamp int
firstPositionTime int
longitude float
latitude float
groundspeed int
altitude int
heading int
altitudeStatus string
updateType string
altitudeChange string
"
[1] => NONE
[2] =>
[3] =>
[4] => stdClass Object
(
[errorInfo] => stdClass Object
(
[errorCode] => NONE
[stackTrace] => wrong # args: type InFlightAircraftStruct contains "
ident string
prefix string
type string
suffix string
origin string
destination string
timeout string
timestamp int
firstPositionTime int
longitude float
latitude float
groundspeed int
altitude int
heading int
altitudeStatus string
updateType string
altitudeChange string
"
while executing
“insert_value $d_elt [rpcvar “$itemtype$final” $elt]”
(procedure “insert_value” line 116)
invoked from within
“insert_value $d_elt [rpcvar $ti($eltname) $eltvalue]”
(procedure “SOAP::insert_value” line 175)
invoked from within
“SOAP::insert_value $retnode $result”
(procedure “SOAP::reply” line 17)
invoked from within
“SOAP::reply [dom::DOMImplementation create] $methodNamespace “${methodName}Response” $msg”
)
)
)
)
[1] => Array
(
[file] => C:\PHP\PEAR\SOAP\Base.php
[line] => 201
[function] => soap_fault
[class] => soap_fault
[type] => ->
[args] => Array
(
[0] => wrong # args: type InFlightAircraftStruct contains "
ident string
prefix string
type string
suffix string
origin string
destination string
timeout string
timestamp int
firstPositionTime int
longitude float
latitude float
groundspeed int
altitude int
heading int
altitudeStatus string
updateType string
altitudeChange string
"
[1] => NONE
[2] =>
[3] => stdClass Object
(
[errorInfo] => stdClass Object
(
[errorCode] => NONE
[stackTrace] => wrong # args: type InFlightAircraftStruct contains "
ident string
prefix string
type string
suffix string
origin string
destination string
timeout string
timestamp int
firstPositionTime int
longitude float
latitude float
groundspeed int
altitude int
heading int
altitudeStatus string
updateType string
altitudeChange string
"
while executing
“insert_value $d_elt [rpcvar “$itemtype$final” $elt]”
(procedure “insert_value” line 116)
invoked from within
“insert_value $d_elt [rpcvar $ti($eltname) $eltvalue]”
(procedure “SOAP::insert_value” line 175)
invoked from within
“SOAP::insert_value $retnode $result”
(procedure “SOAP::reply” line 17)
invoked from within
“SOAP::reply [dom::DOMImplementation create] $methodNamespace “${methodName}Response” $msg”
)
)
[4] =>
[5] =>
)
)
[2] => Array
(
[file] => C:\PHP\PEAR\SOAP\Client.php
[line] => 608
[function] => _raisesoapfault
[class] => webservice_directflight_directflightsoap
[type] => ->
[args] => Array
(
[0] => wrong # args: type InFlightAircraftStruct contains "
ident string
prefix string
type string
suffix string
origin string
destination string
timeout string
timestamp int
firstPositionTime int
longitude float
latitude float
groundspeed int
altitude int
heading int
altitudeStatus string
updateType string
altitudeChange string
"
[1] => stdClass Object
(
[errorInfo] => stdClass Object
(
[errorCode] => NONE
[stackTrace] => wrong # args: type InFlightAircraftStruct contains "
ident string
prefix string
type string
suffix string
origin string
destination string
timeout string
timestamp int
firstPositionTime int
longitude float
latitude float
groundspeed int
altitude int
heading int
altitudeStatus string
updateType string
altitudeChange string
"
while executing
“insert_value $d_elt [rpcvar “$itemtype$final” $elt]”
(procedure “insert_value” line 116)
invoked from within
“insert_value $d_elt [rpcvar $ti($eltname) $eltvalue]”
(procedure “SOAP::insert_value” line 175)
invoked from within
“SOAP::insert_value $retnode $result”
(procedure “SOAP::reply” line 17)
invoked from within
“SOAP::reply [dom::DOMImplementation create] $methodNamespace “${methodName}Response” $msg”
)
)
[2] =>
[3] => NONE
)
)
[3] => Array
(
[file] => C:\PHP\PEAR\SOAP\Client.php
[line] => 577
[function] => __decoderesponse
[class] => webservice_directflight_directflightsoap
[type] => ->
[args] => Array
(
[0] => soap_value Object
(
[value] => Array
(
[0] => soap_value Object
(
[value] => NONE
[name] => faultcode
[type] => string
[namespace] => [schemas.xmlsoap.org/soap/envelope/](http://schemas.xmlsoap.org/soap/envelope/)
[type_namespace] =>
[attributes] => Array
(
)
[arrayType] =>
[options] => Array
(
)
[nqn] => qname Object
(
[name] => faultcode
[ns] =>
[namespace] => [schemas.xmlsoap.org/soap/envelope/](http://schemas.xmlsoap.org/soap/envelope/)
)
[tqn] => qname Object
(
[name] => string
[ns] =>
[namespace] =>
)
[type_prefix] =>
)
[1] => soap_value Object
(
[value] => wrong # args: type InFlightAircraftStruct contains "
ident string
prefix string
type string
suffix string
origin string
destination string
timeout string
timestamp int
firstPositionTime int
longitude float
latitude float
groundspeed int
altitude int
heading int
altitudeStatus string
updateType string
altitudeChange string
"
[name] => faultstring
[type] => string
[namespace] => schemas.xmlsoap.org/soap/envelope/
[type_namespace] =>
[attributes] => Array
(
)
[arrayType] =>
[options] => Array
(
)
[nqn] => qname Object
(
[name] => faultstring
[ns] =>
[namespace] => [schemas.xmlsoap.org/soap/envelope/](http://schemas.xmlsoap.org/soap/envelope/)
)
[tqn] => qname Object
(
[name] => string
[ns] =>
[namespace] =>
)
[type_prefix] =>
)
[2] => soap_value Object
(
[value] => Array
(
[0] => soap_value Object
(
[value] => Array
(
[0] => soap_value Object
(
[value] => NONE
[name] => errorCode
[type] => string
[namespace] => urn:FlightAwareSOAP-ErrorInfo
[type_namespace] =>
[attributes] => Array
(
)
[arrayType] =>
[options] => Array
(
)
[nqn] => qname Object
(
[name] => errorCode
[ns] =>
[namespace] => urn:FlightAwareSOAP-ErrorInfo
)
[tqn] => qname Object
(
[name] => string
[ns] =>
[namespace] =>
)
[type_prefix] =>
)
[1] => soap_value Object
(
[value] => wrong # args: type InFlightAircraftStruct contains "
ident string
prefix string
type string
suffix string
origin string
destination string
timeout string
timestamp int
firstPositionTime int
longitude float
latitude float
groundspeed int
altitude int
heading int
altitudeStatus string
updateType string
altitudeChange string
"
while executing
“insert_value $d_elt [rpcvar “$itemtype$final” $elt]”
(procedure “insert_value” line 116)
invoked from within
“insert_value $d_elt [rpcvar $ti($eltname) $eltvalue]”
(procedure “SOAP::insert_value” line 175)
invoked from within
“SOAP::insert_value $retnode $result”
(procedure “SOAP::reply” line 17)
invoked from within
“SOAP::reply [dom::DOMImplementation create] $methodNamespace “${methodName}Response” $msg”
[name] => stackTrace
[type] => string
[namespace] => urn:FlightAwareSOAP-ErrorInfo
[type_namespace] =>
[attributes] => Array
(
)
[arrayType] =>
[options] => Array
(
)
[nqn] => qname Object
(
[name] => stackTrace
[ns] =>
[namespace] => urn:FlightAwareSOAP-ErrorInfo
)
[tqn] => qname Object
(
[name] => string
[ns] =>
[namespace] =>
)
[type_prefix] =>
)
)
[name] => errorInfo
[type] => Struct
[namespace] => urn:FlightAwareSOAP-ErrorInfo
[type_namespace] =>
[attributes] => Array
(
)
[arrayType] =>
[options] => Array
(
)
[nqn] => qname Object
(
[name] => errorInfo
[ns] =>
[namespace] => urn:FlightAwareSOAP-ErrorInfo
)
[tqn] => qname Object
(
[name] => Struct
[ns] =>
[namespace] =>
)
[type_prefix] =>
)
)
[name] => detail
[type] => Struct
[namespace] => [schemas.xmlsoap.org/soap/envelope/](http://schemas.xmlsoap.org/soap/envelope/)
[type_namespace] =>
[attributes] => Array
(
)
[arrayType] =>
[options] => Array
(
)
[nqn] => qname Object
(
[name] => detail
[ns] =>
[namespace] => [schemas.xmlsoap.org/soap/envelope/](http://schemas.xmlsoap.org/soap/envelope/)
)
[tqn] => qname Object
(
[name] => Struct
[ns] =>
[namespace] =>
)
[type_prefix] =>
)
)
[name] => Fault
[type] => Struct
[namespace] => [schemas.xmlsoap.org/soap/envelope/](http://schemas.xmlsoap.org/soap/envelope/)
[type_namespace] =>
[attributes] => Array
(
)
[arrayType] =>
[options] => Array
(
)
[nqn] => qname Object
(
[name] => Fault
[ns] =>
[namespace] => [schemas.xmlsoap.org/soap/envelope/](http://schemas.xmlsoap.org/soap/envelope/)
)
[tqn] => qname Object
(
[name] => Struct
[ns] =>
[namespace] =>
)
[type_prefix] =>
)
)
)
[4] => Array
(
[file] => C:\PHP\PEAR\SOAP\Client.php
[line] => 312
[function] => __parse
[class] => webservice_directflight_directflightsoap
[type] => ->
[args] => Array
(
[0] =>
NONEwrong # args: type InFlightAircraftStruct contains "
ident string
prefix string
type string
suffix string
origin string
destination string
timeout string
timestamp int
firstPositionTime int
longitude float
latitude float
groundspeed int
altitude int
heading int
altitudeStatus string
updateType string
altitudeChange string
"NONEwrong # args: type InFlightAircraftStruct contains "
ident string
prefix string
type string
suffix string
origin string
destination string
timeout string
timestamp int
firstPositionTime int
longitude float
latitude float
groundspeed int
altitude int
heading int
altitudeStatus string
updateType string
altitudeChange string
"
while executing
“insert_value $d_elt [rpcvar “$itemtype$final” $elt]”
(procedure “insert_value” line 116)
invoked from within
“insert_value $d_elt [rpcvar $ti($eltname) $eltvalue]”
(procedure “SOAP::insert_value” line 175)
invoked from within
“SOAP::insert_value $retnode $result”
(procedure “SOAP::reply” line 17)
invoked from within
“SOAP::reply [dom::DOMImplementation create] $methodNamespace “${methodName}Response” $msg”
[1] => UTF-8
[2] =>
)
)
[5] => Array
(
[file] => C:\PHP\PEAR\SOAP\WSDL.php(614) : eval()'d code
[line] => 38
[function] => call
[class] => webservice_directflight_directflightsoap
[type] => ->
[args] => Array
(
[0] => Search
[1] => Array
(
[query] => -destination KIAH
[howMany] => 10
[offset] => 0
)
[2] => Array
(
[namespace] => FlightAwareDirectFlight
[soapaction] => FlightAwareDirectFlight
[style] => rpc
[use] => encoded
)
)
)
[6] => Array
(
[file] => D:\web\pb\flightaware\allairports.php
[line] => 14
[function] => search
[class] => webservice_directflight_directflightsoap
[type] => ->
[args] => Array
(
[0] => -destination KIAH
[1] => 10
[2] => 0
)
)
)
[callback] =>
)