ALF/Vocabularies/Requirements Management/Event WSDL

From Eclipsepedia

< ALF
Jump to: navigation, search

Rquirements Management Event WSDL

see also Schema

see also ServiceWSDL

see also Event Base Schema

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="RMEvents_1"
	xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
	xmlns:xs="http://www.w3.org/2001/XMLSchema"
	xmlns:evt="http://www.eclipse.org/alf/schema/EventBase/1"
	targetNamespace="http://www.eclipse.org/alf/schema/EventBase/1"
	xmlns:tns="http://www.eclipse.org/alf/schema/EventBase/1"
	xmlns:evc="http://www.eclipse.org/alf/schema/RMVocabulary/1">

	<wsdl:documentation>
		WARNING: PRELIMINARY VERSION SUBJECT TO CHANGE

		Copyright Notice The material in this document is Copyright (c)
		Serena Software, Inc. and others, 2005, 2006, 2007 Terms and
		Conditions: The Eclipse Foundation makes available all content
		in this document ("Content"). Unless otherwise indicated below,
		the Content is provided to you under the terms and conditions of
		the Eclipse Public License Version 1.0 ("EPL"). A copy of the
		EPL is available at http://www.eclipse.org/legal/epl-v10.html.
		For purposes of the EPL, "Program" will mean the Content. If you
		did not receive this Content directly from the Eclipse
		Foundation, the Content is being redistributed by another party
		("Redistributor") and different terms and conditions may apply
		to your use of any object code in the Content. Check the
		Redistributor's license that was provided with the Content. If
		you did not receive any such license, contact the Redistributor.
		Unless otherwise indicated below, the terms and conditions of
		the EPL still apply to the Content.
	</wsdl:documentation>

	<!-- ALF EventManager WSDL -->
	<wsdl:import location="ALFEventManager_1.wsdl"
		namespace="http://www.eclipse.org/alf/schema/EventBase/1">
	</wsdl:import>

	<wsdl:types>

		<!-- RM Vocabulary Detail
			Generally, extension schemas such as this would be imported.
			This is defined in-line for simplicity. 
		-->
		<xs:schema
			xmlns="http://www.eclipse.org/alf/schema/RMVocabulary/1"
			elementFormDefault="qualified"
			targetNamespace="http://www.eclipse.org/alf/schema/RMVocabulary/1">

			<xs:include schemaLocation="RMTypes_1.xsd" />

		</xs:schema>

		<!-- ALF Event Schema derived types -->
		<xs:schema xmlns="http://www.eclipse.org/alf/schema/EventBase/1"
			elementFormDefault="qualified"
			targetNamespace="http://www.eclipse.org/alf/schema/EventBase/1">

			<xs:include schemaLocation="ALFEventBase_1.xsd" />

			<xs:import
				namespace="http://www.eclipse.org/alf/schema/RMVocabulary/1" />

			<!-- RM Vocabulary Type restrictions -->
			<xs:simpleType name="RMRequirementEventTypesType">
				<xs:restriction base="evt:EventTypeType">
					<xs:enumeration value="create" />
					<xs:enumeration value="update" />
					<xs:enumeration value="delete" />
				</xs:restriction>
			</xs:simpleType>

			<xs:simpleType name="RMLinkEventTypesType">
				<xs:restriction base="evt:EventTypeType">
					<xs:enumeration value="create" />
					<xs:enumeration value="delete" />
				</xs:restriction>
			</xs:simpleType>

			<xs:simpleType name="RMCommentEventTypesType">
				<xs:restriction base="evt:EventTypeType">
					<xs:enumeration value="added" />
				</xs:restriction>
			</xs:simpleType>

			<xs:simpleType name="RMChangeProposalEventTypesType">
				<xs:restriction base="evt:EventTypeType">
					<xs:enumeration value="raised" />
					<xs:enumeration value="rejected" />
					<xs:enumeration value="accepted" />
				</xs:restriction>
			</xs:simpleType>

			<xs:simpleType name="RMObjectTypesType">
				<xs:restriction base="evt:ObjectTypeType">
					<xs:enumeration value="Requirement" />
					<xs:enumeration value="Link" />
					<xs:enumeration value="Comment" />
					<xs:enumeration value="ChangeProposal" />
				</xs:restriction>
			</xs:simpleType>

			<xs:complexType name="RMRequirementEventBaseType">
				<xs:annotation>
					<xs:documentation></xs:documentation>
				</xs:annotation>
				<xs:complexContent>
					<xs:restriction base="EventBaseType">
						<xs:sequence>
							<xs:element name="EventId"
								type="EventIdType" />
							<xs:element name="Timestamp"
								type="TimestampType" />
							<xs:element name="EventType"
								type="RMRequirementEventTypesType" />
							<xs:element name="ObjectType"
								type="RMObjectTypesType" fixed="Requirement" />
							<xs:element name="ObjectId"
								type="ObjectIdType" /><!-- requirementId -->
							<xs:element name="Source" type="SourceType" />
							<xs:element name="User"
								type="CredentialsType" />
							<xs:element name="EventControl"
								type="EmBaseType" />
							<xs:element minOccurs="0"
								name="BaseExtension" type="BaseExtensionType" />
						</xs:sequence>
						<xs:anyAttribute />
					</xs:restriction>
				</xs:complexContent>
			</xs:complexType>

			<xs:complexType name="RMLinkEventBaseType">
				<xs:annotation>
					<xs:documentation></xs:documentation>
				</xs:annotation>
				<xs:complexContent>
					<xs:restriction base="EventBaseType">
						<xs:sequence>
							<xs:element name="EventId"
								type="EventIdType" />
							<xs:element name="Timestamp"
								type="TimestampType" />
							<xs:element name="EventType"
								type="RMLinkEventTypesType" />
							<xs:element name="ObjectType"
								type="RMObjectTypesType" fixed="Link" />
							<xs:element name="ObjectId"
								type="ObjectIdType" /><!-- linkId -->
							<xs:element name="Source" type="SourceType" />
							<xs:element name="User"
								type="CredentialsType" />
							<xs:element name="EventControl"
								type="EmBaseType" />
							<xs:element minOccurs="0"
								name="BaseExtension" type="BaseExtensionType" />
						</xs:sequence>
						<xs:anyAttribute />
					</xs:restriction>
				</xs:complexContent>
			</xs:complexType>

			<xs:complexType name="RMCommentEventBaseType">
				<xs:annotation>
					<xs:documentation></xs:documentation>
				</xs:annotation>
				<xs:complexContent>
					<xs:restriction base="EventBaseType">
						<xs:sequence>
							<xs:element name="EventId"
								type="EventIdType" />
							<xs:element name="Timestamp"
								type="TimestampType" />
							<xs:element name="EventType"
								type="RMCommentEventTypesType" />
							<xs:element name="ObjectType"
								type="RMObjectTypesType" fixed="Comment" />
							<xs:element name="ObjectId"
								type="ObjectIdType" /><!-- commentId -->
							<xs:element name="Source" type="SourceType" />
							<xs:element name="User"
								type="CredentialsType" />
							<xs:element name="EventControl"
								type="EmBaseType" />
							<xs:element minOccurs="0"
								name="BaseExtension" type="BaseExtensionType" />
						</xs:sequence>
						<xs:anyAttribute />
					</xs:restriction>
				</xs:complexContent>
			</xs:complexType>

			<xs:complexType name="RMChangeProposalEventBaseType">
				<xs:annotation>
					<xs:documentation></xs:documentation>
				</xs:annotation>
				<xs:complexContent>
					<xs:restriction base="EventBaseType">
						<xs:sequence>
							<xs:element name="EventId"
								type="EventIdType" />
							<xs:element name="Timestamp"
								type="TimestampType" />
							<xs:element name="EventType"
								type="RMChangeProposalEventTypesType" />
							<xs:element name="ObjectType"
								type="RMObjectTypesType" fixed="ChangeProposal" />
							<xs:element name="ObjectId"
								type="ObjectIdType" /><!-- changeProposalId -->
							<xs:element name="Source" type="SourceType" />
							<xs:element name="User"
								type="CredentialsType" />
							<xs:element name="EventControl"
								type="EmBaseType" />
							<xs:element minOccurs="0"
								name="BaseExtension" type="BaseExtensionType" />
						</xs:sequence>
						<xs:anyAttribute />
					</xs:restriction>
				</xs:complexContent>
			</xs:complexType>

			<xs:complexType name="RMRequirementALFEventType">
				<xs:sequence>
					<xs:element name="Base"
						type="RMRequirementEventBaseType" />
					<xs:element minOccurs="0" name="Detail"
						type="evc:RMVocabularyDetail" />
					<xs:element minOccurs="0" name="Extension"
						type="CustomExtensionType" />
					<xs:any maxOccurs="unbounded" minOccurs="0"
						namespace="##other" processContents="lax" />
				</xs:sequence>
				<xs:attribute default="1.0" name="version"
					type="ALFSchemaVersionType" />
			</xs:complexType>

			<xs:complexType name="RMLinkALFEventType">
				<xs:sequence>
					<xs:element name="Base" type="RMLinkEventBaseType" />
					<xs:element minOccurs="0" name="Detail"
						type="evc:RMVocabularyDetail" />
					<xs:element minOccurs="0" name="Extension"
						type="CustomExtensionType" />
					<xs:any maxOccurs="unbounded" minOccurs="0"
						namespace="##other" processContents="lax" />
				</xs:sequence>
				<xs:attribute default="1.0" name="version"
					type="ALFSchemaVersionType" />
			</xs:complexType>

			<xs:complexType name="RMCommentALFEventType">
				<xs:sequence>
					<xs:element name="Base"
						type="RMCommentEventBaseType" />
					<xs:element minOccurs="0" name="Detail"
						type="evc:RMVocabularyDetail" />
					<xs:element minOccurs="0" name="Extension"
						type="CustomExtensionType" />
					<xs:any maxOccurs="unbounded" minOccurs="0"
						namespace="##other" processContents="lax" />
				</xs:sequence>
				<xs:attribute default="1.0" name="version"
					type="ALFSchemaVersionType" />
			</xs:complexType>

			<xs:complexType name="RMChangeProposalALFEventType">
				<xs:sequence>
					<xs:element name="Base"
						type="RMChangeProposalEventBaseType" />
					<xs:element minOccurs="0" name="Detail"
						type="evc:RMVocabularyDetail" />
					<xs:element minOccurs="0" name="Extension"
						type="CustomExtensionType" />
					<xs:any maxOccurs="unbounded" minOccurs="0"
						namespace="##other" processContents="lax" />
				</xs:sequence>
				<xs:attribute default="1.0" name="version"
					type="ALFSchemaVersionType" />
			</xs:complexType>

			<!-- End RM Vocabulary Type restrictions -->

		</xs:schema>



	</wsdl:types>

	<!-- RM Vocabulary ServiceFlow Messages, Ports and Bindings defintions -->
	<wsdl:message name="RMRequirementEventNotice">
		<wsdl:documentation>
			RM Requirement EventNotice message
		</wsdl:documentation>
		<wsdl:part name="EventNotice"
			type="tns:RMRequirementALFEventType" />
	</wsdl:message>

	<wsdl:message name="RMLinkEventNotice">
		<wsdl:documentation>
			RM Link EventNotice message
		</wsdl:documentation>
		<wsdl:part name="EventNotice" type="tns:RMLinkALFEventType" />
	</wsdl:message>

	<wsdl:message name="RMCommentEventNotice">
		<wsdl:documentation>
			RM Comment EventNotice message
		</wsdl:documentation>
		<wsdl:part name="EventNotice" type="tns:RMCommentALFEventType" />
	</wsdl:message>

	<wsdl:message name="RMChangeProposalEventNotice">
		<wsdl:documentation>
			RM ChangeProposal EventNotice message
		</wsdl:documentation>
		<wsdl:part name="EventNotice"
			type="tns:RMChangeProposalALFEventType" />
	</wsdl:message>

	<wsdl:portType name="RMRequirementALFServiceFlow">
		<wsdl:documentation>
			Derived ServiceFlow port
		</wsdl:documentation>
		<wsdl:operation name="EventNotice">
			<wsdl:input message="tns:RMRequirementEventNotice" />
		</wsdl:operation>
	</wsdl:portType>

	<wsdl:portType name="RMLinkALFServiceFlow">
		<wsdl:documentation>
			Derived ServiceFlow port
		</wsdl:documentation>
		<wsdl:operation name="EventNotice">
			<wsdl:input message="tns:RMLinkEventNotice" />
		</wsdl:operation>
	</wsdl:portType>

	<wsdl:portType name="RMCommentALFServiceFlow">
		<wsdl:documentation>
			Derived ServiceFlow port
		</wsdl:documentation>
		<wsdl:operation name="EventNotice">
			<wsdl:input message="tns:RMLinkEventNotice" />
		</wsdl:operation>
	</wsdl:portType>

	<wsdl:portType name="RMChangeProposalALFServiceFlow">
		<wsdl:documentation>
			Derived ServiceFlow port
		</wsdl:documentation>
		<wsdl:operation name="EventNotice">
			<wsdl:input message="tns:RMChangeProposalEventNotice" />
		</wsdl:operation>
	</wsdl:portType>

	<wsdl:binding name="RMRequirementALFServiceFlowSOAP"
		type="tns:RMRequirementALFServiceFlow">
		<wsdl:documentation>
			Derived ServiceFlow binding
		</wsdl:documentation>
		<soap:binding style="rpc"
			transport="http://schemas.xmlsoap.org/soap/http" />
		<wsdl:operation name="EventNotice">
			<soap:operation soapAction="" />
			<wsdl:input>
				<soap:body use="literal"
					namespace="http://www.eclipse.org/alf/schema/EventBase/1" />
			</wsdl:input>
		</wsdl:operation>
	</wsdl:binding>

	<wsdl:binding name="RMCommentALFServiceFlowSOAP"
		type="tns:RMCommentALFServiceFlow">
		<wsdl:documentation>
			Derived ServiceFlow binding
		</wsdl:documentation>
		<soap:binding style="rpc"
			transport="http://schemas.xmlsoap.org/soap/http" />
		<wsdl:operation name="EventNotice">
			<soap:operation soapAction="" />
			<wsdl:input>
				<soap:body use="literal"
					namespace="http://www.eclipse.org/alf/schema/EventBase/1" />
			</wsdl:input>
		</wsdl:operation>
	</wsdl:binding>

	<wsdl:binding name="RMLinkALFServiceFlowSOAP"
		type="tns:RMLinkALFServiceFlow">
		<wsdl:documentation>
			Derived ServiceFlow binding
		</wsdl:documentation>
		<soap:binding style="rpc"
			transport="http://schemas.xmlsoap.org/soap/http" />
		<wsdl:operation name="EventNotice">
			<soap:operation soapAction="" />
			<wsdl:input>
				<soap:body use="literal"
					namespace="http://www.eclipse.org/alf/schema/EventBase/1" />
			</wsdl:input>
		</wsdl:operation>
	</wsdl:binding>

	<wsdl:binding name="RMChangeProposalALFServiceFlowSOAP"
		type="tns:RMChangeProposalALFServiceFlow">
		<wsdl:documentation>
			Derived ServiceFlow binding
		</wsdl:documentation>
		<soap:binding style="rpc"
			transport="http://schemas.xmlsoap.org/soap/http" />
		<wsdl:operation name="EventNotice">
			<soap:operation soapAction="" />
			<wsdl:input>
				<soap:body use="literal"
					namespace="http://www.eclipse.org/alf/schema/EventBase/1" />
			</wsdl:input>
		</wsdl:operation>
	</wsdl:binding>
	<!-- End RM Vocabulary ServiceFlow Messages Ports and Bindings defintions -->

	<!-- Example RM Vocabulary ServiceFlow definitions -->
	<wsdl:service name="RMRequirementALFServiceFlow">
		<wsdl:documentation>
			Example Derived ServiceFlow service
		</wsdl:documentation>
		<wsdl:port binding="tns:RMRequirementALFServiceFlowSOAP"
			name="RMALFServiceFlowSOAP">
			<soap:address
				location="http://localhost:8080/ALFServiceFlowEngine/services/RMRequirementALFServiceFlowSOAP" />
		</wsdl:port>
	</wsdl:service>

	<wsdl:service name="RMLinkALFServiceFlow">
		<wsdl:documentation>
			Example Derived ServiceFlow service
		</wsdl:documentation>
		<wsdl:port binding="tns:RMLinkALFServiceFlowSOAP"
			name="RMALFServiceFlowSOAP">
			<soap:address
				location="http://localhost:8080/ALFServiceFlowEngine/services/RMLinkALFServiceFlowSOAP" />
		</wsdl:port>
	</wsdl:service>

	<wsdl:service name="RMCommentALFServiceFlow">
		<wsdl:documentation>
			Example Derived ServiceFlow service
		</wsdl:documentation>
		<wsdl:port binding="tns:RMCommentALFServiceFlowSOAP"
			name="RMALFServiceFlowSOAP">
			<soap:address
				location="http://localhost:8080/ALFServiceFlowEngine/services/RMCommentALFServiceFlowSOAP" />
		</wsdl:port>
	</wsdl:service>

	<wsdl:service name="RMChangeProposalALFServiceFlow">
		<wsdl:documentation>
			Example Derived ServiceFlow service
		</wsdl:documentation>
		<wsdl:port binding="tns:RMChangeProposalALFServiceFlowSOAP"
			name="RMALFServiceFlowSOAP">
			<soap:address
				location="http://localhost:8080/ALFServiceFlowEngine/services/RMChangeProposalALFServiceFlowSOAP" />
		</wsdl:port>
	</wsdl:service>
	<!-- End Example RM Vocabulary ServiceFlow definitions -->

</wsdl:definitions>