Skip to content

Instantly share code, notes, and snippets.

@leejarvis
Created April 24, 2018 19:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leejarvis/7978c4d38a30d5b1d2341a6f3e0f02bc to your computer and use it in GitHub Desktop.
Save leejarvis/7978c4d38a30d5b1d2341a6f3e0f02bc to your computer and use it in GitHub Desktop.
<!-- request -->
<soap:Envelope xmlns:ns0="http://www.ebxml.org/namespaces/messageHeader" xmlns:ns1="http://www.w3.org/2000/09/xmldsig#" xmlns:ns2="http://webservices.sabre.com/sabreXML/RCP/common" xmlns:ns3="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns4="http://webservices.sabre.com/sabreXML/RCP/ota" xmlns:ns5="http://www.w3.org/1999/xlink" xmlns:ns6="http://schemas.xmlsoap.org/ws/2002/12/secext" xmlns:ns7="http://webservices.sabre.com/sabreXML/RCP/rmb" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<ns6:Security>
<ns6:BinarySecurityToken>Shared/IDL:IceSess\/SessMgr:1\.0.IDL/Common/!ICESMS\/ACPCRTD!ICESMSLB\/CRT.LB!-3153976901799900026!331067!0</ns6:BinarySecurityToken>
</ns6:Security>
<ns0:MessageHeader>
<ns0:From>
<ns0:PartyId>Loco2</ns0:PartyId>
</ns0:From>
<ns0:To>
<ns0:PartyId>Rail Consolidator Platform</ns0:PartyId>
</ns0:To>
<ns0:CPAId>3X5H</ns0:CPAId>
<ns0:ConversationId>help@loco2.com</ns0:ConversationId>
<ns0:Service type="OTA">RailManageBookingRQ</ns0:Service>
<ns0:Action>RailManageBookingRQ</ns0:Action>
<ns0:MessageData>
<ns0:MessageId>1</ns0:MessageId>
<ns0:Timestamp>2018-04-24T19:08:49Z</ns0:Timestamp>
</ns0:MessageData>
</ns0:MessageHeader>
</soap:Header>
<soap:Body>
<ns7:RailManageBookingRQ Version="1.19.0" PrimaryLangID="en" MarketingCarrier="2C" Channel="PAO">
<ns7:ProcessType>Issue</ns7:ProcessType>
<ns7:ProcessStep>Confirm</ns7:ProcessStep>
<ns7:BookingDetails>
<ns2:BookingRef ID="ADY1EF"/>
<ns2:Payment PaymentType="OnAccount"/>
<ns2:DeliveryModes>
<ns2:DeliveryMode Type="DIGITAL"/>
</ns2:DeliveryModes>
</ns7:BookingDetails>
</ns7:RailManageBookingRQ>
</soap:Body>
</soap:Envelope>
<!-- response -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:debug="urn:schemas-sabre-com:soap-header-debug" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:eb="http://www.ebxml.org/namespaces/messageHeader" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext" xmlns:xlink="http://www.w3.org/1999/xlink">
<SOAP-ENV:Header>
<eb:MessageHeader>
<eb:From>
<eb:PartyId>Loco2</eb:PartyId>
</eb:From>
<eb:To>
<eb:PartyId>Rail Consolidator Platform</eb:PartyId>
</eb:To>
<eb:CPAId>3X5H</eb:CPAId>
<eb:ConversationId>help@loco2.com</eb:ConversationId>
<eb:Service>RailManageBookingRQ</eb:Service>
<eb:Action>RailManageBookingRQ</eb:Action>
<eb:MessageData>
<eb:MessageId>1</eb:MessageId>
<eb:Timestamp>2018-04-24T19:08:55Z</eb:Timestamp>
</eb:MessageData>
</eb:MessageHeader>
<wsse:Security>
<wsse:BinarySecurityToken>Shared/IDL:IceSess\/SessMgr:1\.0.IDL/Common/!ICESMS\/ACPCRTD!ICESMSLB\/CRT.LB!-3153976901799900026!331067!0</wsse:BinarySecurityToken>
</wsse:Security>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<rmb:RailManageBookingRS xmlns:ns11="http://webservices.sabre.com/sabreXML/RCP/rd" xmlns:ns12="http://webservices.sabre.com/sabreXML/RCP/rrep" xmlns:ns15="http://webservices.sabre.com/sabreXML/RCP/rrs" xmlns:rcmn="http://webservices.sabre.com/sabreXML/RCP/common" xmlns:ris="http://webservices.sabre.com/sabreXML/RCP/ris" xmlns:rl="http://webservices.sabre.com/sabreXML/RCP/rl" xmlns:rmas="http://webservices.sabre.com/sabreXML/RCP/rmas" xmlns:rmb="http://webservices.sabre.com/sabreXML/RCP/rmb" xmlns:rmt="http://webservices.sabre.com/sabreXML/RCP/rmt" xmlns:rota="http://webservices.sabre.com/sabreXML/RCP/ota" xmlns:rpnrs="http://webservices.sabre.com/sabreXML/RCP/rpnrs" xmlns:rrc="http://webservices.sabre.com/sabreXML/RCP/rrc" xmlns:rrr="http://webservices.sabre.com/sabreXML/RCP/rrr" xmlns:rs="http://webservices.sabre.com/sabreXML/RCP/rs" Channel="PAO" MarketingCarrier="2C" TransactionIdentifier="C6_1_001476" Version="1.19.0">
<rmb:Errors>
<rcmn:Error Code="3302" Type="2C">Unknown payment method. </rcmn:Error>
</rmb:Errors>
</rmb:RailManageBookingRS>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment