Examples of MarshalHelper


Examples of com.ipc.oce.xml.oc.MarshalHelper

      if (LOG.isInfoEnabled()) {
        LOG.info("Query: " + query);
      }
     
      OCQueryResultSelection selection = template.queryForSelection(query);
      MarshalHelper marshalHelper = new MarshalHelper(app);
      String xml = marshalHelper.selection2xml(selection, Integer.valueOf(mode));
      return Response.ok(xml).build();
    } catch (Exception e) {
      throw new WebApplicationException(e);
    }
  }
View Full Code Here

Examples of com.ipc.oce.xml.oc.MarshalHelper

    if (exchangePattern == ExchangePattern.InOnly) {
      paramExchange.setOut(paramExchange.getIn());
    } else if (exchangePattern == ExchangePattern.InOut) {
      co.read(); // повторно считываем сохраненный объект из базы
      //LOG.info("After read "+co.toString());
      MarshalHelper marshalHelper = new MarshalHelper(appInstance);
      String payload2 = marshalHelper.object2xml(co, "UTF-8");
      Message messageOut = paramExchange.getOut();
      messageOut.setBody(payload2);
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.