Forum Discussion
slaytanic70
8 years agoNew Contributor III
Can the incoming request also send a parameter of “file_type”? Then you could use a router based on this value to handle it as JSON or XML or any other file_type that is sent.
Surendar
8 years agoContributor
Yes we have done the same and found the solution for the above approach.
In binary router we are validating the JSON or XML input streams and then doing our further works.
Thanks for your attention.
- alchemiz6 years agoContributor III
Hi Pankaj,
The file that you attached was simply an invalid xml, it was missing a closing tag for node TravelITerinary once I corrected the file and you should be able to parse it using the XML parser
Thanks,
EmEm