我正在测试SOAUI中的SABRE API。在git中执行了他们的程序并导入了API工作流后,我测试了Book Air Segment工作流程,但是我收到以下错误消息:
SessionCreateRQ - FAILED - 1041 - [Not SOAP Fault] Response is a SOAP Fault - [Contains Approved] Missing token [(?s).*status="Approved".*] in Response
我没有PCC所以,我使用默认的IPCC,端点是正常的测试端点证书.....域名:DEFAULT 应该设置ConversationID吗?
以下是SOAP的回复:
<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>SWS-Test-IPCC</eb:ConversationId>
<eb:Service eb:type="OTA">SessionCreateRQ</eb:Service>
<eb:Action>ErrorRS</eb:Action>
<eb:MessageData>
<eb:MessageId>1151090667624110610</eb:MessageId>
<eb:Timestamp>2018-04-29T18:32:42</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>
TestCase [Workflow: Book Air Segment] failed without assertions
at com.eviware.soapui.tools.SoapUITestCaseRunner.throwFailureException(SoapUITestCaseRunner.java:519)
at com.eviware.soapui.tools.SoapUITestCaseRunner.runRunner(SoapUITestCaseRunner.java:435)
at com.eviware.soapui.tools.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:202)
at com.eviware.soapui.tools.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:137)
at com.eviware.soapui.tools.AbstractSoapUIRunner.runFromCommandLine(AbstractSoapUIRunner.java:112)
at com.eviware.soapui.tools.SoapUITestCaseRunner.main(SoapUITestCaseRunner.java:122)
20:32:44,502 WARN [Tools] Could not delete temporary directory C:\Users\admin\AppData\Local\Temp\b2bdd89e-146b-4b64-a000-f916daa3c7ad
20:32:44,515 WARN [Tools] Could not delete temporary directory C:\Users\admin\AppData\Local\Temp\8546b585-7998-4c11-a31f-97cfe83a13ff