-
Notifications
You must be signed in to change notification settings - Fork 199
11|Session error message #492
Description
I tried it with the data, we got from Amadeus.
After the first test of pnr retrieve request, the following error message appears:
[status] => FATAL
[messages] => Array
(
[0] => Amadeus\Client\Result\NotOk Object
(
[code] => 11
[text] =>
[level] => Session
)
)
[response] =>
[responseXml] => soap:Client 11|Session|
Here is my request from the log:
<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://xml.amadeus.com/PNRRET_21_1_1A" xmlns:ns2="http://www.w3.org/2005/08/addressing" xmlns:ns3="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wsswssecurity-secext-1.0.xsd" xmlns:ns4="http://xml.amadeus.com/2010/06/Security_v1"> <SOAP-ENV:Header> <ns2:MessageID>7C609E5E-3D93-05B8-F2CB-BE70A0B08184</ns2:MessageID> <ns2:Action>http://webservices.amadeus.com/PNRRET_21_1_1A</ns2:Action> <ns2:To>https://nodeD2.test.webservices.amadeus.com/1ASIWVISVU1</ns2:To> <oas:Security xmlns:oas="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"> <oas:UsernameToken xmlns:oas1="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" oas1:Id="UsernameToken-1"> <oas:Username>WSVU1VIS</oas:Username> <oas:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">...</oas:Nonce> <oas:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">...</oas:Password> <oas1:Created>2025-05-19T11:04:52:566Z</oas1:Created> </oas:UsernameToken> </oas:Security> <ns4:AMA_SecurityHostedUser> <ns4:UserID POS_Type="1" PseudoCityCode="BUDHU28VB" AgentDutyCode="SU" RequestorType="U"/> </ns4:AMA_SecurityHostedUser> </SOAP-ENV:Header> <SOAP-ENV:Body> <ns1:PNR_Retrieve> <ns1:retrievalFacts> <ns1:retrieve> <ns1:type>2</ns1:type> </ns1:retrieve> <ns1:reservationOrProfileIdentifier> <ns1:reservation> <ns1:controlNumber>YOLV5Z</ns1:controlNumber> </ns1:reservation> </ns1:reservationOrProfileIdentifier> </ns1:retrievalFacts> </ns1:PNR_Retrieve> </SOAP-ENV:Body> </SOAP-ENV:Envelope>