1

我正在关注这个链接,我在第一步 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);
    }

但我不明白什么是派对idConversationId

有人可以帮我从到和传递什么ConversationId

4

1 回答 1

0

PartyId 用于指定消息要发送到的客户端应用程序或表单。

更多详细信息在服务文档下发布。 https://developer.sabre.com/docs/soap_apis/session_management/create_session/resources

于 2016-10-10T13:17:39.243 回答