<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<wsdl:definitions  
	xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	name="LicenseService" 
	xmlns:cs="http://dt2.eck.nl/schema/licenseservice/v2.5.2"
	xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata"
	xmlns:tns="http://dt2.eck.nl/service/licenseservice/v2.5.2"
	 targetNamespace="http://dt2.eck.nl/service/licenseservice/v2.5.2">

	<wsdl:types>
		<xsd:schema elementFormDefault="qualified"
			targetNamespace="http://dt2.eck.nl/schema/licenseservice/v2.5.2">
			<xsd:include schemaLocation="../xsd/ECK-DT2-LicenseServiceSchema-v2.5.2.xsd"/>
		</xsd:schema>
	</wsdl:types>
	
	
   <wsdl:message name="ReadUserLicense">
       <wsdl:documentation>Licenties van bepaalde gebruiker verkrijgen</wsdl:documentation>
       <wsdl:part name="parameters" element="cs:ReadUserLicense" />
   </wsdl:message>
   
   <wsdl:message name="ReadUserLicenseResult">
       <wsdl:documentation>Licenties van een bepaalde gebruiker verschaffen</wsdl:documentation>
       <wsdl:part name="parameters" element="cs:ReadUserLicenseResult" />
   </wsdl:message>   

   
    <wsdl:message name="ReadOrganisationLicense">
       <wsdl:documentation>Licenties van bepaalde organisatie verkrijgen</wsdl:documentation>
       <wsdl:part name="parameters" element="cs:ReadOrganisationLicense" />
   </wsdl:message>
   
   <wsdl:message name="ReadOrganisationLicenseResult">
       <wsdl:documentation>Licenties van een bepaalde organisatie verschaffen</wsdl:documentation>
       <wsdl:part name="parameters" element="cs:ReadOrganisationLicenseResult" />
   </wsdl:message>   

    <wsdl:message name="BlockUserLicense">
       <wsdl:documentation>Blokkeren van licenties voor gebruiker </wsdl:documentation>
       <wsdl:part name="parameters" element="cs:BlockUserLicense" />
   </wsdl:message>
   
   <wsdl:message name="BlockUserLicenseResult">
       <wsdl:documentation>Bevestiging van blokkering van licenties voor gebruiker </wsdl:documentation>
       <wsdl:part name="parameters" element="cs:BlockUserLicenseResult" />
   </wsdl:message>   
   
     <wsdl:message name="CorrectBlockUserLicense">
       <wsdl:documentation>Correctie van blokkering voor een aantal van betreffend product voor individu </wsdl:documentation>
       <wsdl:part name="parameters" element="cs:CorrectBlockUserLicense" />
   </wsdl:message>
   
   <wsdl:message name="CorrectBlockUserLicenseResult">
       <wsdl:documentation>Bevestiging van correctie op blokkering  </wsdl:documentation>
       <wsdl:part name="parameters" element="cs:CorrectBlockUserLicenseResult" />
   </wsdl:message>
   
   
    <wsdl:message name="GetBlockUserResponseReferenceId">
       <wsdl:documentation>Voor het ophalen van de RequestReferenceId die bij een eerdere BlockUserLicenseResult is gebruikt. Dit bericht alleen versturen als er bij een BlockUserLicense een time-out is opgetreden</wsdl:documentation>
       <wsdl:part name="parameters" element="cs:GetBlockUserResponseReferenceId" />
   </wsdl:message>
   
   <wsdl:message name="GetBlockUserResponseReferenceIdResult">
       <wsdl:documentation>Referentie van de uitgevoerde BlockUserLicense. Op basis van een RequestReferenceId en de identiteit van de organisatie die het bericht verstuurde moet een ResponseReferenceId herleid kunnen worden. Deze correlatie geldt op operatieniveau en niet op serviceniveau. </wsdl:documentation>
       <wsdl:part name="parameters" element="cs:GetBlockUserResponseReferenceIdResult" />
   </wsdl:message>   
   
     <wsdl:message name="GetCorrectBlockUserResponseReferenceId">
       <wsdl:documentation>Voor het ophalen van de RequestReferenceId die bij een eerdere CorrectBlockUserLicenseResult is gebruikt. Dit bericht alleen versturen als er bij een BlockUserLicense een time-out is opgetreden.</wsdl:documentation>
       <wsdl:part name="parameters" element="cs:GetCorrectBlockUserResponseReferenceId" />
   </wsdl:message>
   
   <wsdl:message name="GetCorrectBlockUserResponseReferenceIdResult">
       <wsdl:documentation>Referentie van de uitgevoerde CorrectBlockUserLicense. Op basis van een RequestReferenceId en de identiteit van de organisatie die het bericht verstuurde moet een ResponseReferenceId herleid kunnen worden. Deze correlatie geldt op operatieniveau en niet op serviceniveau. </wsdl:documentation>
       <wsdl:part name="parameters" element="cs:GetCorrectBlockUserResponseReferenceIdResult" />
   </wsdl:message>
  
   
	<wsdl:message name="FaultMessage">
		<wsdl:part element="cs:FaultMessage"  name="parameters" />
	</wsdl:message>
	
	
	<wsdl:portType name="ILicenseService">
       <wsdl:operation name="ReadUserLicense">
           <wsdl:documentation>Licenties van bepaalde gebruiker leveren</wsdl:documentation>
           <wsdl:input message="tns:ReadUserLicense" wsam:Action="http://dt2.eck.nl/service/licenseservice/v2.5.2/readuserlicense"/>
           <wsdl:output message="tns:ReadUserLicenseResult" wsam:Action="http://dt2.eck.nl/service/licenseservice/v2.5.2/readuserlicenseresult"/>
       	<wsdl:fault  name="FaultMessage" message="tns:FaultMessage">
       		<wsdl:documentation>Zie ook de technische voorschriften voor foutafhandeling.
			-200	Berichtformaat voldoet niet aan specificatie
			-3  Autorisatiefout
			-2	Authenticatiefout
			-1	Algemene fout
			1	UserId en/of EckId UserId is niet gevuld 
			2	UserId en/of EckId UserId levert geen resultaat op
			3	UserId en/of EckId UserId bestaat niet
			12	ProductId bestaat niet
			40	ToDate ligt voor FromDate
			</wsdl:documentation></wsdl:fault>
       </wsdl:operation>

         <wsdl:operation name="ReadOrganisationLicense">
           <wsdl:documentation>Licenties van bepaalde organisatie leveren</wsdl:documentation>
           <wsdl:input message="tns:ReadOrganisationLicense" wsam:Action="http://dt2.eck.nl/service/licenseservice/v2.5.2/readorganisationlicense"/>
           <wsdl:output message="tns:ReadOrganisationLicenseResult" wsam:Action="http://dt2.eck.nl/service/licenseservice/v2.5.2/readorganisationlicenseresult"/>
       	<wsdl:fault  name="FaultMessage" message="tns:FaultMessage">
       		<wsdl:documentation>Zie ook de technische voorschriften voor foutafhandeling.
       		-200	Berichtformaat voldoet niet aan specificatie
			-3  Autorisatiefout
			-2	Authenticatiefout
			-1	Algemene fout
			5	OrganisationId is niet gevuld
			6	OrganisationId levert geen resultaat op
			12	ProductId bestaat niet
			40	ToDate ligt voor FromDate
			</wsdl:documentation></wsdl:fault>
       </wsdl:operation>
       
       <wsdl:operation name="BlockUserLicense">
           <wsdl:documentation>Blokkeren van licentie voor gebruiker</wsdl:documentation>
           <wsdl:input message="tns:BlockUserLicense"  wsam:Action="http://dt2.eck.nl/service/licenseservice/v2.5.2/blockuserlicense"/>
           <wsdl:output message="tns:BlockUserLicenseResult"  wsam:Action="http://dt2.eck.nl/service/licenseservice/v2.5.2/blockuserlicenseresult"/>
       	<wsdl:fault  name="FaultMessage" message="tns:FaultMessage">
       		<wsdl:documentation>Zie ook de technische voorschriften voor foutafhandeling.
       		-200	Berichtformaat voldoet niet aan specificatie
			-3  Autorisatiefout
			-2	Authenticatiefout
			-1	Algemene fout
			1	UserId en/of EckId UserId is niet gevuld
			2	UserId en/of EckId levert geen resultaat op
			30	StartDate is niet gevuld
			35	RequestReferenceId is niet gevuld
			37	RequestReferenceId is al eerder gebruikt
			62 Te blokkeren SpecificationReferenceId is niet bekend
            63 Geen actieve licentie gevonden obv User en SpecificationReferenceId
</wsdl:documentation>                 
</wsdl:fault>
</wsdl:operation>

<wsdl:operation name="CorrectBlockUserLicense">
           <wsdl:documentation>Corrigeren van blokkering voor betreffende gebruiker en product</wsdl:documentation>
           <wsdl:input message="tns:CorrectBlockUserLicense" wsam:Action="http://dt2.eck.nl/service/licenseservice/v2.5.2/correctblockuserlicense"/>
           <wsdl:output message="tns:CorrectBlockUserLicenseResult" wsam:Action="http://dt2.eck.nl/service/licenseservice/v2.5.2/correctblockuserlicenseresult" />
       	<wsdl:fault  name="FaultMessage" message="tns:FaultMessage">
       		<wsdl:documentation>Zie ook de technische voorschriften voor foutafhandeling.
			-200	Berichtformaat voldoet niet aan specificatie
			-3  Autorisatiefout
			-2	Authenticatiefout
			-1	Algemene fout
			22  Amount niet beschikbaar voor correctie
			23	Correctie niet mogelijk volgens contractafspraken
			35	RequestReferenceId is niet gevuld
			37	RequestReferenceId is al eerder gebruikt
			54	Te corrigeren BlockReferenceId is niet bekend
			55	Te corrigeren BlockReferenceId is niet gevuld
</wsdl:documentation></wsdl:fault>
</wsdl:operation>

<wsdl:operation name="GetBlockUserResponseReferenceId">
           <wsdl:documentation></wsdl:documentation>
           <wsdl:input message="tns:GetBlockUserResponseReferenceId" wsam:Action="http://dt2.eck.nl/service/licenseservice/v2.5.2/getblockuserresponsereferenceid"/>
           <wsdl:output message="tns:GetBlockUserResponseReferenceIdResult" wsam:Action="http://dt2.eck.nl/service/licenseservice/v2.5.2/getblockuserresponsereferenceidresult" />
       	<wsdl:fault  name="FaultMessage" message="tns:FaultMessage">
       		<wsdl:documentation>Zie ook de technische voorschriften voor foutafhandeling.
			-200	Berichtformaat voldoet niet aan specificatie
			-3  Autorisatiefout
			-2	Authenticatiefout
			-1	Algemene fout
			35	RequestReferenceId is niet gevuld
            36	RequestReferenceId onbekend
</wsdl:documentation></wsdl:fault>
</wsdl:operation>
<wsdl:operation name="GetCorrectBlockUserResponseReferenceId">
           <wsdl:documentation></wsdl:documentation>
           <wsdl:input message="tns:GetCorrectBlockUserResponseReferenceId" wsam:Action="http://dt2.eck.nl/service/licenseservice/v2.5.2/getcorrectblockuserresponsereferenceid"/>
           <wsdl:output message="tns:GetCorrectBlockUserResponseReferenceIdResult" wsam:Action="http://dt2.eck.nl/service/licenseservice/v2.5.2/getcorrectblockuserresponsereferenceidresult" />
       	<wsdl:fault  name="FaultMessage" message="tns:FaultMessage">
       		<wsdl:documentation>Zie ook de technische voorschriften voor foutafhandeling.
			-200	Berichtformaat voldoet niet aan specificatie
			-3  Autorisatiefout
			-2	Authenticatiefout
			-1	Algemene fout
			35	RequestReferenceId is niet gevuld
            36	RequestReferenceId onbekend
</wsdl:documentation></wsdl:fault>
</wsdl:operation>

            
   </wsdl:portType>

   <wsdl:binding name="Basic_Http_ILicenseService" type="tns:ILicenseService">
       <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
   		<wsdl:operation name="ReadUserLicense">
			<soap:operation	soapAction="http://dt2.eck.nl/service/licenseservice/v2.5.2/readuserlicense"/>
			<wsdl:input>
				<soap:body use="literal"/>
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal"/>
			</wsdl:output>
			<wsdl:fault name="FaultMessage">
				<soap:fault name="FaultMessage" use="literal"/>
			</wsdl:fault>
		</wsdl:operation>
  	<wsdl:operation name="ReadOrganisationLicense">
			<soap:operation	soapAction="http://dt2.eck.nl/service/licenseservice/v2.5.2/readorganisationlicense"/>
			<wsdl:input>
				<soap:body use="literal"/>
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal"/>
			</wsdl:output>
			<wsdl:fault name="FaultMessage">
				<soap:fault name="FaultMessage" use="literal"/>
			</wsdl:fault>
		</wsdl:operation>
		
		<wsdl:operation name="BlockUserLicense">
			<soap:operation	soapAction="http://dt2.eck.nl/service/licenseservice/v2.5.2/blockuserlicense"/>
			<wsdl:input>
				<soap:body use="literal"/>
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal"/>
			</wsdl:output>
			<wsdl:fault name="FaultMessage">
				<soap:fault name="FaultMessage" use="literal"/>
			</wsdl:fault>
		</wsdl:operation>
		<wsdl:operation name="CorrectBlockUserLicense">
			<soap:operation	soapAction="http://dt2.eck.nl/service/licenseservice/v2.5.2/correctblockuserlicense"/>
			<wsdl:input>
				<soap:body use="literal"/>
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal"/>
			</wsdl:output>
			<wsdl:fault name="FaultMessage">
				<soap:fault name="FaultMessage" use="literal"/>
			</wsdl:fault>
		</wsdl:operation>
		<wsdl:operation name="GetBlockUserResponseReferenceId">
			<soap:operation	soapAction="http://dt2.eck.nl/service/licenseservice/v2.5.2/getblockuserresponsereferenceid"/>
			<wsdl:input>
				<soap:body use="literal"/>
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal"/>
			</wsdl:output>
			<wsdl:fault name="FaultMessage">
				<soap:fault name="FaultMessage" use="literal"/>
			</wsdl:fault>
		</wsdl:operation>
		<wsdl:operation name="GetCorrectBlockUserResponseReferenceId">
			<soap:operation	soapAction="http://dt2.eck.nl/service/licenseservice/v2.5.2/getcorrectblockuserresponsereferenceid"/>
			<wsdl:input>
				<soap:body use="literal"/>
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal"/>
			</wsdl:output>
			<wsdl:fault name="FaultMessage">
				<soap:fault name="FaultMessage" use="literal"/>
			</wsdl:fault>
		</wsdl:operation>
   </wsdl:binding>

   <wsdl:service name="LicenseService">
       <wsdl:port name="LicenseService" binding="tns:Basic_Http_ILicenseService">
           <soap:address location="https://ketentest-elo.edu-ixstaging.nl/eck/2.5.2/license" />
       </wsdl:port>
   </wsdl:service>
   
</wsdl:definitions>
