Error message: Cannot process the message because the content type “application/json; charset=utf-8” was not the expected type "text/xml; charset=utf-8
The error is self-explanatory, can you try invoking pub.flow: getTransportInfo and see the content-type which is coming in.
Also, provide more details about the implementation when exactly you get this error?