title: Sabre OTA_AirBook soap request
body: <p>I have problem with soap request for OTA_AirBook on sabre, I can use SessionRequestRQ to get the binary security code.</p>
  
  <p>This is my request</p>
  
  <pre><code>&lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:eb="http://www.ebxml.org/namespaces/messageHeader" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsd="http://www.w3.org/1999/XMLSchema"&gt;
    &lt;SOAP-ENV:Header&gt;
      &lt;eb:MessageHeader SOAP-ENV:mustUnderstand="1" eb:version="2.0"&gt;
        &lt;eb:From&gt;
          &lt;eb:PartyId type="urn:x12.org:IO5:01"&gt;webservices.sabre.com&lt;/eb:PartyId&gt;
        &lt;/eb:From&gt;
        &lt;eb:To&gt;
          &lt;eb:PartyId type="urn:x12.org:IO5:01"&gt;DEFAULT&lt;/eb:PartyId&gt;
        &lt;/eb:To&gt;
        &lt;eb:CPAId&gt;XXXX&lt;/eb:CPAId&gt;
        &lt;eb:ConversationId&gt;possetrips-1438312976&lt;/eb:ConversationId&gt;
        &lt;eb:Service eb:type="OTA"&gt;OTA_AirBookLLSRQ&lt;/eb:Service&gt;
        &lt;eb:Action&gt;OTA_AirBookLLSRQ&lt;/eb:Action&gt;
        &lt;eb:MessageData&gt;
          &lt;eb:MessageId&gt;mid:20150731-105346@DEFAULT&lt;/eb:MessageId&gt;
          &lt;eb:Timestamp&gt;2015-07-31T03:54:00&lt;/eb:Timestamp&gt;
        &lt;/eb:MessageData&gt;
      &lt;/eb:MessageHeader&gt;
      &lt;wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/12/utility"&gt;
        &lt;wsse:BinarySecurityToken valueType="String" EncodingType="wsse:Base64Binary"&gt;Shared/IDL:IceSess\\/SessMgr:1\\.0.IDL/Common/!ICESMS\\/ACPCRTC!ICESMSLB\\/CRT.LB!-3507395987210104192!32122!0&lt;/wsse:BinarySecurityToken&gt;
      &lt;/wsse:Security&gt;
    &lt;/SOAP-ENV:Header&gt;
    &lt;SOAP-ENV:Body&gt;
      &lt;OTA_AirBookRQ Version="2.0.0" xmlns="http://webservices.sabre.com/sabreXML/2011/10" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
        &lt;OriginDestinationInformation&gt;
          &lt;FlightSegment DepartureDateTime="2015-08-10T06:00:00" FlightNumber="1887" NumberInParty="1" Status="NN" ResBookDesigCode="W"&gt;
            &lt;DestinationLocation LocationCode="JFK"/&gt;
            &lt;MarketingAirline Code="B6" FlightNumber="1184"/&gt;
            &lt;OriginLocation LocationCode="MCO"/&gt;
          &lt;/FlightSegment&gt;
        &lt;/OriginDestinationInformation&gt;
      &lt;/OTA_AirBookRQ&gt;
    &lt;/SOAP-ENV:Body&gt;
  &lt;/SOAP-ENV:Envelope&gt;
  </code></pre>
  
  <p>And The Response for this request is</p>
  
  <pre><code>&lt;soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"&gt;
    &lt;soap-env:Header&gt;
      &lt;eb:MessageHeader eb:version="1.0" soap-env:mustUnderstand="1" xmlns:eb="http://www.ebxml.org/namespaces/messageHeader"&gt;
        &lt;eb:From&gt;
          &lt;eb:PartyId eb:type="URI"&gt;DEFAULT&lt;/eb:PartyId&gt;
        &lt;/eb:From&gt;
        &lt;eb:To&gt;
          &lt;eb:PartyId eb:type="URI"&gt;webservices.sabre.com&lt;/eb:PartyId&gt;
        &lt;/eb:To&gt;
        &lt;eb:CPAId&gt;XXXX&lt;/eb:CPAId&gt;
        &lt;eb:ConversationId&gt;possetrips-1438312976&lt;/eb:ConversationId&gt;
        &lt;eb:Service eb:type="OTA"&gt;OTA_AirBookLLSRQ&lt;/eb:Service&gt;
        &lt;eb:Action&gt;OTA_AirBookLLSRS&lt;/eb:Action&gt;
        &lt;eb:MessageData&gt;
          &lt;eb:MessageId&gt;c1b7737a-e817-4c33-b418-f4b8a605f2cd@176&lt;/eb:MessageId&gt;
          &lt;eb:Timestamp&gt;2015-07-31T03:54:41&lt;/eb:Timestamp&gt;
          &lt;eb:RefToMessageId&gt;mid:20150731-105346@DEFAULT&lt;/eb:RefToMessageId&gt;
        &lt;/eb:MessageData&gt;
      &lt;/eb:MessageHeader&gt;
      &lt;wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext"&gt;
        &lt;wsse:BinarySecurityToken valueType="String" EncodingType="wsse:Base64Binary"&gt;Shared/IDL:IceSess\/SessMgr:1\.0.IDL/Common/!ICESMS\/ACPCRTC!ICESMSLB\/CRT.LB!-3507395987210104192!32122!0&lt;/wsse:BinarySecurityToken&gt;
      &lt;/wsse:Security&gt;
    &lt;/soap-env:Header&gt;
    &lt;soap-env:Body&gt;
      &lt;OTA_AirBookRS Version="2.0.0" xmlns="http://webservices.sabre.com/sabreXML/2011/10" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:stl="http://services.sabre.com/STL/v01"&gt;
        &lt;stl:ApplicationResults status="NotProcessed"&gt;
          &lt;stl:Error type="BusinessLogic" timeStamp="2015-07-30T22:54:41-05:00"&gt;
            &lt;stl:SystemSpecificResults&gt;
              &lt;stl:Message code="0100"&gt;INVALID BOARD POINT&lt;/stl:Message&gt;
              &lt;stl:ShortText&gt;ERR.SWS.HOST.ERROR_IN_RESPONSE&lt;/stl:ShortText&gt;
            &lt;/stl:SystemSpecificResults&gt;
          &lt;/stl:Error&gt;
        &lt;/stl:ApplicationResults&gt;
      &lt;/OTA_AirBookRS&gt;
    &lt;/soap-env:Body&gt;
  &lt;/soap-env:Envelope&gt;
  </code></pre>
  
  <p>Did I do something wrong with the request ? or I missed some configuration ?</p>
  
  <p>I use <a href="https://sws3-crt.cert.sabre.com" rel="nofollow">https://sws3-crt.cert.sabre.com</a> for endpoint</p>