02-04-2019 03:21 AM - edited 02-06-2019 12:20 AM
I would like to know if GeoMedia WebMap supports returning exceptions in formats like application/json. I am requesting data from GeoMedia WebMap WFS and the prefered format is JSON. Things get tricky when an exception is thrown and the format returned is text/xml or text/html and my custom WFS client does not understand those formats (at least for now).
02-06-2019 02:48 AM
Hi Elvis,
Currently it does not support to work in JSON natively.
You can however write a custom pipe which would handle the exceptions and return them in JSON format instead of XML. Or easier, to just convert any service XML output into JSON.
Regards,
Jan