我正在关注此链接,我正迈出第一步 https://developer.sabre.com/docs/read/soap_basics/Authentication
陷入第一步
所以我在标题中添加了以下代码:
private static function getMessageHeaderXml($actionString) {
$messageHeader = array("MessageHeader" => array(
"_namespace" => "http://www.ebxml.org/namespaces/messageHeader",
"From" => array("PartyId" => "sample.url.of.sabre.client.com"),
"To" => array("PartyId" => "webservices.sabre.com"),
"CPAId" => "****",
"ConversationId" => "convId",
"Service" => $actionString,
"Action" => $actionString,
"MessageData" => array(
"MessageId" => "1000",
"Timestamp" => "2001-02-15T11:15:12Z",
"TimeToLive" => "2001-02-15T11:15:12Z"
)
)
);
return XMLSerializer::generateValidXmlFromArray($messageHeader);
}
但是我没有得到派对id
和ConversationId
。
有人可以帮助我传递给ConversationId
的所有内容。
答案 0 :(得分:0)
PartyId用于指定发送邮件的客户端应用程序或表单。
更多详细信息发布在服务文档下。 https://developer.sabre.com/docs/soap_apis/session_management/create_session/resources