<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id: QueryManagement.wsdl,v 1.5 2008/06/11 14:41:49 robbod Exp $ -->
<!--
	PLCS PLM Webservices 
	Author: 		Jonas Rosen, Eurostep Group
	Owner:  	Developed by Eurostep and supplied to PLCS OASIS TC.
	Purpose: 	PLCS PLM Query management services
	Specification document:: ../../docs/PLCSPLMWebServicesDefinitions.doc
-->
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:plm="http://www.plcs.org/PLMServices" xmlns:h="http://www.plcs.org/Headers" xmlns:sys="http://www.plcs.org/System" xmlns:query="http://www.plcs.org/Query" xmlns:systypes="http://www.plcs.org/System/Types" xmlns:ns="http://www.plcs.org/PLMServices/Types" targetNamespace="http://www.plcs.org/PLMServices">
	<types>
		<xs:schema elementFormDefault="qualified">
			<xs:import namespace="http://www.plcs.org/Headers" schemaLocation="../xsd/Headers.xsd"/>
			<xs:import namespace="http://www.plcs.org/Query" schemaLocation="../xsd/Query/QueryMsg.xsd"/>
			<!--<xs:import namespace="http://www.plcs.org/System/Types" schemaLocation="../xsd/System.xsd"/>-->
		</xs:schema>
	</types>
	<message name="AuthenticateAuthHeader">
		<part name="AuthHeader" element="h:AuthHeader"/>
	</message>
	<message name="PLM_objectFilterHeader">
		<part name="FilterHeader" element="h:BusinessObjectFilter"/>
	</message>
	<message name="SearchFilterHeader">
		<part name="FilterHeader" element="h:FilterHeader"/>
	</message>
	<message name="Fel">
		<part name="parameter" type="xs:string"/>
	</message>
	<message name="SearchSoapIn">
		<part name="parameters" element="query:Search"/>
	</message>
	<message name="SearchSoapOut">
		<part name="parameters" element="query:SearchResponse"/>
	</message>
	<message name="LoadPLM_objectSoapIn">
		<part name="parameters" element="query:LoadPLM_object"/>
	</message>
	<message name="LoadPLM_objectSoapOut">
		<part name="parameters" element="query:LoadPLM_objectResponse"/>
	</message>
	<message name="GetAllViewDefinitionContextsSoapIn">
		<part name="parameters" element="query:GetAllViewDefinitionContexts"/>
	</message>
	<message name="GetAllViewDefinitionContextsSoapOut">
		<part name="parameters" element="query:GetAllViewDefinitionContextsResponse"/>
	</message>
	<message name="GetAllPropertiesSoapIn">
		<part name="parameters" element="query:GetAllProperties"/>
	</message>
	<message name="GetAllPropertiesSoapOut">
		<part name="parameters" element="query:GetAllPropertiesResponse"/>
	</message>
	<message name="GetAllOrganizationsSoapIn">
		<part name="parameters" element="query:GetAllOrganizations"/>
	</message>
	<message name="GetAllOrganizationsSoapOut">
		<part name="parameters" element="query:GetAllOrganizationsResponse"/>
	</message>
	<message name="GetAllPersonsSoapIn">
		<part name="parameters" element="query:GetAllPersons"/>
	</message>
	<message name="GetAllPersonsSoapOut">
		<part name="parameters" element="query:GetAllPersonsResponse"/>
	</message>
	<message name="GetAllUnitsSoapIn">
		<part name="parameters" element="query:GetAllUnits"/>
	</message>
	<message name="GetAllUnitsSoapOut">
		<part name="parameters" element="query:GetAllUnitsResponse"/>
	</message>
	<message name="GetAllClassificationsSoapIn">
		<part name="parameters" element="query:GetAllClassifications"/>
	</message>
	<message name="GetAllClassificationsSoapOut">
		<part name="parameters" element="query:GetAllClassificationsResponse"/>
	</message>
	<portType name="QueryManagementSoap">
		<operation name="Search">
			<documentation>Some text</documentation>
			<input message="plm:SearchSoapIn"/>
			<output message="plm:SearchSoapOut"/>
			<!--<fault name="FaultName" message="Fault"/>-->
			<!--<fault name="FaultName" message="plm:Fel"/>-->
		</operation>
		<operation name="GetAllClassifications">
			<input message="plm:GetAllClassificationsSoapIn"/>
			<output message="plm:GetAllClassificationsSoapOut"/>
		</operation>
		<operation name="GetAllProperties">
			<input message="plm:GetAllPropertiesSoapIn"/>
			<output message="plm:GetAllPropertiesSoapOut"/>
		</operation>
		<operation name="GetAllOrganizations">
			<input message="plm:GetAllOrganizationsSoapIn"/>
			<output message="plm:GetAllOrganizationsSoapOut"/>
		</operation>
		<operation name="GetAllViewDefinitionContexts">
			<input message="plm:GetAllViewDefinitionContextsSoapIn"/>
			<output message="plm:GetAllViewDefinitionContextsSoapOut"/>
		</operation>
		<operation name="GetAllPersons">
			<input message="plm:GetAllPersonsSoapIn"/>
			<output message="plm:GetAllPersonsSoapOut"/>
		</operation>
		<operation name="GetAllUnits">
			<input message="plm:GetAllUnitsSoapIn"/>
			<output message="plm:GetAllUnitsSoapOut"/>
		</operation>
		<operation name="LoadPLM_object">
			<documentation xmlns="http://schemas.xmlsoap.org/wsdl/">This method retreives the available projects for this service</documentation>
			<input message="plm:LoadPLM_objectSoapIn"/>
			<output message="plm:LoadPLM_objectSoapOut"/>
			<!--<fault name="FaultName" message="plm:Fel"/>-->
		</operation>
	</portType>
	<binding name="QueryManagementSoap" type="plm:QueryManagementSoap">
		<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
		<operation name="Search">
			<soap:operation soapAction="http://www.plcs.org/PLMServices/QueryManagement/Search" style="document"/>
			<input>
				<soap:body use="literal"/>
				<soap:header message="plm:AuthenticateAuthHeader" part="AuthHeader" use="literal"/>
				<soap:header message="plm:SearchFilterHeader" part="FilterHeader" use="literal"/>
			</input>
			<output>
				<soap:body use="literal"/>
			</output>
			<!--<fault name="FaultName">
				<soap:fault name="FaultName" use="literal"/>
			</fault>-->
		</operation>
		<operation name="GetAllClassifications">
			<soap:operation soapAction="http://www.plcs.org/PLMServices/QueryManagement/GetAllClassifications" style="document"/>
			<input>
				<soap:body use="literal"/>
				<soap:header message="plm:AuthenticateAuthHeader" part="AuthHeader" use="literal"/>
			</input>
			<output>
				<soap:body use="literal"/>
			</output>
		</operation>
		<operation name="GetAllProperties">
			<soap:operation soapAction="http://www.plcs.org/PLMServices/QueryManagement/GetAllProperties" style="document"/>
			<input>
				<soap:body use="literal"/>
				<soap:header message="plm:AuthenticateAuthHeader" part="AuthHeader" use="literal"/>
			</input>
			<output>
				<soap:body use="literal"/>
			</output>
		</operation>
		<operation name="GetAllOrganizations">
			<soap:operation soapAction="http://www.plcs.org/PLMServices/QueryManagement/GetAllOrganizations" style="document"/>
			<input>
				<soap:body use="literal"/>
				<soap:header message="plm:SearchFilterHeader" part="FilterHeader" use="literal"/>
				<soap:header message="plm:AuthenticateAuthHeader" part="AuthHeader" use="literal"/>
			</input>
			<output>
				<soap:body use="literal"/>
			</output>
		</operation>
		<operation name="GetAllViewDefinitionContexts">
			<soap:operation soapAction="http://www.plcs.org/PLMServices/QueryManagement/GetAllViewDefinitionContexts" style="document"/>
			<input>
				<soap:body use="literal"/>
				<soap:header message="plm:AuthenticateAuthHeader" part="AuthHeader" use="literal"/>
			</input>
			<output>
				<soap:body use="literal"/>
			</output>
		</operation>
		<operation name="GetAllPersons">
			<soap:operation soapAction="http://www.plcs.org/PLMServices/QueryManagement/GetAllPersons" style="document"/>
			<input>
				<soap:body use="literal"/>
				<soap:header message="plm:SearchFilterHeader" part="FilterHeader" use="literal"/>
				<soap:header message="plm:AuthenticateAuthHeader" part="AuthHeader" use="literal"/>
			</input>
			<output>
				<soap:body use="literal"/>
			</output>
		</operation>
		<operation name="GetAllUnits">
			<soap:operation soapAction="http://www.plcs.org/PLMServices/QueryManagement/GetAllUnits" style="document"/>
			<input>
				<soap:body use="literal"/>
				<soap:header message="plm:AuthenticateAuthHeader" part="AuthHeader" use="literal"/>
			</input>
			<output>
				<soap:body use="literal"/>
			</output>
		</operation>
		<operation name="LoadPLM_object">
			<soap:operation soapAction="http://www.plcs.org/PLMServices/QueryManagement/LoadPLM_object" style="document"/>
			<input>
				<soap:body use="literal"/>
				<soap:header message="plm:AuthenticateAuthHeader" part="AuthHeader" use="literal"/>
				<soap:header message="plm:PLM_objectFilterHeader" part="FilterHeader" use="literal"/>
			</input>
			<output>
				<soap:body use="literal"/>
			</output>
			<!--<fault name="FaultName">
				<soap:fault name="FaultName" use="literal"/>
			</fault>-->
		</operation>
	</binding>
	<service name="QueryManagement">
		<port name="QueryManagementSoap" binding="plm:QueryManagementSoap">
			<soap:address location="http://www.share-a-space.com/PLCSPLMServices/Service.asmx"/>
		</port>
	</service>
	<!--
	 The service tag can be omitted.
	-->
</definitions>
