@Override
public WsJsonError jsonToXml(WsJsonSessionId wsSessionId, WsConversionParams wsParams) throws RemoteException {
try {
JsonEngine engine = getEngine();
JsonSessionCredentials credentials = createSessionCredentials(wsSessionId);
ConversionParams conversionParams = createConversionParams(wsParams);
engine.jsonToXml(credentials, conversionParams);
return createForSuccess();
} catch (Exception e) {
return createForException(-1, e, "jsonToXml");