<?xml version="1.0" encoding="UTF-8"?>
<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:y="http://new.webservice.namespace" targetNamespace="http://new.webservice.namespace">
<!--Note on IDs: As the data types of IDs will vary dependent on system, these data items have been specified as a generic 'IDtype'.
      Note on soap address: generic only, so an unreal URL has been inserted.-->
	<types>
		<xs:schema targetNamespace="getePortfolioItems.xsd"
         xmlns="http://www.w3.org/2001/XMLSchema"
         xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
		<element name="ePortfolioItemsRequest" type="ePortfolioItemsRequestType"/>
		<element name="ePortfolioItemsResponse" type="ePortfolioItemsResponseType"/>
		<element name="ePortfolioItem" type="ePortfolioItemType"/>
		<element name="LearnerID" type="IDtype"/>
        <complexType name="ePortfolioItemType">
			 <sequence>
				 <element name="ePortfolioItemID" type="IDtype"/>
				 <element name="ePortfolioItemText" type="string" minOccurs="1" maxOccurs="1"/>
			 </sequence>
		</complexType>
 		<complexType name="ePortfolioItemsRequestType"><!--Defines the content of a request for relevant ePortfolio Item.-->
			<sequence>
				<element ref="LearnerID" minOccurs="1" maxOccurs="1"/>
				<element ref="ePortfolioItemID" maxOccurs="unbounded"/>
			</sequence>
		</complexType>
        <complexType name="ePortfolioItemsResponseType"><!--Defines the content of a response to a request for relevant ePortfolio Items.-->
			 <sequence>
				 <element ref="LearnerID"/>
				 <element ref="ePortfolioItem" maxOccurs="unbounded"/>
			 </sequence>
         </complexType>
		</xs:schema>
	</types>
	<message name="getePortfolioItemsRequest">
		<part name="request" type="ePortfolioItemsRequest"/>
	</message>
	<message name="getePortfolioItemsResponse">
		<part name="return" type="ePortfolioItemsResponse"/>
	</message>
	<portType name="ePortfolioItemsType">
		<operation name="getePortfolioItems">
			<input message="getePortfolioItemsRequest"/>
			<output message="getePortfolioItemsResponse"/>
		</operation>	
	</portType>
	<binding name="ePortfolioItemsBinding" type="ePortfolioItemsPortType">
		<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
		<operation name="getePortfolioItems">
			<soap:operation soapAction="" style="rpc"/>
			 <input name="getePortfolioItemsRequest">
				<soap:body use="encoded" namespace="ePortfolioItemsWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
			 </input>
			 <output name="getePortfolioItemsResponse">
				<soap:body use="encoded" namespace="ePortfolioItemsWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
			 </output>
		</operation>
	</binding>
   <service name="ePortfolioItemsWS">
      <port name="ePortfolioItemsPort" binding="ePortfolioItemsBinding">
         <soap:address location="https://blahblah.com/..."/>
      </port>
   </service>
</definitions>

