The following example is an event in Common Base Event XML format. This is the format of an event as it is passed into or out of WebSphere® Premises Server.
<CommonBaseEvent creationTime="2008-01-13T23:42:19.812Z" globalInstanceId="IBMSensorEvent_30184afc-219f-4d0a-b13b-af76cb66bb53" priority="50" version="1.0.1"> <extendedDataElements name="ibmse_header" type="noValue"> <children name="priority" type="short"> <values>50</values> </children> <children name="geoLocation" type="string"> <values></values> </children> <children name="sourceId" type="string"> <values>E2</values> </children> <children name="eventId" type="string"> <values>IBMSensorEvent_30184afc-219f-4d0a-b13b-af76cb66bb53</values> </children> <children name="originatingEventId" type="string"> <values></values> </children> <children name="eventType" type="string"> <values>dccontroller/values> </children> <children name="assetId" type="string"> <values></values> </children> <children name="dateTime" type="dateTime"> <values>2008-01-13T23:42:19.812Z</values> </children> <children name="ibmseVersion" type="string"> <values>6.1</values> </children> </extendedDataElements> <extendedDataElements name="ibmse_payloadMetaData" type="noValue"> </extendedDataElements> <extendedDataElements name="ibmse_payload" type="string"> <values>com.ibm.sensorevent.model.payload.HeartbeatPayload</values> <children name="dccontroller%2Freport%2Fdiagnostic%2Fheartbeat" type="noValue"> <children name="value" type="string"> <values>E1/values> </children> </children> </extendedDataElements> <sourceComponentId application="IBM+WebSphere+Premises+Server" component="none" componentIdType="Application" location="none" locationType="Unknown" subComponent="none" componentType="none"/> <situation categoryName="ReportSituation"> <situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ReportSituation" reasoningScope="EXTERNAL" reportCategory="LOG"/> </situation> </CommonBaseEvent>
After entering WebSphere Premises Server, the Common Base Event XML is converted to event model objects. The following example illustrates the previous event XML example as event model objects.
version: 6.1 name: ibmse_header attributes: { name: originatingEventId, value: , type: 18 name: assetId, value: , type: 18 name: dateTime, value: 2008-01-13T23:42:19.812Z, type: 5 name: sourceId, value: E2, type: 18 name: geoLocation, value: , type: 18 name: eventId, value: IBMSensorEvent_30184afc-219f-4d0a-b13b-af76cb66bb53, type: 18 name: eventType, value: dccontroller/report/diagnostic/heartbeat, type: 18 name: priority, value: 50, type: 16} groups: { name: sourceComponent attributes: { name: locationType, value: Unknown, type: 18 name: subComponent, value: none, type: 18 name: component, value: none, type: 18 name: componentType, value: none, type: 18 name: location, value: none, type: 18 name: componentIdType, value: Application, type: 18 name: application, value: IBM WebSphere Premises Server, type: 18} groups: {}} name: ibmse_payloadMetaData attributes: {} groups: {} name: ibmse_payload attributes: {} groups: { name: dccontroller/report/diagnostic/heartbeat attributes: { name: value, value: E1=UP,P1=UP,R1=UP, type: 18} groups: {}} payloadClassName: com.ibm.sensorevent.model.payload.HeartbeatPayload