specs icon indicating copy to clipboard operation
specs copied to clipboard

Faults for CreatePullpointSubscription

Open jflevesque-genetec opened this issue 8 months ago • 8 comments

So I've been trying to find the faults the CreatePullPointSubscription could return and only found this in the Core spec:

FAULTS:

  • The same faults as for Subscription Request of the [WS-BaseNotification] are used.

Sadly, I wasn't able to find where the Subscription Request faults are defined in the documentation. I have a feeling it could have been there in the past but the call was removed or something, but the faults were not kept. Any idea where I can find the defined faults for this call?

jflevesque-genetec avatar Jun 12 '25 16:06 jflevesque-genetec

Ok, Jose may have found the answer. Would the faults be these ones: Line 678 in https://docs.oasis-open.org/wsn/wsn-ws_base_notification-1.3-spec-os.pdf

If so, any specific fault expected if we reach the maximum subscriptions allowed by a device?

jflevesque-genetec avatar Jun 12 '25 16:06 jflevesque-genetec

Ref: EVENT-3-1-37-v17.12 REALTIME PULLPOINT SUBSCRIPTION – MAXIMUM SUPPORTED NUMBER OF NOTIFICATION PULL POINTS

  • This test is checking subscriptions creation is <=max and not testing beyond max to check the triggered error :-)

Ref: https://docs.oasis-open.org/wsn/wsn-ws_base_notification-1.3-spec-os.pdf

Closest fault codes for the case in point would be

  • SubscribeCreationFailedFault
  • UnableToCreatePullPointFault

<wsdl:fault name="SubscribeCreationFailedFault" message="wsntw:SubscribeCreationFailedFault"/> 

<wsdl:fault name="UnableToCreatePullPointFault" message="wsntw:UnableToCreatePullPointFault" /> 

bsriramprasad avatar Jun 18 '25 09:06 bsriramprasad

@jflevesque-genetec does this response from @bsriramprasad satisfy your needs ?. I reviewed the same in the Ref: https://docs.oasis-open.org/wsn/wsn-ws_base_notification-1.3-spec-os.pdf he provided.

kieran242 avatar Jul 08 '25 08:07 kieran242

TC agreed that listing of the faults makes sense. Filing a PR is highly welcome.

HansBusch avatar Jul 08 '25 13:07 HansBusch

Perfect, I'll migrate the ones from the base notification that make sense and see to maybe add one for max subscription reached (since I don't think there's any defined for it)

jflevesque-genetec avatar Jul 09 '25 13:07 jflevesque-genetec

@jflevesque-genetec is there a PR raised for this yet?

kieran242 avatar Sep 25 '25 10:09 kieran242

Not yet, its WIP, but not yet done. Haven't had much time to work on this.

jflevesque-genetec avatar Sep 25 '25 13:09 jflevesque-genetec

Link to a relative issue in DTT: https://github.com/onvif/dtt/issues/303

ocampana-videotec avatar Nov 14 '25 02:11 ocampana-videotec