Subject: de-serialize Cisco Finesse Messages + access to notification
Hi,
I'm new to xmpp and only have basic workings of .NET. I've just started using this library today and have successfully authenticated against Cisco Finesse server and I'm receiving messages ok.
I'm not sure whether I need to be de-serializing the xml messages myself or whether there's already classes built into Matrix for this.
For example what's the best practice for accessing the "notification" element within the following XML message. If it were java i'd be finding/constructing an XSD and using JAXB to generate the classes and from there de-serializing the string into objects from where I could then access the attributes and elements using a strong typecast method.
Since i'm new to C# i'm not sure whether this is overkill or is there something built into the APIs to allow me to get access to that node?
Thanks
I'm new to xmpp and only have basic workings of .NET. I've just started using this library today and have successfully authenticated against Cisco Finesse server and I'm receiving messages ok.
I'm not sure whether I need to be de-serializing the xml messages myself or whether there's already classes built into Matrix for this.
For example what's the best practice for accessing the "notification" element within the following XML message. If it were java i'd be finding/constructing an XSD and using JAXB to generate the classes and from there de-serializing the string into objects from where I could then access the attributes and elements using a strong typecast method.
Since i'm new to C# i'm not sure whether this is overkill or is there something built into the APIs to allow me to get access to that node?
- <message xmlns="jabber:client"
- from="pubsub.XXX.jno.local"
- to="1111126@XXX.jno.local"
- id="/finesse/api/User/1111126__1111126@XXX.jno.local__xDPxe">
- <event xmlns="http://jabber.org/protocol/pubsub#event">
- <items node="/finesse/api/User/1111126">
- <item id="8408e76b-58ca-4e1e-a3cb-9098566186fa140274">
- <notification xmlns="http://jabber.org/protocol/pubsub">
- <Update>
- <data>
- <user>
- <dialogs>/finesse/api/User/1111126/Dialogs</dialogs>
- </notification>
- </item>
- </items>
- </event>
- </message>
Thanks