<wsdl:definitions targetNamespace="https://prosoftserver.com"
	xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
	xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
	xmlns:s="http://www.w3.org/2001/XMLSchema"
	xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
	xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
	xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
	xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
	xmlns:tns="https://prosoftserver.com"
	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">

	<wsdl:types>
		<s:schema elementFormDefault="qualified" targetNamespace="https://prosoftserver.com">
			<s:element name="procesarOrden">
				<s:complexType>
					<s:sequence>
						<s:element maxOccurs="1" minOccurs="1" name="DatosGenerales" type="tns:DatosGenerales"></s:element>
						<s:element maxOccurs="1" minOccurs="1" name="DatosPaciente" type="tns:DatosPaciente"></s:element>
						<s:element maxOccurs="1" minOccurs="1" name="DatosOrden" type="tns:DatosOrden"></s:element>
						<s:element maxOccurs="1" minOccurs="1" name="Examenes" type="tns:Examenes"></s:element>
					</s:sequence>
				</s:complexType>
			</s:element>

			<s:complexType name="Examenes">
				<s:sequence>
					<s:element maxOccurs="1" minOccurs="1" name="Examen" type="tns:Examen"/>
				</s:sequence>
			</s:complexType>

			<s:complexType name="Examen">
				<s:sequence>
					<s:element maxOccurs="1" minOccurs="1" name="OIDSolicitud" type="s:string"/>
					<s:element maxOccurs="1" minOccurs="1" name="LBHCANTID" type="s:string"/>
					<s:element maxOccurs="1" minOccurs="1" name="IDEXAMEN" type="s:string"/>
					<s:element maxOccurs="1" minOccurs="1" name="EXANOMBRE" type="s:string"/>
					<s:element maxOccurs="1" minOccurs="1" name="EXAOBSER" type="s:string"/>
				</s:sequence>
			</s:complexType>

			<s:complexType name="DatosGenerales">
				<s:sequence>
					<s:element maxOccurs="1" minOccurs="1" name="IDOrigen" type="s:string"/>
					<s:element maxOccurs="1" minOccurs="1" name="ORDCONSEC" type="s:string"/>
					<s:element maxOccurs="1" minOccurs="1" name="LBHFECSER" type="s:string"/>
					<s:element maxOccurs="1" minOccurs="1" name="AINTIPING" type="s:string"/>
					<s:element maxOccurs="1" minOccurs="1" name="IPORDENAD" type="s:string"/>
					<s:element maxOccurs="1" minOccurs="1" name="GENUSUCOD" type="s:string"/>
					<s:element maxOccurs="1" minOccurs="1" name="GENUSUNOM" type="s:string"/>
				</s:sequence>
			</s:complexType>

			<s:complexType name="DatosPaciente">
				<s:sequence>
					<s:element maxOccurs="1" minOccurs="1" name="GPACODIGO" type="s:string"/>
					<s:element maxOccurs="1" minOccurs="1" name="GPATIPDOC" type="s:string"/>
					<s:element maxOccurs="1" minOccurs="1" name="GPAAPELLI" type="s:string"/>
					<s:element maxOccurs="1" minOccurs="1" name="GPASEGAPE" type="s:string"/>
					<s:element maxOccurs="1" minOccurs="1" name="GPANOMBRE" type="s:string"/>
					<s:element maxOccurs="1" minOccurs="1" name="GPASEGNOM" type="s:string"/>
					<s:element maxOccurs="1" minOccurs="1" name="GPAFECNAC" type="s:string"/>
					<s:element maxOccurs="1" minOccurs="1" name="GPASEXPAC" type="s:string"/>
					<s:element maxOccurs="1" minOccurs="1" name="GPADIRECC" type="s:string"/>
					<s:element maxOccurs="1" minOccurs="1" name="GPATELEF1" type="s:string"/>
					<s:element maxOccurs="1" minOccurs="1" name="TIPUSUCOD" type="s:string"/>
					<s:element maxOccurs="1" minOccurs="1" name="TIPUSUNOM" type="s:string"/>
					<s:element maxOccurs="1" minOccurs="1" name="GEMCODIGO" type="s:string"/>
					<s:element maxOccurs="1" minOccurs="1" name="GEMNOMBRE" type="s:string"/>
					<s:element maxOccurs="1" minOccurs="1" name="CODICIE10" type="s:string"/>
					<s:element maxOccurs="1" minOccurs="1" name="NOMBCIE10" type="s:string"/>
					<s:element maxOccurs="1" minOccurs="1" name="CODIGRADO" type="s:string"/>
					<s:element maxOccurs="1" minOccurs="1" name="NOMBGRADO" type="s:string"/>
					<s:element maxOccurs="1" minOccurs="1" name="CODEMBARA" type="s:string"/>
					<s:element maxOccurs="1" minOccurs="1" name="NOMEMBARA" type="s:string"/>
					<s:element maxOccurs="1" minOccurs="1" name="EMAILPACI" type="s:string"/>
				</s:sequence>
			</s:complexType>

			<s:complexType name="DatosOrden">
				<s:sequence>
					<s:element maxOccurs="1" minOccurs="1" name="LBHNITENT" type="s:string"/>
					<s:element maxOccurs="1" minOccurs="1" name="LBHNOMENT" type="s:string"/>
					<s:element maxOccurs="1" minOccurs="1" name="GMECODIGO" type="s:string"/>
					<s:element maxOccurs="1" minOccurs="1" name="GMENOMBRE" type="s:string"/>
					<s:element maxOccurs="1" minOccurs="1" name="ARECODIGO" type="s:string"/>
					<s:element maxOccurs="1" minOccurs="1" name="ARENOMBRE" type="s:string"/>
					<s:element maxOccurs="1" minOccurs="1" name="GEECODIGO" type="s:string"/>
					<s:element maxOccurs="1" minOccurs="1" name="GEENOMBRE" type="s:string"/>
				</s:sequence>
			</s:complexType>

			<s:element name="procesarOrdenResponse">...</s:element>
		</s:schema>
	</wsdl:types>

	<wsdl:message name="procesarOrdenSoapIn">
		<wsdl:part element="tns:procesarOrden" name="parameters"/>
	</wsdl:message>
	<wsdl:message name="procesarOrdenSoapOut">
		<wsdl:part element="tns:procesarOrdenResponse" name="parameters"/>
	</wsdl:message>
	
   <wsdl:portType name="Global_type">
		<wsdl:operation name="procesarOrden">
			<wsdl:documentation
				xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Validación orden interfaz
			</wsdl:documentation>
			<wsdl:input message="tns:procesarOrdenSoapIn"/>
			<wsdl:output message="tns:procesarOrdenSoapOut"/>
		</wsdl:operation>
	</wsdl:portType>

	<wsdl:binding name="PROSOFT_ws" type="tns:Global_type">
		<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
		<wsdl:operation name="procesarOrden">
			<soap:operation soapAction="procesarOrden" 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="Global">
		<wsdl:port binding="tns:PROSOFT_ws" name="GlobalSoap">
			<soap:address location="http://54.161.236.190:8000/wsdl"/>
		</wsdl:port>
	</wsdl:service>
   
</wsdl:definitions>