Faults for CreatePullpointSubscription
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?
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?
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" />
@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.
TC agreed that listing of the faults makes sense. Filing a PR is highly welcome.
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 is there a PR raised for this yet?
Not yet, its WIP, but not yet done. Haven't had much time to work on this.
Link to a relative issue in DTT: https://github.com/onvif/dtt/issues/303