6 Replies Latest reply on Jul 13, 2018 1:33 AM by Markus Maurischat

    Orchestrator Integration in Digital Workplace Advance

    Markus Maurischat

      Hi there,

       

      another interesting problem

      We're trying to configure the BAO Connector (and Import Services/Workflows) in Digital Workplace Advance (Service Broker) as described here.

      On BAO side everything works as it should. The services configured in the ServiceMappings in the AO module are read and given back in (valid) JSON:

       

      {"bao-response":{"metadata":{"request-type":"Get Service List","status":"success"},"data":{"service-list":{"service":"user_test"}}}}

       

      This part is sent to the ServiceBroker, but the SB cannot parse the JSON and is also escaping parts of the string:

       

      07-12 12:50:44.042 DEBUG com.bmc.myservice.connect.commons.util.JsonUtils JSON parsing error (com.fasterxml.jackson.databind.JsonMappingException: org.xml.sax.SAXParseException: Content is not allowed in prolog. (through reference chain: Object[][0])) for:

      [{"name":"response","value":"{\"bao-response\":{\"metadata\":{\"request-type\":\"Get Service List\",\"status\":\"success\"},\"data\":{\"service-list\":{\"service\":\"user_test\"}}}}"}]

      07-12 12:50:44.051 WARN com.bmc.myservice.connectors.client.JaxRsClientFactory [{"messageType":"ERROR","messageText":"Unknown system error","moreInfo":"","messageNumber":8790,"messageAppendedText":"com.fasterxml.jackson.databind.JsonMappingException: org.xml.sax.SAXParseException: Content is not allowed in prolog. (through reference chain: Object[][0])"}]

       

      I've removed the whitespaces in the JSON string (-> "Get Service List") and used another charcaterset in the web-Services adapter, but nothing helped.

       

      We are still running the Service Broker in version 3.5. Is there a solution or fix for this problem in this version?

      The AO is running in Version 8.0 with the necessary content modules in version 20.18.01.00.

       

      Thanks in advance!

       

      Markus