WefFactory factory = createWefFactory();
ManagementEvent event = factory.createEvent();
event.addExtendedElement(payload);
Component source = factory.createComponent();
source.setName(WefConstants.SOURCE_COMP_QNAME);
ComponentAddress address = factory.createComponentAddress(sourceEPR);
source.setAddress(address);
event.setSource(source);
Component reporter = factory.createComponent();
reporter.setName(WefConstants.REPORTER_COMP_QNAME);
address = factory.createComponentAddress(advertiser.getEndpointReference());
reporter.setAddress(address);
event.setReporter(reporter);
Situation situation = factory.createSituation();
situation.setCategoryType(situationCategory);