0
에 내가 시도가 CreateTokenRQ에 액세스 할 수있는 문제가, 시스템은 날이 오류 AuthorizationException 엉 응답 :세이버/대한 액세스가 CreateTokenRQ
내가 SOAP API를 CreateSession에서 사용하는 흩 뜨린 무늬 매개 변수를 사용 errors.authorization.USG_AUTHORIZATION_FAILED ..
이 샘플 로그입니다 :
당신이 소비 찾고있는 TravelItineraryReadRQ 서비스가 아직 액세스 토큰을 사용할 수 없습니다<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Header>
<MessageHeader d3p1:version="1.0" xmlns:d3p1="http://www.ebxml.org/namespaces/messageHeader" xmlns="http://www.ebxml.org/namespaces/messageHeader">
<d3p1:From>
<d3p1:PartyId>[email protected]</d3p1:PartyId>
</d3p1:From>
<d3p1:To>
<d3p1:PartyId>[email protected]</d3p1:PartyId>
</d3p1:To>
<d3p1:CPAId>9WDA</d3p1:CPAId>
<d3p1:ConversationId>PROFILE</d3p1:ConversationId>
<d3p1:Service>TokenCreateRQ</d3p1:Service>
<d3p1:Action>TokenCreateRQ</d3p1:Action>
<d3p1:MessageData>
<d3p1:MessageId>mid:20170131-180233-0067+01:[email protected]</d3p1:MessageId>
<d3p1:Timestamp>2017-01-31T17:02:33Z</d3p1:Timestamp>
</d3p1:MessageData>
</MessageHeader>
<Security xmlns="http://schemas.xmlsoap.org/ws/2002/12/secext">
<UsernameToken>
<Username>USER</Username>
<Password>PASS</Password>
<Organization xmlns="">PCC</Organization>
<Domain xmlns="">DEFAULT</Domain>
</UsernameToken>
</Security>
</soap:Header>
<soap:Body>
<TokenCreateRQ Version="1.0" xmlns="http://webservices.sabre.com"/>
</soap:Body>
</soap:Envelope>
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
<soap-env:Header>
<eb:MessageHeader xmlns:eb="http://www.ebxml.org/namespaces/messageHeader" eb:version="1.0" soap-env:mustUnderstand="1">
<eb:From>
<eb:PartyId eb:type="URI">[email protected]</eb:PartyId>
</eb:From>
<eb:To>
<eb:PartyId eb:type="URI">[email protected]</eb:PartyId>
</eb:To>
<eb:CPAId>9WDA</eb:CPAId>
<eb:ConversationId>PROFILE</eb:ConversationId>
<eb:Service eb:type="sabreXML">Session</eb:Service>
<eb:Action>TokenCreateRS</eb:Action>
<eb:MessageData>
<eb:MessageId>5872564613545250881</eb:MessageId>
<eb:Timestamp>2017-01-31T17:02:34</eb:Timestamp>
<eb:RefToMessageId>mid:20170131-180233-0067+01:[email protected]</eb:RefToMessageId>
</eb:MessageData>
</eb:MessageHeader>
<wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext">
<wsse:BinarySecurityToken valueType="String" EncodingType="wsse:Base64Binary">T1RLAQLXzOPymarKW6vpSao+D9NVBvlbrBCF19eTo+4IS4u5yQxX3WI/AACwNl4HnFuLzWcfmUdC3MwzQfHXkHiyJUWVvYVGkM7BTH1Zk8QPN5gtUNaWLkghZY3W4zUgz77ECyxXU9sq0QC8wIRfEHyy0Wa4Gyu+F+21wVJNIwul7zAv4A0Nb+H+EhwvplAesYlVYLIsBl1G3V7sPYY6JYp8ndv468hKdzO/aR9EH19+mRxAZ5wcubk1RzQ+TSAA7ebVYg/dp9Ol8fpgzvzTkyOCnY3XuJzAdWkJLtI*</wsse:BinarySecurityToken>
</wsse:Security>
</soap-env:Header>
<soap-env:Body>
<sws:TokenCreateRS xmlns:sws="http://webservices.sabre.com" Version="1.0.0">
<sws:Success/>
</sws:TokenCreateRS>
</soap-env:Body>
</soap-env:Envelope>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Header>
<MessageHeader xmlns="http://www.ebxml.org/namespaces/messageHeader">
<From>
<PartyId>[email protected]</PartyId>
</From>
<To>
<PartyId>[email protected]</PartyId>
</To>
<CPAId>9WDA</CPAId>
<ConversationId>PROFILE</ConversationId>
<Service>TravelItineraryRead</Service>
<Action>TravelItineraryReadRQ</Action>
<MessageData>
<MessageId>mid:20170131-175750-6558+01:[email protected]</MessageId>
<Timestamp>2017-01-31T16:57:50Z</Timestamp>
</MessageData>
</MessageHeader>
<Security xmlns="http://schemas.xmlsoap.org/ws/2002/12/secext">
<BinarySecurityToken>T1RLAQJImqTy22oj2jew4n0kmkJNcubdhhCo94FnWiXB3eCaPy8XKW4LAACwQPhiertpCYnV0Pnmp59O10SK93/haq3stjgk6LKovw8hLLAtptGCQMtPxN/8NJVTkite1lqWHaSkOPZdFlr8C9CkRAcKpfiDnYeC9HEuSI3IyEH54ImqhM3PIH3eD5wLo9mcDdAObuzJNJoU/k435X/+H5khEW9syHBy01kE3L23/eW1k/qdfAodQy2DDuFh2JK2tCY/s5SfcbGt9UxMBKJnrR1FbT73D4QgQYRyuEU*</BinarySecurityToken>
</Security>
</soap:Header>
<soap:Body>
<TravelItineraryReadRQ Version="3.4.0" xmlns="http://webservices.sabre.com/sabreXML/2011/10">
<MessagingDetails>
<SubjectAreas>
<SubjectArea>FULL</SubjectArea>
</SubjectAreas>
</MessagingDetails>
<UniqueID ID="DMVNRR"/>
<ReturnOptions UnmaskCreditCard="true"/>
</TravelItineraryReadRQ>
</soap:Body>
</soap:Envelope>
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
<soap-env:Header>
<eb:MessageHeader xmlns:eb="http://www.ebxml.org/namespaces/messageHeader" eb:version="1.0" soap-env:mustUnderstand="1">
<eb:From>
<eb:PartyId eb:type="URI">[email protected]</eb:PartyId>
</eb:From>
<eb:To>
<eb:PartyId eb:type="URI">[email protected]</eb:PartyId>
</eb:To>
<eb:CPAId>9WDA</eb:CPAId>
<eb:ConversationId>PROFILE</eb:ConversationId>
<eb:Service>TravelItineraryRead</eb:Service>
<eb:Action>ErrorRS</eb:Action>
<eb:MessageData>
<eb:MessageId>5839433610707910872</eb:MessageId>
<eb:Timestamp>2017-01-31T16:57:50</eb:Timestamp>
<eb:RefToMessageId>mid:20170131-175750-6558+01:[email protected]</eb:RefToMessageId>
</eb:MessageData>
</eb:MessageHeader>
<wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext">
<wsse:BinarySecurityToken valueType="String" EncodingType="wsse:Base64Binary">T1RLAQJImqTy22oj2jew4n0kmkJNcubdhhCo94FnWiXB3eCaPy8XKW4LAACwQPhiertpCYnV0Pnmp59O10SK93/haq3stjgk6LKovw8hLLAtptGCQMtPxN/8NJVTkite1lqWHaSkOPZdFlr8C9CkRAcKpfiDnYeC9HEuSI3IyEH54ImqhM3PIH3eD5wLo9mcDdAObuzJNJoU/k435X/+H5khEW9syHBy01kE3L23/eW1k/qdfAodQy2DDuFh2JK2tCY/s5SfcbGt9UxMBKJnrR1FbT73D4QgQYRyuEU*</wsse:BinarySecurityToken>
</wsse:Security>
</soap-env:Header>
<soap-env:Body>
<soap-env:Fault>
<faultcode>soap-env:Client.AuthorizationFailed</faultcode>
<faultstring>Authorization failed</faultstring>
<detail>
<StackTrace>com.sabre.universalservices.base.security.AuthorizationException: errors.authorization.USG_AUTHORIZATION_FAILED</StackTrace>
</detail>
</soap-env:Fault>
</soap-env:Body>
</soap-env:Envelope>
. ebXML- * ish *, 더 이상 사용되지 않는 SOAP 표준 및 일관성없는 오류 메시지 –
이것은 인증 오류가 아닌 * USG_AUTHORIZATION_FAILED * 메시지입니다. 토큰 서비스가 PCC에 대해 활성화되지 않았을 수 있습니까? 테스트 환경에서 사용해 보셨습니까? Sabre는 회사가 구매하지 않은 서비스를 사용하려고하면 인증 오류를 반환합니다. 서비스가 한 PCC에서 활성화되었지만 다른 PCC에서는 활성화되지 않은 경우에도 나타날 수 있습니다 –