Wireshark mailing list archives
Call XML and JSON dissectors with new HTTP Content-Type
From: Juan Jose Martin Carrascosa <juanjo () rti com>
Date: Thu, 17 Dec 2015 13:40:24 +0100
Hi all, Web Integration Service (http://www.omg.org/spec/DDS-WEB/1.0/Beta2/) is a new service that sends/receives DDS traffic (RTPS) over HTTP. The serialization is not directly RTPS but a conversion handled internally, that can be XML or JSON. I would like to add support to show the content of the HTTP packets as it is done for XML. The Content-Type is "application/dds-web+xml". If I change it to "application/xml" internally, it works sweet. How can I make Wireshark apply the XML dissector when receiving "application/dds-web+xml"? I have been inspecting the code but I want some advice since this is an important dissector. I will implement this for myself, and once it is stable and I make sure it doesn't change, I will push the changes to the community. Also, knowing how to implement the equivalent for JSON would be awesome. Thanks, Juanjo Martin
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Call XML and JSON dissectors with new HTTP Content-Type Juan Jose Martin Carrascosa (Dec 17)
- Re: Call XML and JSON dissectors with new HTTP Content-Type Pascal Quantin (Dec 17)
- Re: Call XML and JSON dissectors with new HTTP Content-Type Alexis La Goutte (Dec 17)
- Re: Call XML and JSON dissectors with new HTTP Content-Type Juan Jose Martin Carrascosa (Dec 17)
- Re: Call XML and JSON dissectors with new HTTP Content-Type Juan Jose Martin Carrascosa (Dec 17)
- Re: Call XML and JSON dissectors with new HTTP Content-Type Alexis La Goutte (Dec 17)
- Re: Call XML and JSON dissectors with new HTTP Content-Type Pascal Quantin (Dec 17)