$ Fromcity, 'lastcity' =>$ tocity, 'thedate' =>$ date, 'userid' => ''); $ city = $ client-> getDomesticCity (); $ city = get_object_vars ($ city); $ city = $ city ['getdomesticcityresult']-> any; // print_r ($ city); // var_dump ($ city ); $ city_xml = simplexml_load_string ($ city); $ result = $ client-> getDomesticAirlinesTime ($ parm); $ result = get_object_vars ($ result ); $ result = $ result ['getdomesticairlinestimeresresult']-> any; // print_r ($ result ['get DomesticAirlinesTimeResult ']-> any); $ obj_xml = simplexml_load_string ($ result); // print_r ($ obj_xml-> children ();?>
WecXml.com.cn Train Timetable Web Service instance
|
|
WebXml.com.cnFlight Schedule Web Service instance |
|
|
|
Airlines |
Flight No. |
Departure airport |
Departure time |
Arrive at the airport |
Arrival Time |
Model |
Stopovers? |
Children ()-> children () as $ child) {?>
Company;?> |
AirlineCode;?> |
StartDrome;?> |
StartTime;?> |
ArriveDrome;?> |
ArriveTime;?> |
Mode;?> |
AirlineStop = 0) echo 'stopped'; else {echo 'stopped';}?> |
|