Having trouble getting my head around SOAP in PHP

后端 未结 3 888
挽巷
挽巷 2020-12-17 05:51

Well here is the API I\'m trying to use: http://www.hotelscombined.com/api/LiveRates.asmx?op=HotelSearch

Here is the code I\'ve tried:

$client = new          


        
3条回答
  •  星月不相逢
    2020-12-17 05:56

    One thing that drove me crazy for days - double-check the names of your array elements (ApiKey, UserId, etc). Make sure the case is correct also. I wasted hours on a on an incorrectly cased 'm'.

提交回复
热议问题