Multidomain MDM
- Multidomain MDM 10.3
- All Products
// For example, if this is in a Servlet that receives an XML // to update multiple Hub packages. AuditRequest request = new AuditRequest(); request.setComponent("mycompany.customerServlet"); request.setAction("POST"); request.setStatus("info"); // from: the same system to be used in other SIF calls request.setFromSystem("CRM"); request.setToSystem("Admin"); // to: Siperian Hub // context: any metadata to help understand the entry request.setContext( dataId ); // example: pkeySource // context xml: complex metadata, for debug, may impact performance request.setContextXML("<metadata>" + "<url>" + httpServletRequest. getRequestURI() + "</url>" + "</metadata>"); // It may be helpful to identify the root package request.setSiperianObjectUid( SiperianObjectType.PACKAGE.makeUid("CUSTOMER_UPDATE") ); // data xml: usually for debug only, may impact performance request.setDataXML( requestXmlAsString ); // If there was a related audit before this one: request.setRowidAuditPrevious(prevAuditResponse.getRowidAudit()); // If the rowid_object is known: request.setRowidObject(""); AuditResponse response = (AuditResponse) sipClient.process(request); // Now decompose the request data and call other SIF API's ...