agsh / onvif

ONVIF node.js implementation
http://agsh.github.io/onvif/
MIT License
693 stars 236 forks source link

SOAP parsing multiple xmlns in PullMessagesResponse Dialect #134

Closed bl0ggy closed 4 years ago

bl0ggy commented 4 years ago

Some cameras insert multiple in xmlns in the Dialect of a PullMessagesResponse as following:

<wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet xmlns:wsnt=http://docs.oasis-open.org/wsn/b-2 xmlns:tns1=http://www.onvif.org/ver10/topics xmlns:tnssamsung=http://www.samsungcctv.com/2011/event/topics">tns1:Device/tns1:Trigger/tnssamsung:DigitalInput</wsnt:Topic>

which is currently not supported.

I will make a pull request.

RogerHardiman commented 4 years ago

Thanks for the explanations. Code merged.