Sabre java SOAP客户端

Sabre java SOAP客户端,java,soap,soapui,sabre,Java,Soap,Soapui,Sabre,我正在尝试开发一个基于java SOAP的客户端,集成Sabre()酒店预订服务。当我尝试在SOAPUI中执行测试服务时,它总是失败并得到以下响应 <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"> <soap-env:Header> <eb:MessageHeader eb:version="1.0" soap-env:mustUnderst

我正在尝试开发一个基于java SOAP的客户端,集成Sabre()酒店预订服务。当我尝试在SOAPUI中执行测试服务时,它总是失败并得到以下响应

<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="URI">123123</eb:PartyId>
         </eb:From>
         <eb:To>
            <eb:PartyId eb:type="URI">999999</eb:PartyId>
         </eb:To>
         <eb:CPAId>ipcc</eb:CPAId>
         <eb:ConversationId>conversationID</eb:ConversationId>
         <eb:Service eb:type="OTA">SessionCreateRQ</eb:Service>
         <eb:Action>ErrorRS</eb:Action>
         <eb:MessageData>
            <eb:MessageId>677671ee-ed04-4bf2-bfcb-e12c54e6aad4@19</eb:MessageId>
            <eb:Timestamp>2016-01-30T16:50:15</eb:Timestamp>
            <eb:RefToMessageId>1000</eb:RefToMessageId>
         </eb:MessageData>
      </eb:MessageHeader>
      <wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext"/>
   </soap-env:Header>
   <soap-env:Body>
      <soap-env:Fault>
         <faultcode>soap-env:Client.AuthenticationFailed</faultcode>
         <faultstring>Authentication failed</faultstring>
         <detail>
            <StackTrace>com.sabre.universalservices.base.security.AuthenticationException: errors.authentication.USG_AUTHENTICATION_FAILED</StackTrace>
         </detail>
      </soap-env:Fault>
   </soap-env:Body>
</soap-env:Envelope>

123123
999999
ipcc
会话ID
会话创建器
错误者
677671ee-ed04-4bf2-bfcb-e12c54e6aad4@19
2016-01-30T16:50:15
1000
soap环境:Client.AuthenticationFailed
身份验证失败
com.sabre.universalservices.base.security.AuthenticationException:errors.authentication.USG\u authentication\u失败
有谁能在这方面指导我吗

问候,,
Mayuran看起来您在呼叫SessionCreateQ时提交的凭据(用户名、密码、组织、域)可能不正确


确保这些值正确并且您指向了适当的环境(通常首先您会获得客户验收测试环境的凭据:)

在调用SessionCreateRQ时提交的凭据(用户名、密码、组织、域)可能不正确


确保值正确并且您指向适当的环境(通常您首先获得客户验收测试环境的凭据:)

有效地,在将我的凭据更改为不正确的值并使用SessionCreateRQ后,我会收到完全相同的错误,因此您可能希望使用Sabre验证它们。您可以使用以下表单联系Sabre:或通过电子邮件联系webservices。support@sabre.comThanks我想知道答案。看起来我们需要在有效调用SOAP服务之前获得适当的许可证,在将凭据更改为不正确的值并使用SessionCreateRQ之后,我会收到完全相同的错误,因此您可能希望使用Sabre验证它们。您可以使用以下表单联系Sabre:或通过电子邮件联系webservices。support@sabre.comThanks我想知道答案。看来我们需要在调用SOAP服务之前获得适当的许可证