The method schema::event::create_pull_point_subscription() return a struct schema::event::CreatePullPointSubscriptionResponse
pub struct CreatePullPointSubscriptionResponse {
// Endpoint reference of the subscription to be used for pulling the
// messages.
#[yaserde(prefix = "tev", rename = "SubscriptionReference")]
pub subscription_reference: wsa::EndpointReferenceType,
// Current time of the server for synchronization purposes.
#[yaserde(prefix = "wsnt", rename = "CurrentTime")]
pub current_time: wsnt::CurrentTime,
// Date time when the PullPoint will be shut down without further pull
// requests.
#[yaserde(prefix = "wsnt", rename = "TerminationTime")]
pub termination_time: wsnt::TerminationTime,
}
As described in the comment, the field is needed when pulling. However, arguments of schema::event::pull_messages() do not contain the subscription_reference.
I've tried to use create_pull_point_subscription(), it's OK. But when I use pull_messages(), the camera response 500 Internal Server Error.
The method
schema::event::create_pull_point_subscription()
return a structschema::event::CreatePullPointSubscriptionResponse
As described in the comment, the field is needed when pulling. However, arguments of
schema::event::pull_messages()
do not contain thesubscription_reference
. I've tried to usecreate_pull_point_subscription()
, it's OK. But when I usepull_messages()
, the camera response500 Internal Server Error
.