Sitemap

Sunday, April 5, 2015

UCM: Execute a service

From a Java filter:
CompInstallUtils.executeService(ws, "ADD_WORKFLOW", binder);


From a Service Handler
    private void executeService(final DataBinder serviceBinder, final String serviceName) throws ServiceException {
        try {
            trace("Calling service " + serviceName + ": " + serviceBinder.getLocalData().toString());
            m_service.getRequestImplementor().executeServiceTopLevelSimple(serviceBinder, serviceName, m_service.getUserData());
            trace("Finished calling service");
        } catch (final DataException e) {
            e.printStackTrace(System.out);
            throw new ServiceException(serviceName, e);
        }
    }


From a Service class:
Use the one provided in the book of Bex Huff.

2 comments:

  1. Hi I'm trying to checkin file through java code.
    I'm using checkin_universal ridc srvice to checkin file but I'm getting dstatus as Released but instead i want it as Review because documents workflow is not completed from UI.


    Please suggest here...
    In big mess

    ReplyDelete
  2. Beaver says I also have such interest, you can read my profile here: visit this page

    ReplyDelete