Web Service - Is JSON supported?

Issue

Is JSON supported in a web service environment?

Product Line

SmartStruxure Solution

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 a http response in Generic Consume, only Simple XML Web Service and SOAP Web Service. It must be a xml document.

There is a tool developed on the Community automatically converting the JSON response from at Web Service to XML, and though it's not officically supported by PSS, it has proven to be a valid work around. Refer to "SBO - Web Service through a Proxy and JSON conversion".