<?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">
	<types>
		<xs:schema targetNamespace="getEntryProfile.xsd"
         xmlns="http://www.w3.org/2001/XMLSchema"
         xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
		<element name="entryProfileItem" type="entryProfileItemType"/>
		<element name="entryProfileRequest" type="entryProfileRequestType"/>
		<element name="entryProfileResponse" type="entryProfileResponseType"/>
		<element name="line_text" type="string"/>
        <complexType name="entryProfileItemType">
			 <sequence>
				 <element name="item_no" type="int"/>
				 <element name="header" type="string"/>
				 <element ref="line_text" minOccurs="1" maxOccurs="unbounded"/>
			 </sequence>
		</complexType>
         <complexType name="entryProfileRequestType"><!--Defines the content of a request for an individual Entry Profile.-->
            <all>
               <element name="inst_code" type="string"/>
               <element name="year_code" type="int"/>
               <element name="course_code" type="string"/>
            </all>
         </complexType>
         <complexType name="entryProfileResponseType"><!--Defines the content of a response to a request for an Entry Profile.-->
            <sequence>
               <element name="full_name" type="string"/>
               <element name="year_code" type="int"/>
               <element name="course_code" type="string"/>
               <element name="full_title" type="string"/>
               <element ref="entryProfileItem" maxOccurs="unbounded"/>
            </sequence>
         </complexType>
		</xs:schema>
	</types>
	<message name="getEntryProfileRequest">
		<part name="request" type="entryProfileRequest"/>
	</message>
	<message name="getEntryProfileResponse">
		<part name="return" type="entryProfileResponse"/>
	</message>
	<portType name="entryProfilePortType">
		<operation name="getEntryProfile">
			<input message="getEntryProfileRequest"/>
			<output message="getEntryProfileResponse"/>
		</operation>	
	</portType>
	<binding name="entryProfileBinding" type="entryProfilePortType">
		<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
		<operation name="getEntryProfile">
			<soap:operation soapAction="" style="rpc"/>
			 <input name="getEntryProfileRequest">
				<soap:body use="encoded" namespace="entryProfileWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
			 </input>
			 <output name="getEntryProfileResponse">
				<soap:body use="encoded" namespace="entryProfileWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
			 </output>
		</operation>
	</binding>
   <service name="entryProfileWS">
      <port name="entryProfilePort" binding="entryProfileBinding">
         <soap:address location="https://ucas.com/..."/>
      </port>
   </service>
</definitions>

