<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="LoanApproval"
	targetNamespace="http://docs.active-endpoints.com/sample/wsdl/loanApproval/2008/02/loanApproval.wsdl"
	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
	xmlns:tns="http://docs.active-endpoints.com/sample/wsdl/loanApproval/2008/02/loanApproval.wsdl"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
	xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
	xmlns:loan="http://schemas.active-endpoints.com/sample/LoanRequest/2008/02/loanRequest.xsd"
	xmlns:loanmsg="http://docs.active-endpoints.com/sample/wsdl/loanMessages/2008/02/loanMessages.wsdl">
	
	<plnk:partnerLinkType name="LoanApprovalLT">
		<plnk:role name="approver" portType="tns:LoanApproval" />
	</plnk:partnerLinkType>
	
	<wsdl:import location="loanMessages.wsdl" namespace="http://docs.active-endpoints.com/sample/wsdl/loanMessages/2008/02/loanMessages.wsdl" />
	
	<wsdl:types>
		<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:import
				namespace="http://schemas.active-endpoints.com/sample/LoanRequest/2008/02/loanRequest.xsd"
				schemaLocation="../schema/loanRequest.xsd">
			</xsd:import>
		</xsd:schema>
	</wsdl:types>
	
	<wsdl:portType name="LoanApproval">
		<wsdl:operation name="approve">
			<wsdl:input message="loanmsg:creditInformationMessage" />
			<wsdl:output message="loanmsg:approvalMessage" />
			<wsdl:fault name="loanProcessFault"
				message="loanmsg:errorMessage" />
		</wsdl:operation>
	</wsdl:portType>
	
	<wsdl:binding name="LoanApprovalSOAPBinding" type="tns:LoanApproval">
		<soap:binding style="document"
			transport="http://schemas.xmlsoap.org/soap/http" />
		<wsdl:operation name="approve">
			<soap:operation
				soapAction="http://docs.active-endpoints.com/sample/wsdl/loanApproval/2008/02/loanApproval.wsdl/approve" />
			<wsdl:input>
				<soap:body use="literal" />
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal" />
			</wsdl:output>
			<wsdl:fault name="LoanProcessFault">
				<soap:fault use="literal" name="LoanProcessFault" />
			</wsdl:fault>
		</wsdl:operation>
	</wsdl:binding>
	
	<wsdl:service name="LoanApprovalService">
		<wsdl:port name="LoanApprovalServicePort" binding="tns:LoanApprovalSOAPBinding">
			<soap:address location="urn:x-vos:loancompany:LoanApprovalService" />
		</wsdl:port>
	</wsdl:service>
	
</wsdl:definitions>