首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >com.sabre.universalservices.base.exception.ApplicationMOMProviderException: errors.mom.USG_MOM_SERVICE_PROVIDER_ERROR

com.sabre.universalservices.base.exception.ApplicationMOMProviderException: errors.mom.USG_MOM_SERVICE_PROVIDER_ERROR
EN

Stack Overflow用户
提问于 2019-01-25 00:51:16
回答 2查看 212关注 0票数 1

我试图从SoapUI调用EnhancedSeatMapRQ,但是,我得到了这个响应。有人知道为什么吗?

回复说'USG_MOM_SERVICE_PROVIDER_ERROR',但在任何Sabre文档中都找不到任何解释。我可以进行不同的API调用,但不是这个。

忽略安全令牌..我为这篇文章更改了它

请求:

代码语言:javascript
复制
<soap:Envelope xmlns="http://webservices.sabre.com/sabreXML/2003/07" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext" xmlns:eb="http://www.ebxml.org/namespaces/messageHeader" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header>
    <eb:MessageHeader eb:version="2.0" soap:mustUnderstand="1">
        <eb:ConversationId>webservices.support@sabre.com</eb:ConversationId>
        <eb:From>
                <eb:PartyId eb:type="urn:x12.org:IO5:01">openjawtech.com</eb:PartyId>
            </eb:From>
            <eb:To>
                <eb:PartyId eb:type="urn:x12.org:IO5:01">webservices.sabre.com</eb:PartyId>
            </eb:To>
            <eb:CPAId>8CB9</eb:CPAId>
            <eb:Service>getReservationRQ</eb:Service>
            <eb:Action>getReservationRQ</eb:Action>
          <eb:MessageData>
            <eb:MessageId>mid:20001209-133003-2333@clientofsabre.com</eb:MessageId>
            <eb:Timestamp>2020-06-01T11:15:12Z</eb:Timestamp>
            <eb:TimeToLive>2020-06-01T11:15:12Z</eb:TimeToLive>
            </eb:MessageData>
        </eb:MessageHeader>

       <wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext">
         <wsse:BinarySecurityToken valueType="String" EncodingType="wsse:Base64Binary">Shared/IDL:IceSess\/SessMgr:1\.0.IDL/Common/!ICESMS\/RESB!ICESMSLB\/RES.LB!LB!1111111111!11111</wsse:BinarySecurityToken>
      </wsse:Security>

        </soap:Header>
    <soap:Body>

<ns6:EnhancedSeatMapRQ xmlns="http://services.sabre.com/STL/v02" xmlns:ns2="http://opentravel.org/common/message/v02" xmlns:ns3="http://opentravel.org/common/v02" xmlns:ns4="http://services.sabre.com/STL_Payload/v02_00" xmlns:ns5="http://stl.sabre.com/Merchandising/v1" xmlns:ns6="http://stl.sabre.com/Merchandising/v5" xmlns:ext="http://stl.sabre.com/Merchandising/diagnostics/v1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://stl.sabre.com/Merchandising/v5 ../schema_v5/schema/EnhancedSeatMap_5_0_0.xsd">
    <ns6:SeatMapQueryEnhanced>
        <ns6:RequestType>Payload</ns6:RequestType>
        <ns6:Flight destination="SAN" origin="IAD">
            <ns6:DepartureDate>2019-06-26</ns6:DepartureDate>
            <ns6:Operating carrier="UA">646</ns6:Operating>
            <ns6:Marketing carrier="UA">646</ns6:Marketing>
            <ns6:ArrivalDate>2019-06-26</ns6:ArrivalDate>
        </ns6:Flight>
    </ns6:SeatMapQueryEnhanced>
</ns6:EnhancedSeatMapRQ>

</soap:Body>
</soap:Envelope>

响应:

代码语言:javascript
复制
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
   <soap-env:Header>
      <eb:MessageHeader eb:version="1.0" soap-env:mustUnderstand="1" xmlns:eb="http://www.ebxml.org/namespaces/messageHeader">
         <eb:From>
            <eb:PartyId eb:type="urn:x12.org:IO5:01">webservices.sabre.com</eb:PartyId>
         </eb:From>
         <eb:To>
            <eb:PartyId eb:type="urn:x12.org:IO5:01">openjawtech.com</eb:PartyId>
         </eb:To>
         <eb:CPAId>8CB9</eb:CPAId>
         <eb:ConversationId>webservices.support@sabre.com</eb:ConversationId>
         <eb:Service>getReservationRQ</eb:Service>
         <eb:Action>ErrorRS</eb:Action>
         <eb:MessageData>
            <eb:MessageId>7914342588700530193</eb:MessageId>
            <eb:Timestamp>2019-01-24T16:21:10</eb:Timestamp>
            <eb:RefToMessageId>mid:20001209-133003-2333@clientofsabre.com</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">Shared/IDL:IceSess\/SessMgr:1\.0.IDL/Common/!ICESMS\/RESB!ICESMSLB\/RES.LB!1111111111!11111</wsse:BinarySecurityToken>
      </wsse:Security>
   </soap-env:Header>
   <soap-env:Body>
      <soap-env:Fault>
         <faultcode>soap-env:Server.SystemFailure</faultcode>
         <faultstring>Service provider invocation failure</faultstring>
         <detail>
            <StackTrace>com.sabre.universalservices.base.exception.ApplicationMOMProviderException: errors.mom.USG_MOM_SERVICE_PROVIDER_ERROR</StackTrace>
         </detail>
      </soap-env:Fault>
   </soap-env:Body>
</soap-env:Envelope>
EN

回答 2

Stack Overflow用户

发布于 2019-01-28 17:10:59

此外,您似乎正在发送无效的有效负载(缺少预订类,POS)。在231次航班上,这对我很有效:

代码语言:javascript
复制
<EnhancedSeatMapRQ xmlns="http://stl.sabre.com/Merchandising/v3">
<SeatMapQueryEnhanced>
        <RequestType>Payload</RequestType>
        <Flight destination="SAN" origin="IAD">
        <DepartureDate>2019-06-26</DepartureDate>
        <Operating carrier="UA">231</Operating>
        <Marketing carrier="UA">231</Marketing>
        <ArrivalDate>2019-06-26</ArrivalDate>
    </Flight>
    <CabinDefinition>
        <RBD>Y</RBD>
    </CabinDefinition>
    <FareAvailQualifiers PaxType="ADT" quantity="1">
        <TravellerID>1</TravellerID>
    </FareAvailQualifiers>
    <POS>
        <PCC>your pcc</PCC>
    </POS>
</SeatMapQueryEnhanced>
</EnhancedSeatMapRQ>
票数 1
EN

Stack Overflow用户

发布于 2019-01-25 22:39:16

Source请尝试使用服务操作代码: EnhancedSeatMapRQ进行相同操作

希望能有所帮助。P.

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/54351671

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档