-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Security_Authenticate call in SoapHeader 4 does a double authentication #151
Comments
Which SoapHeader is being used in your WSAP? |
It's using Soap Header Version 4.0 |
Ok, 2 things:
|
I suspect that the security_authenticate it sends on SoapHeader 4 has auth headers in the headers, as well as authentication data in the message body. That would explain this error. |
This is the request and response i got from the log If it's not necessary to send a Security_Authencticate, is it also not necessary to do a securitySignOut ? Does the library do signout as well? |
No, a Signout has to be implemented by you yourself. Otherwise you will have problems when trying to get the application certified by Amadeus (which is needed for production access). That is because an active session uses server resources on Amadeus' infrastructure. |
Yes, looking at your request XML, it's as I feared. The library adds authentication headers to the I will have to fix that. But in the mean time just call the message you need, and let the library handle the authentication. |
Yes. I can do all the operations without this. But i was trying to implement a signIn test for phpUnit. |
@DerMika can you pls fix authentication headers ? |
This isn't urgent at all, since it's not necessary to do a separate authentication call in SoapHeader 4. Just call the message you need, and the session will be started by the client. |
This bug should be fixed now on master since merging #234. It'll be included in the 1.8.0 release |
When ever i do a securityAuthenticate request i get this ERR as a result even after a securitySignOut
However after the securityAuthenticate request i can do all other requests such as FareMasterPricerCalendar, FareMasterPricerTravelboardSearch etc.
The text was updated successfully, but these errors were encountered: