Soap Sabre HotelRateDescriptionLsrq错误ERR.SWS.PROVIDER.REQUEST\u HANDLER\u错误
我在尝试获取sabre soap api中的速率时遇到错误意外的请求处理错误。以下是我的请求xml:Soap Sabre HotelRateDescriptionLsrq错误ERR.SWS.PROVIDER.REQUEST\u HANDLER\u错误,soap,sabre,Soap,Sabre,我在尝试获取sabre soap api中的速率时遇到错误意外的请求处理错误。以下是我的请求xml: <soapenv:Body> <ns:HotelRateDescriptionRQ ReturnHostCommand="false" Version="2.3.0"> <ns:AvailRequestSegment> <!--Optional:--&g
<soapenv:Body>
<ns:HotelRateDescriptionRQ ReturnHostCommand="false" Version="2.3.0">
<ns:AvailRequestSegment>
<!--Optional:-->
<ns:GuestCounts Count="2"/>
<!--Optional:-->
<ns:HotelSearchCriteria>
<ns:Criterion>
<ns:HotelRef HotelCode="46333"/>
</ns:Criterion>
</ns:HotelSearchCriteria>
<!--Optional:-->
<!--Optional:-->
<ns:RatePlanCandidates>
<ns:RatePlanCandidate CurrencyCode="USD"/>
</ns:RatePlanCandidates>
<!--Optional:-->
<ns:TimeSpan End="12-28" Start="12-25"/>
</ns:AvailRequestSegment>
</ns:HotelRateDescriptionRQ>
</soapenv:Body>
但我得到了错误的回应:
<soap-env:Body>
<HotelRateDescriptionRS 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" Version="2.3.0">
<stl:ApplicationResults status="NotProcessed">
<stl:Error type="Application" timeStamp="2018-02-15T01:50:26-06:00">
<stl:SystemSpecificResults>
<stl:Message>Unexpected request processing error</stl:Message>
<stl:ShortText>ERR.SWS.PROVIDER.REQUEST_HANDLER_ERROR</stl:ShortText>
</stl:SystemSpecificResults>
</stl:Error>
</stl:ApplicationResults>
</HotelRateDescriptionRS>
</soap-env:Body>
那么我做错了什么呢?可能的解决方案:
1.您是否已将ns:ARRKINDY设置为正确?
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
2您是否在标题中相应地设置了服务类型?
HotelPropertyDescriptionLLSRQ酒店
HotelPropertyDescriptionLLSRQ酒店
让我知道这是否适用于您我已修复此问题,此问题是因为我使用来自service TokenCreateRQ的令牌,它应使用service SessionCreateRS是的,我已正确设置标头。HotelRateDescriptionLsrq/eb:MessageHeader>和body i已更改,与sabre文档相同,您可能不应该开始使用正在使用的端点。根据最新的统计数据,它将在年中被切换到。你能提供完整的请求吗?包括确切的地址和头,显然没有令牌。我已经解决了这个问题,因为我使用服务令牌CreateRQ中的令牌,所以应该使用服务会话创建器