This appendix describes the available sensor public views and the sensor actions XSD file that you can import into Oracle BPEL Designer.
This appendix includes the following sections:
For more information, see Chapter 18, "Using Oracle BPEL Process Manager Sensors."
A set of public views is exposed to allow SQL access to sensor values from literally any application interested in the data. In addition, a sample sensor action schema is provided for importing into Oracle BPEL Designer.
The sensor framework of Oracle BPEL Process Manager provides the functionality to persist sensor values created by processing BPEL instances in a relational schema stored in the dehydration store of Oracle BPEL Process Manager. The data is used to display the sensor values of a process instance in Oracle Enterprise Manager Fusion Middleware Control.
The database publisher persists the sensor data in a predefined relational schema in the database. The following public views can be used from a client (Oracle Warehouse, portals, and so on) to query the sensor values using SQL.
Note:
In Table D-1 through Table D-4
, the Indexed or Unique? column provides unique index names and the order of the attributes. For example, U1,2 means that the attribute is the second one in a unique index named U1. PK means primary key.
Table D-1 provides an overview of all the process instances of Oracle BPEL Process Manager.
Table D-1 BPEL_PROCESS_INSTANCES View
Attribute Name | SQL Type | Attribute Size | Indexed or Unique? | Null? | Comment |
---|---|---|---|---|---|
|
|
-- |
PK |
N |
Unique instance ID |
|
|
500 |
-- |
N |
User-defined application name |
|
|
500 |
-- |
N |
User-defined composite name |
|
|
50 |
-- |
N |
User-defined revision number |
|
|
500 |
-- |
N |
User-defined label |
|
|
500 |
-- |
N |
User-defined component name |
|
|
200 |
-- |
Y |
User-defined title of the BPEL process |
|
|
-- |
-- |
Y |
State of the BPEL process instance |
|
|
21 |
-- |
Y |
Text presentation of the state attribute |
|
|
-- |
-- |
Y |
User-defined priority of the BPEL process instance |
|
|
200 |
-- |
Y |
User-defined status of the BPEL process |
|
|
100 |
-- |
Y |
User-defined stage property of a BPEL process |
|
|
256 |
-- |
Y |
User-defined conversation ID of a BPEL process |
|
|
6 |
-- |
N |
Creation time stamp of the process instance |
|
|
6 |
-- |
Y |
Time stamp when the process instance was modified |
|
|
-- |
-- |
Y |
Date portion of |
|
|
-- |
-- |
Y |
Hour portion of |
|
|
-- |
-- |
Y |
Evaluation time of the process instance in milliseconds |
Table D-2 contains all the activity sensor values of the monitored BPEL processes.
Table D-2 BPEL_ACTIVITY_SENSOR_VALUES View
Attribute Name | SQL Type | Attribute Size | Indexed or Unique? | Null? | Comment |
---|---|---|---|---|---|
|
|
200 |
U1,2 |
N |
The name of the sensor that fired |
|
|
512 |
-- |
N |
The target of the fired sensor |
|
|
200 |
U1,3 |
N |
The name of the sensor action |
|
|
512 |
-- |
Y |
The filter of the action |
|
|
6 |
-- |
N |
The creation date of the activity sensor value |
|
|
6 |
-- |
Y |
The time stamp of last modification |
|
|
-- |
-- |
Y |
Date portion of |
|
|
-- |
-- |
Y |
Hour portion of |
|
|
1 |
-- |
Y |
|
|
|
200 |
-- |
N |
The name of the BPEL activity |
|
|
30 |
-- |
N |
The type of the BPEL activity |
|
|
30 |
-- |
Y |
The state of the BPEL activity |
|
|
30 |
-- |
N |
The evaluation point of the activity sensor |
|
|
-- |
-- |
Y |
An error message |
|
|
-- |
-- |
Y |
The number of retries of the activity |
|
|
-- |
-- |
Y |
Evaluation time of the activity in milliseconds |
|
|
-- |
PK |
N |
Unique ID |
|
|
-- |
U1,1 |
N |
BPEL process ID |
|
|
500 |
-- |
N |
User-defined application name |
|
|
500 |
-- |
N |
User-defined composite name |
|
|
50 |
-- |
N |
User-defined revision number |
|
|
500 |
-- |
N |
User-defined label |
|
|
500 |
-- |
N |
User-defined component name |
Table D-3 contains all the fault sensor values.
Table D-3 BPEL_FAULT_SENSOR_VALUES View
Attribute Name | SQL Type | Attribute Size | Indexed or Unique? | Null? | Comment |
---|---|---|---|---|---|
|
|
-- |
PK |
N |
Unique ID |
|
|
-- |
U1,1 |
N |
BPEL process ID |
|
|
500 |
-- |
N |
User-defined application name |
|
|
500 |
-- |
N |
User-defined composite name |
|
|
50 |
-- |
N |
User-defined revision number |
|
|
500 |
-- |
N |
User-defined label |
|
|
500 |
-- |
N |
User-defined component name |
|
|
200 |
U1,2 |
N |
The name of the sensor that fired |
|
|
512 |
-- |
N |
The target of the fired sensor |
|
|
200 |
U1,3 |
N |
The name of the sensor action |
|
|
512 |
-- |
Y |
The filter of the action |
|
|
6 |
-- |
N |
The creation date of the activity sensor value |
|
|
6 |
-- |
Y |
The time stamp of last modification |
|
|
-- |
-- |
Y |
Date portion of |
|
|
-- |
-- |
Y |
Hour portion of |
|
|
1 |
-- |
Y |
|
|
|
200 |
-- |
N |
The name of the BPEL activity |
|
|
30 |
-- |
N |
The type of the BPEL activity |
|
|
-- |
-- |
Y |
The fault message |
Table D-4 contains all the variable sensor values.
Table D-4 BPEL_VARIABLE_SENSOR_VALUES View
Attribute Name | SQL Type | Attribute Size | Indexed or Unique? | Null? | Comment |
---|---|---|---|---|---|
|
|
-- |
PK |
N |
Unique ID |
|
|
-- |
U1,1 |
N |
BPEL process ID |
|
|
500 |
-- |
N |
User-defined application name |
|
|
500 |
-- |
N |
User-defined composite name |
|
|
50 |
-- |
N |
User-defined revision number |
|
|
500 |
-- |
N |
User-defined label |
|
|
500 |
-- |
N |
User-defined component name |
|
|
200 |
U1,2 |
N |
Name of the sensor that fired |
|
|
512 |
-- |
N |
Target of the sensor |
|
|
200 |
U1,3 |
N |
Name of the action |
|
|
512 |
-- |
Y |
Filter of the action |
|
|
-- |
-- |
Y |
ID of the corresponding activity sensor value |
|
|
6 |
-- |
N |
Creation date |
|
|
-- |
-- |
N |
Date portion of |
|
|
-- |
-- |
N |
Hour portion of |
|
|
512 |
-- |
N |
The name of the BPEL variable |
|
|
30 |
-- |
Y |
Evaluation point of the corresponding activity sensor |
|
|
1 |
-- |
Y |
|
|
|
512 |
-- |
-- |
-- |
|
|
200 |
-- |
N |
The name of the activity or event that updated the variable |
|
|
200 |
-- |
N |
The type of the BPEL activity or event |
|
|
512 |
-- |
Y |
Namespace of variable sensor value |
|
|
512 |
-- |
Y |
Data type of the variable sensor value |
|
|
-- |
-- |
N |
The value type of the variable (corresponds to |
|
|
4000 |
-- |
Y |
The value of string-like variables |
|
|
-- |
-- |
Y |
|
|
|
6 |
-- |
Y |
User-defined date |
|
|
10 |
-- |
Y |
User-defined time zone |
|
|
-- |
-- |
Y |
|
|
|
-- |
-- |
Y |
Example D-1 provides a sample sensor action schema that you can import into Oracle BPEL Designer. This schema is also relevant to custom data publishers.
Example D-1 Sample Sensor Action Schema
<?xml version="1.0" encoding="utf-8"?> <!-- This schema contains the sensor definition. Sensors monitor data and execute callbacks appropriately. --> <xsd:schema blockDefault="#all" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/bpel/sensor" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://xmlns.oracle.com/bpel/sensor"> <xsd:simpleType name="tSensorActionPublishType"> <xsd:annotation> <xsd:documentation> This enumeration lists the possibe publishing types for probes. </xsd:documentation> </xsd:annotation> <xsd:restriction base="xsd:string"> <xsd:enumeration value="BpelReportsSchema"/> <xsd:enumeration value="JMSQueue"/> <xsd:enumeration value="JMSTopic"/> <xsd:enumeration value="Custom"/> </xsd:restriction> </xsd:simpleType> <xsd:complexType name="tSensorActionProperty"> <xsd:simpleContent> <xsd:extension base="xsd:string"> <xsd:attribute name="name" use="required" type="xsd:string"/> </xsd:extension> </xsd:simpleContent> </xsd:complexType> <!-- Attributes of a sensor action --> <xsd:attributeGroup name="tSensorActionAttributes"> <xsd:attribute name="name" type="xsd:string" use="optional"/> <xsd:attribute name="enabled" type="xsd:boolean" use="optional" default="true"/> <xsd:attribute name="filter" type="xsd:string"/> <xsd:attribute name="publishName" type="xsd:string" use="required"/> <xsd:attribute name="publishType" type="tns:tSensorActionPublishType" use="required"/> <!-- the name of the JMS Queue/Topic or custom java API, ignored for other publishTypes --> <xsd:attribute name="publishTarget" type="xsd:string" use="optional"/> </xsd:attributeGroup> <!-- The sensor action type. A sensor action consists: + unique name + effective date + expiration date - Optional. If not defined, the probe is active indefinitely. + filter (to potentially suppress data publishing even if a sensor marks it as interesting). - Optional. If not defined, no filter is used. + publishName A name of a publisher + publishType What to do with the sensor data? + publishTarget Name of a JMS Queue/Topic or custom publisher. + potentially many sensors. --> <xsd:complexType name="tSensorAction"> <xsd:sequence> <xsd:element name="sensorName" type="xsd:string" minOccurs="1" maxOccurs="unbounded"/> <xsd:element name="property" minOccurs="0" maxOccurs="unbounded" type="tns:tSensorActionProperty"/> </xsd:sequence> <xsd:attributeGroup ref="tns:tSensorActionAttributes"/> </xsd:complexType> <!-- define a listing of sensor actions in a single document. It might be a good idea to have one sensor action list per business process. --> <xsd:complexType name="tSensorActionList"> <xsd:sequence> <xsd:element name="action" type="tns:tSensorAction" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType> <xsd:simpleType name="tSensorKind"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="fault"/> <xsd:enumeration value="variable"/> <xsd:enumeration value="activity"/> </xsd:restriction> </xsd:simpleType> <xsd:complexType name="tActivityConfig"> <xsd:annotation> <xsd:documentation> The configuration part of an activity sensor comprises of a mandatory 'evalTime' attribute and an optional list of variable configurations </xsd:documentation> </xsd:annotation> <xsd:complexContent> <xsd:extension base="tns:tSensorConfig"> <xsd:sequence> <xsd:element name="variable" type="tns:tActivityVariableConfig" maxOccurs="unbounded" minOccurs="0"/> </xsd:sequence> <xsd:attribute name="evalTime" type="xsd:string" use="required"/> </xsd:extension> </xsd:complexContent> </xsd:complexType> <xsd:complexType name="tAdapterConfig"> <xsd:annotation> <xsd:documentation> The configuration part of a adapter activity extends the activty configuration with additional attributes for adapters </xsd:documentation> </xsd:annotation> <xsd:complexContent> <xsd:extension base="tns:tActivityConfig"> <xsd:attribute name="headerVariable" use="required" type="xsd:string"/> <xsd:attribute name="partnerLink" use="required" type="xsd:string"/> <xsd:attribute name="portType" use="required" type="xsd:string"/> <xsd:attribute name="operation" use="required" type="xsd:string"/> </xsd:extension> </xsd:complexContent> </xsd:complexType> <xsd:complexType name="tVariableConfig"> <xsd:complexContent> <xsd:extension base="tns:tSensorConfig"> <xsd:attribute name="outputDataType" use="required" type="xsd:string"/> <xsd:attribute name="outputNamespace" use="required" type="xsd:string"/> <xsd:attribute name="queryName" use="optional" type="xsd:string"/> </xsd:extension> </xsd:complexContent> </xsd:complexType> <xsd:complexType name="tActivityVariableConfig"> <xsd:complexContent> <xsd:extension base="tns:tVariableConfig"> <xsd:attribute name="target" type="xsd:string" use="required"/> </xsd:extension> </xsd:complexContent> </xsd:complexType> <xsd:complexType name="tFaultConfig"> <xsd:complexContent> <xsd:extension base="tns:tSensorConfig"/> </xsd:complexContent> </xsd:complexType> <xsd:complexType name="tNotificationSvcConfig"> <xsd:complexContent> <xsd:extension base="tns:tActivityConfig"> <xsd:attribute name="inputVariable" use="required" type="xsd:string"/> <xsd:attribute name="outputVariable" use="required" type="xsd:string"/> <xsd:attribute name="operation" use="required" type="xsd:string"/> </xsd:extension> </xsd:complexContent> </xsd:complexType> <xsd:complexType name="tSensorConfig"> <xsd:sequence> <xsd:element name="action" type="tns:tInlineSensorAction" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType> <xsd:complexType name="tInlineSensorAction"> <xsd:complexContent> <xsd:restriction base="tns:tSensorAction"/> </xsd:complexContent> </xsd:complexType> <xsd:complexType name="tSensor"> <xsd:sequence> <xsd:element name="activityConfig" type="tns:tActivityConfig" minOccurs="0"/> <xsd:element name="adapterConfig" type="tns:tAdapterConfig" minOccurs="0"/> <xsd:element name="faultConfig" type="tns:tFaultConfig" minOccurs="0"/> <xsd:element name="notificationConfig" type="tns:tNotificationSvcConfig" minOccurs="0"/> <xsd:element name="variableConfig" type="tns:tVariableConfig" minOccurs="0"/> </xsd:sequence> <xsd:attribute name="sensorName" use="required" type="xsd:string"/> <xsd:attribute name="kind" use="required" type="tns:tSensorKind"/> <xsd:attribute name="classname" use="required" type="xsd:string"/> <xsd:attribute name="target" use="required" type="xsd:string"/> </xsd:complexType> <xsd:complexType name="tSensorList"> <xsd:sequence> <xsd:element name="sensor" type="tns:tSensor" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType> <xsd:complexType name="tRouterData"> <xsd:sequence> <xsd:element name="header" type="tns:tHeaderInfo"/> <xsd:element name="payload" type="tns:tSensorData"/> </xsd:sequence> </xsd:complexType> <xsd:complexType name="tHeaderInfo"> <xsd:sequence> <xsd:element name="processName" type="xsd:string"/> <xsd:element name="processRevision" type="xsd:string"/> <xsd:element name="domain" type="xsd:string"/> <xsd:element name="instanceId" type="xsd:integer"/> <xsd:element name="midTierInstance" type="xsd:string"/> <xsd:element name="timestamp" type="xsd:dateTime"/> <xsd:element name="sensor" type="tns:tSensor"/> </xsd:sequence> </xsd:complexType> <xsd:complexType name="tSensorData"> <xsd:sequence> <xsd:element name="activityData" type="tns:tActivityData" minOccurs="0"/> <xsd:element name="faultData" type="tns:tFaultData" minOccurs="0"/> <xsd:element name="adapterData" minOccurs="0" type="tns:tAdapterData"/> <xsd:element name="variableData" type="tns:tVariableData" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="notificationData" type="tns:tNotificationData" minOccurs="0"/> </xsd:sequence> </xsd:complexType> <xsd:complexType name="tFaultData"> <xsd:sequence> <xsd:element name="activityName" type="xsd:string"/> <xsd:element name="activityType" type="xsd:string"/> <xsd:element name="data" type="xsd:anyType" minOccurs="0"/> </xsd:sequence> </xsd:complexType> <xsd:complexType name="tActivityData"> <xsd:sequence> <xsd:element name="activityType" type="xsd:string"/> <xsd:element name="evalPoint" type="xsd:string"/> <xsd:element name="errorMessage" nillable="true" minOccurs="0" type="xsd:string"/> </xsd:sequence> </xsd:complexType> <!-- xml type that is provided to sensors for variable Datas. Note the any element represents variable data. --> <xsd:complexType name="tVariableData"> <xsd:sequence> <xsd:element name="target" type="xsd:string"/> <xsd:element name="queryName" type="xsd:string"/> <xsd:element name="updaterName" type="xsd:string" minOccurs="1"/> <xsd:element name="updaterType" type="xsd:string" minOccurs="1"/> <xsd:element name="data" type="xsd:anyType"/> <xsd:element name="dataType" type="xsd:integer"/> </xsd:sequence> </xsd:complexType> <xsd:complexType name="tNotificationData"> <xsd:complexContent> <xsd:extension base="tns:tActivityData"> <xsd:sequence> <xsd:element name="messageID" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="fromAddress" type="xsd:string" minOccurs="0"/> <xsd:element name="toAddress" type="xsd:string" minOccurs="0"/> <xsd:element name="deliveryChannel" type="xsd:string" minOccurs="0"/> </xsd:sequence> </xsd:extension> </xsd:complexContent> </xsd:complexType> <xsd:complexType name="tAdapterData"> <xsd:complexContent> <xsd:extension base="tns:tActivityData"> <xsd:sequence> <xsd:element name="endpoint" type="xsd:string"/> <xsd:element name="direction" type="xsd:string"/> <xsd:element name="adapterType" type="xsd:string"/> <xsd:element name="priority" type="xsd:string" minOccurs="0"/> <xsd:element name="messageSize" type="xsd:string" minOccurs="0"/> </xsd:sequence> </xsd:extension> </xsd:complexContent> </xsd:complexType> <!-- The header of the document contains some metadata. --> <xsd:complexType name="tSensorActionHeader"> <xsd:sequence> <xsd:element name="processName" type="xsd:string"/> <xsd:element name="processVersion" type="xsd:string"/> <xsd:element name="processID" type="xsd:long"/> <xsd:element name="midTierInstance" type="xsd:string"/> </xsd:sequence> <xsd:attribute name="actionName" use="required" type="xsd:string"/> </xsd:complexType> <!-- Sensor Action data is presented in the form of a header and potentially many data elements depending on how many sensors associated to the sensor action marked the data as interesting. --> <xsd:complexType name="tSensorActionData"> <xsd:sequence> <xsd:element name="header" type="tns:tHeaderInfo"/> <xsd:element name="payload" type="tns:tSensorData" minOccurs="1" maxOccurs="1"/> </xsd:sequence> </xsd:complexType> <!-- <xsd:simpleType name="tActivityEvalPoint"> <xsd:restriction> <xsd:enumeration value="start"/> <xsd:enumeration value="complete"/> <xsd:enumeration value="fault"/> <xsd:enumeration value="compensate"/> <xsd:enumeration value="retry"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="tNotificationAction"> <xsd:restriction> <xsd:enumeration value="creation"/> <xsd:enumeration value="statusUpdate"/> </xsd:restriction> </xsd:simpleType> --> <!-- The process sensor value header comprises of a timestamp where the sensor was triggered and the sensor metadata --> <xsd:complexType name="tProcessSensorValueHeader"> <xsd:sequence> <xsd:element name="timestamp" type="xsd:dateTime"/> <xsd:element ref="tns:sensor"/> </xsd:sequence> </xsd:complexType> <!-- Extend tActivityData to include more elements --> <xsd:complexType name="tProcessActivityData"> <xsd:complexContent> <xsd:extension base="tns:tActivityData"> <xsd:sequence> <xsd:element name="creationDate" type="xsd:dateTime" minOccurs="0" maxOccurs="1"/> <xsd:element name="modifyDate" type="xsd:dateTime" minOccurs="0" maxOccurs="1"/> <xsd:element name="evalTime" type="xsd:long" minOccurs="0" maxOccurs="1"/> <xsd:element name="retryCount" type="xsd:int" minOccurs="0" maxOccurs="1"/> </xsd:sequence> </xsd:extension> </xsd:complexContent> </xsd:complexType> <!-- Extend tVariableData to include more elements --> <xsd:complexType name="tProcessVariableData"> <xsd:complexContent> <xsd:extension base="tns:tVariableData"> <xsd:sequence> <xsd:element name="creationDate" type="xsd:dateTime" minOccurs="0" maxOccurs="1"/> <xsd:element name="modifyDate" type="xsd:dateTime" minOccurs="0" maxOccurs="1"/> </xsd:sequence> </xsd:extension> </xsd:complexContent> </xsd:complexType> <!-- Extend tFaultData to include more elements --> <xsd:complexType name="tProcessFaultData"> <xsd:complexContent> <xsd:extension base="tns:tFaultData"> <xsd:sequence> <xsd:element name="creationDate" type="xsd:dateTime" minOccurs="0" maxOccurs="1"/> <xsd:element name="modifyDate" type="xsd:dateTime" minOccurs="0" maxOccurs="1"/> </xsd:sequence> </xsd:extension> </xsd:complexContent> </xsd:complexType> <!-- Extend tAdapterData to include more elements --> <xsd:complexType name="tProcessAdapterData"> <xsd:complexContent> <xsd:extension base="tns:tAdapterData"> <xsd:sequence> <xsd:element name="creationDate" type="xsd:dateTime" minOccurs="0" maxOccurs="1"/> <xsd:element name="modifyDate" type="xsd:dateTime" minOccurs="0" maxOccurs="1"/> </xsd:sequence> </xsd:extension> </xsd:complexContent> </xsd:complexType> <!-- Extend tNotificationData to include more elements --> <xsd:complexType name="tProcessNotificationData"> <xsd:complexContent> <xsd:extension base="tns:tNotificationData"> <xsd:sequence> <xsd:element name="creationDate" type="xsd:dateTime" minOccurs="0" maxOccurs="1"/> <xsd:element name="modifyDate" type="xsd:dateTime" minOccurs="0" maxOccurs="1"/> </xsd:sequence> </xsd:extension> </xsd:complexContent> </xsd:complexType> <!-- Copy of tSensorData type with some modified types. --> <xsd:complexType name="tProcessSensorData"> <xsd:sequence> <xsd:element name="activityData" type="tns:tProcessActivityData" minOccurs="0"/> <xsd:element name="faultData" type="tns:tProcessFaultData" minOccurs="0"/> <xsd:element name="adapterData" minOccurs="0" type="tns:tProcessAdapterData"/> <xsd:element name="variableData" type="tns:tProcessVariableData" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="notificationData" type="tns:tProcessNotificationData" minOccurs="0"/> </xsd:sequence> </xsd:complexType> <!-- A single process sensor value comprises of the sensor value metadata (sensor and timestamp) and the payload (the value) of the sensor --> <xsd:complexType name="tProcessSensorValue"> <xsd:sequence> <xsd:element name="header" type="tns:tProcessSensorValueHeader"/> <xsd:element name="payload" type="tns:tProcessSensorData"/> </xsd:sequence> </xsd:complexType> <!-- Process instance header. --> <xsd:complexType name="tProcessInstanceInfo"> <xsd:sequence> <xsd:element name="processName" type="xsd:string"/> <xsd:element name="processRevision" type="xsd:string"/> <xsd:element name="domain" type="xsd:string"/> <xsd:element name="instanceId" type="xsd:integer"/> </xsd:sequence> </xsd:complexType> <!-- The list of sensor values comprises of a process header describing the BPEL process with name, cube instance id etc. and a list of sensor values comprising of sensor metadata information and sensor values. --> <xsd:complexType name="tProcessSensorValueList"> <xsd:sequence> <xsd:element name="process" type="tns:tProcessInstanceInfo" minOccurs="1" maxOccurs="1"/> <xsd:element name="sensorValue" type="tns:tProcessSensorValue" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType> <!-- The sensor list is the root element of the sensor.xml document in the bpel process suitcase and is used to define sensors. --> <xsd:element name="sensors" type="tns:tSensorList"/> <!-- A sensor is used to monitor a particular aspect of a bpel process --> <xsd:element name="sensor" type="tns:tSensor"/> <!-- The actions element is the root element of the sensorAction.xml document in the bpel process suitcase and is used to define sensor actions. Sensor actions define how to publish data captured by sensors --> <xsd:element name="actions" type="tns:tSensorActionList"/> <!-- actionData elements are produced by the sensor framework and sent to the appropriate data publishers when sensors 'fire' --> <xsd:element name="actionData" type="tns:tSensorActionData"/> <!-- This element is used when the client API is used to query sensor values stored in the default reports schema --> <xsd:element name="sensorValues" type="tns:tProcessSensorValueList"/> </xsd:schema>