ステップ・エレメントの XML スキーマ
Component Integrator Java™ Message Service (JMS) アダプターは、外部 JMS キューに XML 文字列を送信します。ステップ・エレメントの XML スキーマは、これらの XML 文字列の形式です。 XML 文字列は、JMS アダプターをアクティブにするワークフロー・ステップ用の StepElement オブジェクトを表します。
Component Integrator の JMS アダプターの動作方法の詳細については、コンポーネント・キューの処理方法を参照してください。
JMS Adapter は次のようにフォーマットした XML 文字列に、JMS コンポーネント・ステップ用のメッセージ情報を格納し、送信します。
- 通常、JMS アダプターは、Java コンポーネント・ステップのオペレーションのパラメーター値を、Values エレメント・リストに格納します。この規則の例外は、添付オブジェクトを格納するように定義されているパラメーターです。添付オブジェクトは、Attachments エレメント・リストに格納されます。
- JMS アダプターは、オペレーションのイベント名 (またはメッセージ名) を、stepElement のフォーマットされた XML 文字列の StepName 属性に格納します。
ステップ・エレメントの XML スキーマの形式は次のとおりです。
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns="http://filenet.com/namespaces/apps/eprocess/runtime/1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://filenet.com/namespaces/apps/eprocess/runtime/1.0" elementFormDefault="qualified" id="StepElement">
<xsd:complexType name="FnEpAttachment">
<xsd:attribute name="Name" type="xsd:string"/>
<xsd:attribute name="Description" type="xsd:string"/>
<xsd:attribute name="Library" type="xsd:string"/>
<xsd:attribute name="Id" type="xsd:string"/>
<xsd:attribute name="LibraryType" type="xsd:string"/>
<xsd:attribute name="Type" type="xsd:string"/>
<xsd:attribute name="Version" type="xsd:string"/>
</xsd:complexType>
<xsd:complexType name="FnEpAttachmentList">
<xsd:sequence>
<xsd:element name="Attachment" type="FnEpAttachment" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="FnEpParameter">
<xsd:sequence>
<xsd:choice minOccurs="0">
<xsd:element name="Values" type="FnEpValueList" minOccurs="0"/>
</xsd:choice>
<xsd:choice minOccurs="0">
<xsd:element name=Attachments" type="FnEpAttachmentList" minOccurs="0"/>
</xsd:choice>
</xsd:sequence>
<xsd:attribute name="Name" type="xsd:string" use="required"/>
<xsd:attribute name="AuthoredName" type="xsd:string"/>
<xsd:attribute name="Description" type="xsd:string"/>
<xsd:attribute name="Type" default="string">
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="boolean"/>
<xsd:enumeration value="float"/>
<xsd:enumeration value="int"/>
<xsd:enumeration value="string"/>
<xsd:enumeration value="time"/>
<xsd:enumeration value="attachment"/>
<xsd:enumeration value="participant"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="IsSystemParameter" type="xsd:boolean" default="false"/>
<xsd:attribute name="Mode" default="in">
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="in"/>
<xsd:enumeration value="out"/>
<xsd:enumeration value="inout"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="IsArray" type="xsd:boolean" default="false"/>
</xsd:complexType>
<xsd:complexType name="FnEpParameterList">
<xsd:sequence>
<xsd:element name="Parameter" type="FnEpParameter" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="FnEpResponseList">
<xsd:sequence>
<xsd:element name="Response" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="Selected" type="xsd:string"/>
</xsd:complexType>
<xsd:complexType name="FnEpValueList">
<xsd:sequence>
<xsd:element name="Value" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="FnEpStepElement">
<xsd:sequence>
<xsd:element name="Responses" type="FnEpResponseList"/>
<xsd:element name="Parameters" type="FnEpParameterList"/>
<xsd:element name="Originator" type="FnEpParticipant"/>
</xsd:sequence>
<xsd:attribute name="LaunchedBy" type="xsd:string"/>
<xsd:attribute name="LaunchedOn" type="xsd:string"/>
<xsd:attribute name="ReceivedOn" type="xsd:string"/>
<xsd:attribute name="Deadline" type="xsd:string"/>
<xsd:attribute name="Reminder" type="xsd:string"/>
<xsd:attribute name="Description" type="xsd:string"/>
<xsd:attribute name="StepName" type="xsd:string" />
<xsd:attribute name="WOBName" type="xsd:string"/>
<xsd:attribute name="WOBNumber" type="xsd:string"/>
<xsd:attribute name="WorkflowName" type="xsd:string"/>
<xsd:attribute name="WorkflowNumber" type="xsd:string"/>
<xsd:attribute name="WorkClassName" type="xsd:string"/>
<xsd:attribute name="Tag" type="xsd:string"/>
<xsd:attribute name="RosterName" type="xsd:string"/>
<xsd:attribute name="QueueName" type="xsd:string"/>
<xsd:attribute name="CurrentQueueName" type="xsd:string"/>
<xsd:attribute name="ParticipantName" type="xsd:string"/>
<xsd:attribute name="OperationName" type="xsd:string"/>
<xsd:attribute name="ExceptionMapName" type="xsd:string"/>
<xsd:attribute name="ExceptionDescription" type="xsd:string"/>
<xsd:attribute name="Overdue" default="NotOverdue">
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="NotOverdue"/>
<xsd:enumeration value="ReminderPast"/>
<xsd:enumeration value="DeadlinePast"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="IsTracker" type="xsd:boolean" default="false"/>
<xsd:attribute name="CanReassign" type="xsd:boolean" default="true"/>
<xsd:attribute name="CanViewStatus" type="xsd:boolean" default="true"/>
<xsd:attribute name="CanReturnToSource" type="xsd:boolean" default="true"/>
</xsd:complexType>
<xsd:element name="StepElement" type="FnEpStepElement"/>
<xsd:complexType name="FnEpParticipant">
<xsd:sequence>
<xsd:element name="Value">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="DistinguishedName" type="xsd:string"/>
<xsd:attribute name="DisplayName" type="xsd:string"/>
<xsd:attribute name="GUID" type="xsd:string"/>
<xsd:attribute name="Id" type="xsd:string"/>
<xsd:attribute name="DomainName" type="xsd:string"/>
<xsd:attribute name="IsGroup"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>