<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions name="BizTalkServiceInstance" targetNamespace="http://WO.fi.TyoTeho" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:tns="http://WO.fi.TyoTeho" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
	<wsdl:documentation>
		<CreationInfo Created="2016-04-08 16:14:09Z"/>
	</wsdl:documentation>
	<wsdl:types>
		<xs:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/Message" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.microsoft.com/Message">
			<xs:complexType name="MessageBody">
				<xs:sequence>
					<xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any"/>
				</xs:sequence>
			</xs:complexType>
		</xs:schema>
		<xs:schema targetNamespace="http://WO.fi.TyoTeho/Imports" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://WO.fi.TyoTeho/Imports">
			<xs:import namespace="WO.fi.TyoTeho.Schemas.AuthorizationFromTyoTeho"/>
			<xs:import namespace="http://WO.fi.TyoTeho.Schemas.TimeReportResponse"/>
		</xs:schema>
		<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="WO.fi.TyoTeho.Schemas.AuthorizationFromTyoTeho" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="WO.fi.TyoTeho.Schemas.AuthorizationFromTyoTeho" xmlns:b="http://schemas.microsoft.com/BizTalk/2003">
			<xs:element name="AUTHORIZE_REPORT">
				<xs:complexType>
					<xs:all>
						<xs:element minOccurs="0" maxOccurs="1" name="COMPANY" nillable="true">
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:maxLength value="20"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element minOccurs="0" maxOccurs="1" name="EMP_ID" nillable="true">
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:maxLength value="11"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element minOccurs="1" maxOccurs="1" name="AUTHORIZE_TRANSACTIONS" nillable="true">
							<xs:complexType>
								<xs:sequence>
									<xs:element minOccurs="0" maxOccurs="unbounded" name="AUTHORIZE_TRANSACTION">
										<xs:complexType>
											<xs:all>
												<xs:element minOccurs="1" maxOccurs="1" name="START_DATE" nillable="true" type="xs:date"/>
												<xs:element minOccurs="0" maxOccurs="1" name="END_DATE" nillable="true" type="xs:date"/>
												<xs:element minOccurs="1" name="STATE" nillable="true">
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:maxLength value="1"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element minOccurs="1" maxOccurs="1" name="AUTH_ID" nillable="true">
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:maxLength value="20"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
											</xs:all>
										</xs:complexType>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
					</xs:all>
				</xs:complexType>
			</xs:element>
		</xs:schema>
		<xs:schema targetNamespace="http://WO.fi.TyoTeho.Schemas.TimeReportResponse" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://WO.fi.TyoTeho.Schemas.TimeReportResponse" xmlns:b="http://schemas.microsoft.com/BizTalk/2003">
			<xs:element name="Response">
				<xs:complexType>
					<xs:sequence>
						<xs:element minOccurs="1" maxOccurs="1" name="Success" type="xs:boolean"/>
						<xs:element minOccurs="0" maxOccurs="1" name="Message" type="xs:string"/>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:schema>
	</wsdl:types>
	<wsdl:message name="AuthorizationService_Authorize_InputMessage">
		<wsdl:part name="part" element="q1:AUTHORIZE_REPORT" xmlns:q1="WO.fi.TyoTeho.Schemas.AuthorizationFromTyoTeho"/>
	</wsdl:message>
	<wsdl:message name="AuthorizationService_Authorize_OutputMessage">
		<wsdl:part name="part" element="q2:Response" xmlns:q2="http://WO.fi.TyoTeho.Schemas.TimeReportResponse"/>
	</wsdl:message>
	<wsdl:portType name="AuthorizationService">
		<wsdl:documentation/>
		<wsdl:operation name="Authorize">
			<wsdl:documentation/>
			<wsdl:input message="tns:AuthorizationService_Authorize_InputMessage"/>
			<wsdl:output message="tns:AuthorizationService_Authorize_OutputMessage"/>
		</wsdl:operation>
	</wsdl:portType>
	<wsdl:binding name="BasicHttpBinding_ITwoWayAsync" type="tns:AuthorizationService">
		<soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
		<wsdl:operation name="Authorize">
			<wsdl:documentation/>
			<soap:operation soapAction="Authorize" style="document"/>
			<wsdl:input>
				<soap:body use="literal"/>
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal"/>
			</wsdl:output>
		</wsdl:operation>
	</wsdl:binding>
	<wsdl:service name="BizTalkServiceInstance">
		<wsdl:port name="BasicHttpBinding_ITwoWayAsync" binding="tns:BasicHttpBinding_ITwoWayAsync">
			<soap:address location="http://domain/AuthorizationService.svc"/>
		</wsdl:port>
	</wsdl:service>
</wsdl:definitions>
