{"action":"created","issue":{"url":"https://api.github.com/repos/SabreDevStudio/SACS-Php/issues/3","repository_url":"https://api.github.com/repos/SabreDevStudio/SACS-Php","labels_url":"https://api.github.com/repos/SabreDevStudio/SACS-Php/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/SabreDevStudio/SACS-Php/issues/3/comments","events_url":"https://api.github.com/repos/SabreDevStudio/SACS-Php/issues/3/events","html_url":"https://github.com/SabreDevStudio/SACS-Php/issues/3","id":155489148,"number":3,"title":"regarding api ","user":{"login":"vivek10688","id":12165250,"avatar_url":"https://avatars.githubusercontent.com/u/12165250?v=3","gravatar_id":"","url":"https://api.github.com/users/vivek10688","html_url":"https://github.com/vivek10688","followers_url":"https://api.github.com/users/vivek10688/followers","following_url":"https://api.github.com/users/vivek10688/following{/other_user}","gists_url":"https://api.github.com/users/vivek10688/gists{/gist_id}","starred_url":"https://api.github.com/users/vivek10688/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vivek10688/subscriptions","organizations_url":"https://api.github.com/users/vivek10688/orgs","repos_url":"https://api.github.com/users/vivek10688/repos","events_url":"https://api.github.com/users/vivek10688/events{/privacy}","received_events_url":"https://api.github.com/users/vivek10688/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":29,"created_at":"2016-05-18T12:30:12Z","updated_at":"2016-05-23T12:04:21Z","closed_at":null,"body":"hello i am using php library but don't know from where to start CAN ANYONE PLEASE LET ME KNOW from where i can start where to put key's in which file and while running which file i have to run, by the way when i run the start_soap_workflow.php it is showing me this error \r\n```\r\n\r\nobject(SoapFault)#11 (9) { [\"message\":protected]=> string(25) \"Could not connect to host\" [\"string\":\"Exception\":private]=> string(0) \"\" [\"code\":protected]=> int(0) [\"file\":protected]=> string(63) \"/opt/lampp/htdocs/SACS-Php-master/soap/SessionCreateRequest.php\" [\"line\":protected]=> int(28) [\"trace\":\"Exception\":private]=> array(6) { [0]=> array(4) { [\"function\"]=> string(11) \"__doRequest\" [\"class\"]=> string(10) \"SoapClient\" [\"type\"]=> string(2) \"->\" [\"args\"]=> array(5) { [0]=> string(1147) \" sample.url.of.sabre.client.comwebservices.sabre.com7TZAconvIdSessionCreateRQSessionCreateRQ10002001-02-15T11:15:12Z2001-02-15T11:15:12ZV1:8gfunas4ka8omems:DEVCENTER:EXT0dCTJ7ic \" [1]=> string(31) \"https://sws3-crt.cert.sabre.com\" [2]=> string(3) \"OTA\" [3]=> int(1) [4]=> int(0) } } [1]=> array(6) { [\"file\"]=> string(63) \"/opt/lampp/htdocs/SACS-Php-master/soap/SessionCreateRequest.php\" [\"line\"]=> int(28) [\"function\"]=> string(10) \"__soapCall\" [\"class\"]=> string(10) \"SoapClient\" [\"type\"]=> string(2) \"->\" [\"args\"]=> array(5) { [0]=> string(15) \"SessionCreateRQ\" [1]=> array(1) { [\"SessionCreateRQ\"]=> array(1) { [\"POS\"]=> array(1) { [\"Source\"]=> array(1) { [\"PseudeCityCode\"]=> string(0) \"\" } } } } [2]=> NULL [3]=> array(2) { [0]=> object(SoapHeader)#9 (4) { [\"namespace\"]=> string(45) \"http://www.ebxml.org/namespaces/messageHeader\" [\"name\"]=> string(13) \"MessageHeader\" [\"data\"]=> object(SoapVar)#8 (2) { [\"enc_type\"]=> int(147) [\"enc_value\"]=> string(462) \"sample.url.of.sabre.client.comwebservices.sabre.com7TZAconvIdSessionCreateRQSessionCreateRQ10002001-02-15T11:15:12Z2001-02-15T11:15:12Z\" } [\"mustUnderstand\"]=> bool(true) } [1]=> object(SoapHeader)#10 (4) { [\"namespace\"]=> string(44) \"http://schemas.xmlsoap.org/ws/2002/12/secext\" [\"name\"]=> string(8) \"Security\" [\"data\"]=> array(1) { [\"UsernameToken\"]=> array(4) { [\"Username\"]=> string(33) \"V1:8gfunas4ka8omems:DEVCENTER:EXT\" [\"Password\"]=> string(8) \"0dCTJ7ic\" [\"Domain\"]=> string(0) \"\" [\"Organization\"]=> string(0) \"\" } } [\"mustUnderstand\"]=> bool(true) } } [4]=> &array(0) { } } } [2]=> array(6) { [\"file\"]=> string(57) \"/opt/lampp/htdocs/SACS-Php-master/soap/SACSSoapClient.php\" [\"line\"]=> int(23) [\"function\"]=> string(14) \"executeRequest\" [\"class\"]=> string(20) \"SessionCreateRequest\" [\"type\"]=> string(2) \"->\" [\"args\"]=> array(0) { } } [3]=> array(6) { [\"file\"]=> string(82) \"/opt/lampp/htdocs/SACS-Php-master/soap_activities/BargainFinderMaxSoapActivity.php\" [\"line\"]=> int(20) [\"function\"]=> string(6) \"doCall\" [\"class\"]=> string(14) \"SACSSoapClient\" [\"type\"]=> string(2) \"->\" [\"args\"]=> array(2) { [0]=> object(SharedContext)#4 (1) { [\"results\":\"SharedContext\":private]=> array(2) { [\"SECURITY\"]=> NULL [\"BargainFinderMaxRQ\"]=> string(987) \"2016-05-20T10:00:001\" } } [1]=> &string(987) \"2016-05-20T10:00:001\" } } [4]=> array(6) { [\"file\"]=> string(55) \"/opt/lampp/htdocs/SACS-Php-master/workflow/Workflow.php\" [\"line\"]=> int(17) [\"function\"]=> string(3) \"run\" [\"class\"]=> string(28) \"BargainFinderMaxSoapActivity\" [\"type\"]=> string(2) \"->\" [\"args\"]=> array(1) { [0]=> &object(SharedContext)#4 (1) { [\"results\":\"SharedContext\":private]=> array(2) { [\"SECURITY\"]=> NULL [\"BargainFinderMaxRQ\"]=> string(987) \"2016-05-20T10:00:001\" } } } } [5]=> array(6) { [\"file\"]=> string(57) \"/opt/lampp/htdocs/SACS-Php-master/start_soap_workflow.php\" [\"line\"]=> int(7) [\"function\"]=> string(11) \"runWorkflow\" [\"class\"]=> string(8) \"Workflow\" [\"type\"]=> string(2) \"->\" [\"args\"]=> array(0) { } } } [\"previous\":\"Exception\":private]=> NULL [\"faultstring\"]=> string(25) \"Could not connect to host\" [\"faultcode\"]=> string(4) \"HTTP\" } object(SoapFault)#12 (9) { [\"message\":protected]=> string(25) \"Could not connect to host\" [\"string\":\"Exception\":private]=> string(0) \"\" [\"code\":protected]=> int(0) [\"file\":protected]=> string(63) \"/opt/lampp/htdocs/SACS-Php-master/soap/SessionCreateRequest.php\" [\"line\":protected]=> int(28) [\"trace\":\"Exception\":private]=> array(6) { [0]=> array(4) { [\"function\"]=> string(11) \"__doRequest\" [\"class\"]=> string(10) \"SoapClient\" [\"type\"]=> string(2) \"->\" [\"args\"]=> array(5) { [0]=> string(1147) \" sample.url.of.sabre.client.comwebservices.sabre.com7TZAconvIdSessionCreateRQSessionCreateRQ10002001-02-15T11:15:12Z2001-02-15T11:15:12ZV1:8gfunas4ka8omems:DEVCENTER:EXT0dCTJ7ic \" [1]=> string(31) \"https://sws3-crt.cert.sabre.com\" [2]=> string(3) \"OTA\" [3]=> int(1) [4]=> int(0) } } [1]=> array(6) { [\"file\"]=> string(63) \"/opt/lampp/htdocs/SACS-Php-master/soap/SessionCreateRequest.php\" [\"line\"]=> int(28) [\"function\"]=> string(10) \"__soapCall\" [\"class\"]=> string(10) \"SoapClient\" [\"type\"]=> string(2) \"->\" [\"args\"]=> array(5) { [0]=> string(15) \"SessionCreateRQ\" [1]=> array(1) { [\"SessionCreateRQ\"]=> array(1) { [\"POS\"]=> array(1) { [\"Source\"]=> array(1) { [\"PseudeCityCode\"]=> string(0) \"\" } } } } [2]=> NULL [3]=> array(2) { [0]=> object(SoapHeader)#8 (4) { [\"namespace\"]=> string(45) \"http://www.ebxml.org/namespaces/messageHeader\" [\"name\"]=> string(13) \"MessageHeader\" [\"data\"]=> object(SoapVar)#9 (2) { [\"enc_type\"]=> int(147) [\"enc_value\"]=> string(462) \"sample.url.of.sabre.client.comwebservices.sabre.com7TZAconvIdSessionCreateRQSessionCreateRQ10002001-02-15T11:15:12Z2001-02-15T11:15:12Z\" } [\"mustUnderstand\"]=> bool(true) } [1]=> object(SoapHeader)#7 (4) { [\"namespace\"]=> string(44) \"http://schemas.xmlsoap.org/ws/2002/12/secext\" [\"name\"]=> string(8) \"Security\" [\"data\"]=> array(1) { [\"UsernameToken\"]=> array(4) { [\"Username\"]=> string(33) \"V1:8gfunas4ka8omems:DEVCENTER:EXT\" [\"Password\"]=> string(8) \"0dCTJ7ic\" [\"Domain\"]=> string(0) \"\" [\"Organization\"]=> string(0) \"\" } } [\"mustUnderstand\"]=> bool(true) } } [4]=> &array(0) { } } } [2]=> array(6) { [\"file\"]=> string(57) \"/opt/lampp/htdocs/SACS-Php-master/soap/SACSSoapClient.php\" [\"line\"]=> int(23) [\"function\"]=> string(14) \"executeRequest\" [\"class\"]=> string(20) \"SessionCreateRequest\" [\"type\"]=> string(2) \"->\" [\"args\"]=> array(0) { } } [3]=> array(6) { [\"file\"]=> string(86) \"/opt/lampp/htdocs/SACS-Php-master/soap_activities/PassengerDetailsNameOnlyActivity.php\" [\"line\"]=> int(19) [\"function\"]=> string(6) \"doCall\" [\"class\"]=> string(14) \"SACSSoapClient\" [\"type\"]=> string(2) \"->\" [\"args\"]=> array(2) { [0]=> object(SharedContext)#4 (1) { [\"results\":\"SharedContext\":private]=> array(4) { [\"SECURITY\"]=> NULL [\"BargainFinderMaxRQ\"]=> string(987) \"2016-05-20T10:00:001\" [\"BargainFinderMaxRS\"]=> string(1230) \" webservices.sabre.comsample.url.of.sabre.client.com7TZAconvIdBargainFinderMaxRQErrorRSfffefb4a-3036-4b84-a197-db1f74005a09@1762016-05-18T12:27:331000soap-env:Client.InvalidSecurityTokenInvalid or Expired binary security token: nullcom.sabre.universalservices.base.security.AuthenticationException: errors.session.USG_INVALID_SECURITY_TOKEN\" [\"PassengerDetailsNameOnlyRQ\"]=> string(647) \"SACSwtzkaTESTzuebw\" } } [1]=> &string(647) \"SACSwtzkaTESTzuebw\" } } [4]=> array(6) { [\"file\"]=> string(55) \"/opt/lampp/htdocs/SACS-Php-master/workflow/Workflow.php\" [\"line\"]=> int(17) [\"function\"]=> string(3) \"run\" [\"class\"]=> string(32) \"PassengerDetailsNameOnlyActivity\" [\"type\"]=> string(2) \"->\" [\"args\"]=> array(1) { [0]=> &object(SharedContext)#4 (1) { [\"results\":\"SharedContext\":private]=> array(4) { [\"SECURITY\"]=> NULL [\"BargainFinderMaxRQ\"]=> string(987) \"2016-05-20T10:00:001\" [\"BargainFinderMaxRS\"]=> string(1230) \" webservices.sabre.comsample.url.of.sabre.client.com7TZAconvIdBargainFinderMaxRQErrorRSfffefb4a-3036-4b84-a197-db1f74005a09@1762016-05-18T12:27:331000soap-env:Client.InvalidSecurityTokenInvalid or Expired binary security token: nullcom.sabre.universalservices.base.security.AuthenticationException: errors.session.USG_INVALID_SECURITY_TOKEN\" [\"PassengerDetailsNameOnlyRQ\"]=> string(647) \"SACSwtzkaTESTzuebw\" } } } } [5]=> array(6) { [\"file\"]=> string(57) \"/opt/lampp/htdocs/SACS-Php-master/start_soap_workflow.php\" [\"line\"]=> int(7) [\"function\"]=> string(11) \"runWorkflow\" [\"class\"]=> string(8) \"Workflow\" [\"type\"]=> string(2) \"->\" [\"args\"]=> array(0) { } } } [\"previous\":\"Exception\":private]=> NULL [\"faultstring\"]=> string(25) \"Could not connect to host\" [\"faultcode\"]=> string(4) \"HTTP\" }\r\nFatal error: Call to a member function getElementsByTagName() on null in /opt/lampp/htdocs/SACS-Php-master/soap_activities/EnhancedAirBookActivity.php on line 29\r\n```\r\n\r\n\r\nand what to do with the index.php, what to put there in place of `phpinfo()` function"},"comment":{"url":"https://api.github.com/repos/SabreDevStudio/SACS-Php/issues/comments/220961674","html_url":"https://github.com/SabreDevStudio/SACS-Php/issues/3#issuecomment-220961674","issue_url":"https://api.github.com/repos/SabreDevStudio/SACS-Php/issues/3","id":220961674,"user":{"login":"mprajs","id":7148768,"avatar_url":"https://avatars.githubusercontent.com/u/7148768?v=3","gravatar_id":"","url":"https://api.github.com/users/mprajs","html_url":"https://github.com/mprajs","followers_url":"https://api.github.com/users/mprajs/followers","following_url":"https://api.github.com/users/mprajs/following{/other_user}","gists_url":"https://api.github.com/users/mprajs/gists{/gist_id}","starred_url":"https://api.github.com/users/mprajs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mprajs/subscriptions","organizations_url":"https://api.github.com/users/mprajs/orgs","repos_url":"https://api.github.com/users/mprajs/repos","events_url":"https://api.github.com/users/mprajs/events{/privacy}","received_events_url":"https://api.github.com/users/mprajs/received_events","type":"User","site_admin":false},"created_at":"2016-05-23T12:04:21Z","updated_at":"2016-05-23T12:04:21Z","body":"All those files are parts of the SACS project."}}
{"actor":{"display_login":"mprajs"}}