Issue
Is JSON supported in a web service environment?
Product Line
EcoStruxure Building Operation
Environment
- Web Services
- JSON
- StruxureWare Building Operation
Cause
Many third party application only communicate JSON.
Resolution
JSON is not a supported format in StruxureWare Building Operation as an HTTP response in Generic Consume. Only Simple XML Web Service and SOAP Web Service are supported. It must be an XML document.
There is a tool developed on the Community to automatically convert the JSON response from a Web Service to XML, and though it is not officially supported by PSS, it has proven to be a valid work around. Refer to SBO - Web Service through a Proxy, JSON and Image conversion.