Service mapping event schema

When you set an event point on a local mapping service, published events use a specific schema.

Schema explanation

The eventPointData element contains information about how and when the event was generated, including:
  • The eventSourceAddress attribute that contains the originating application, service, local mapping service, and operation name of the service request, response, or fault that was intercepted.
  • The eventIdentity element, which contains an eventName attribute that is set to one of the following values:
    • CLIENT_PREMAP_REQUEST when a service request is intercepted by the local mapping service.
    • CLIENT_POSTMAP_RESPONSE when a service response is returned to the originating service client.
    • CLIENT_POSTMAP_RESPONSE_FAULT when a fault is returned to the originating service client.
  • The eventSequence element, which contains a creationTime attribute that contains the time when the web service request, response or fault was intercepted.
  • The eventCorrelation element, which contains transaction ID attributes that take the following values:
    • The localTransactionId attribute is a unique ID generated for the web service request, response or fault that was intercepted.
    • The parentTransactionId attribute is a unique ID that you can use to correlate events emitted for the web service request and the returned web service response or fault.
    • The globalTransactionId attribute is the WebSphere® Application Server global transaction ID.
  • If you have configured the event point to include message data in the event, the bitstream element contains the message data in base 64 encoded form.

To see the full schema for an event emitted by a local mapping service, view or download the file eventschema.xsd.

Example of a published event

<ns1:event xmlns:ns1="http://www.ibm.com/xmlns/prod/websphere/servicemapping/event/2013/06">
<ns1:eventPointData>
<ns1:eventData ns1:productVersion="" ns1:eventSchemaVersion="" ns1:eventSourceAddress="DemoJAXWS/DemoLM/getGreeting">
<ns1:eventIdentity ns1:eventName="CLIENT_POSTMAP_RESPONSE_FAULT" ns1:severity="" ns1:priority="" ns1:successDisposition=""/>
<ns1:eventSequence ns1:creationTime="2013-04-09T11:04:05.204+01:00" ns1:counter="0"/>
<ns1:eventCorrelation ns1:localTransactionId="50c69d27-fb5c-48d6-881b-8430c2520f7c" ns1:parentTransactionId="3cb52402-b953-424a-a6f2-28b39eef5877" ns1:globalTransactionId=""/>
</ns1:eventData>
</ns1:eventPointData>
<ns1:bitstreamData>
<ns1:bitstream ns1:encoding="base64Binary"/>
</ns1:bitstreamData>
</ns1:event>

Icon that indicates the type of topic Reference topic

Terms and conditions for information centers | Feedback


Timestamp icon Last updated: Tuesday, 22 April 2014
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-express-iseries&topic=rsmwas_servicemappingeventschema
File name: rsmwas_servicemappingeventschema.html