Travelport / travelport-uapi-tutorial-php

The travelport-uapi-tutorial-php is a PHP project for Universal API that will help you connect and code a standard workflow including Air, Vehicle, and Hotel.
35 stars 47 forks source link

run phpSample_Air.php on xampp #72

Open xwei19 opened 7 years ago

xwei19 commented 7 years ago

only changed $TARGETBRANCH, $CREDENTIALS and $Provider value, then test it on xampp. Get error: Processing! Please wait! Fatal error: Error occurred request/response processing! in C:\xampp\htdocs\travelport-uapi\Air\phpSample_Air.php on line 108

What's the problem?

Thanks

vivekjyotipramanik commented 7 years ago

Hi xwei19,

The depature Date in the sample code is set to an old date. Please change it to a future date. Please let us know how it goes. Thanks.

xwei19 commented 7 years ago

Thanks for your help, it works! But same error happens on phpSample_Air_LFS.php Fatal error: Error occurred request/response processing! in C:\xampp\htdocs\travelport-uapi\Air\phpSample_Air_LFS.php on line 133 There is no any date

vivekjyotipramanik commented 7 years ago

Hi xwei19,

Could you please provide the XML request and response. It would help identifying the exact problem. Thanks.

xwei19 commented 7 years ago

request: <?xml version="1.0"?>

Response: Server.System Provider returned empty response. 700002 SOASYSTEM System Provider returned empty response. 3B2EC93F0A076478052250C8FCACD121 trace Thanks a lot!
vivekjyotipramanik commented 7 years ago

Hi xwei19,

Could you please provide the username and TargetBranch you are using. Thanks.

xwei19 commented 7 years ago

Hi, the username is Universal API/uAPI5527140354 TargetBranch is P105106 Thanks

vivekjyotipramanik commented 7 years ago

Hi xwei19,

While we are working on to fix this issue, Could you please request for a new trial credentials and give it a try. Please let us know if you are getting the same issue with the new credentials as well. Thanks.