wsdl - gsoap and _wsnt__NotificationMessageHolderType_Message -


is possible gsoap parse tt_message elements found inside _wsnt__notificationmessageholdertype_message onvif events? unable gsoap directly parse these. able work via dom processing. in wsdl contents of wsnt:message 'any' , need tell gsoap tt:message.

this solution did not work me. http://prog3.com/sbdm/blog/qianwen36/article/details/16891505

i tried adding standard typemap.dat: _wsnt__notificationmessageholdertype_message = $ _tt__message* message 1;

the message field added, gsoap parsing of tt__message elements not triggered. non-pointer _tt__message doesn't work either.

gsoap version 20853

<soap-env:body><tev:pullmessagesresponse> <tev:currenttime>2017-08-30t04:53:15z</tev:currenttime> <tev:terminationtime>2017-08-30t04:58:15z</tev:terminationtime> <wsnt:notificationmessage> <wsnt:topic          dialect="http://www.onvif.org/ver10/tev/topicexpression/concreteset"> tns1:ruleengine/cellmotiondetector/motion</wsnt:topic> <wsnt:message> <tt:message utctime="2017-08-29t23:53:15z" propertyoperation="changed"> <tt:source> <tt:simpleitem name="videosourceconfigurationtoken" value="1" /> </tt:source> <tt:source> <tt:simpleitem name="videoanalyticsconfigurationtoken" value="0" /> </tt:source> <tt:source> <tt:simpleitem name="rule" value="cellmotiondetector" /> </tt:source> <tt:data> <tt:simpleitem name="ismotion" value="false" /> </tt:data> </tt:message></wsnt:message></wsnt:notificationmessage>     </tev:pullmessagesresponse></soap-env:body></soap-env:envelope> 


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -