<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xsi:type="tDefinitions"
    xmlns:tns2="http://WS_LASSER_OFE" xmlns:tns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns3="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" targetNamespace="http://WS_LASSER_OFE">

  <types>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
               xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      targetNamespace="http://WS_LASSER_OFE">

      <xs:element name="GerPeticion">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="GerKey" type="xs:string"/>
            <xs:element name="GerOpe" type="xs:string"/>
            <xs:element name="GerPar" type="tns2:GerOferta"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>

      <xs:complexType name="GerOferta">
        <xs:sequence>
             <xsd:element name="IdDireccionActuacion" minOccurs="0" type="xsd:string" nillable="true"/>
             <xsd:element name="Codcliente" minOccurs="0" type="xsd:string" nillable="true"/>
             <xsd:element name="CodEmpresa" minOccurs="0" type="xsd:string" nillable="true"/>
             <xsd:element name="CodOferta" minOccurs="0" type="xsd:string" nillable="true"/>
             <xsd:element name="Comentarios" minOccurs="0" type="xsd:string" nillable="true"/>
             <xsd:element name="CosteMaterial" minOccurs="0" type="xsd:string" nillable="true"/>
             <xsd:element name="CosteOtros" minOccurs="0" type="xsd:string" nillable="true"/>
             <xsd:element name="CosteTotal" minOccurs="0" type="xsd:string" nillable="true"/>
             <xsd:element name="Descripcion" minOccurs="0" type="xsd:string" nillable="true"/>
             <xsd:element name="FechaEntrega" minOccurs="0" type="xsd:string" nillable="true"/>
             <xsd:element name="FormaPago" minOccurs="0" type="xsd:string" nillable="true"/>
             <xsd:element name="Importe" minOccurs="0" type="xsd:string" nillable="true"/>
             <xsd:element name="Nalmacen" minOccurs="0" type="xsd:string" nillable="true"/>
             <xsd:element name="Observaciones" minOccurs="0" type="xsd:string" nillable="true"/>
             <xsd:element name="PvpTotal" minOccurs="0" type="xsd:string" nillable="true"/>
             <xsd:element name="Rentabilidad" minOccurs="0" type="xsd:string" nillable="true"/>
             <xsd:element name="Agente1" minOccurs="0" type="xsd:string" nillable="true"/>
             <xsd:element name="Agente3" minOccurs="0" type="xsd:string" nillable="true"/>
             <xsd:element name="Agente4" minOccurs="0" type="xsd:string" nillable="true"/>
             <xsd:element name="Agente6" minOccurs="0" type="xsd:string" nillable="true"/>
             <xsd:element name="CosteManoObra" minOccurs="0" type="xsd:string" nillable="true"/>
             <xsd:element name="Anticipo" minOccurs="0" type="xsd:string" nillable="true"/>
             <xsd:element name="LineaNegocio" minOccurs="0" type="xsd:string" nillable="true"/>
             <xsd:element name="Tecnico" minOccurs="0" type="xsd:string" nillable="true"/>
             <xsd:element name="TipoActuacion" minOccurs="0" type="xsd:string" nillable="true"/>

             <xsd:element name="EnvioNro" minOccurs="0" type="xsd:string" nillable="true"/>
             <xsd:element name="TotalEnvios" minOccurs="0" type="xsd:string" nillable="true"/>
             <xsd:element name="Lineas" minOccurs="0" maxOccurs="unbounded" type="tns2:GerLineas" nillable="true"/>
             <xsd:element name="Adjuntos" minOccurs="0" maxOccurs="unbounded" type="tns2:ArchAdjuntos" nillable="true"/>

        </xs:sequence>
      </xs:complexType>

      <xs:complexType name="GerLineas">
         <xs:sequence>
             <xsd:element name="Cantidad" minOccurs="0" type="xsd:string" nillable="true"/>
             <xsd:element name="Producto" minOccurs="0" type="xsd:string" nillable="true"/>
             <xsd:element name="PrecioVenta" minOccurs="0" type="xsd:string" nillable="true"/>
             <xsd:element name="Descuento" minOccurs="0" type="xsd:string" nillable="true"/>
             <xsd:element name="DescripcionCorta" minOccurs="0" type="xsd:string" nillable="true"/>
             <xsd:element name="DescripcionLarga" minOccurs="0" type="xsd:string" nillable="true"/>
        </xs:sequence>
      </xs:complexType>

      <xs:complexType name="ArchAdjuntos">
         <xs:sequence>
             <xsd:element name="Contenido" minOccurs="0" type="xsd:string" nillable="true"/>
             <xsd:element name="Nombre" minOccurs="0" type="xsd:string" nillable="true"/>
        </xs:sequence>
      </xs:complexType>

      <xs:element name="GerRespuesta">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="GerRC" type="xs:string"/>
            <xs:element name="GerMSG" type="xs:string"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>

    </xs:schema>
  </types>


  <message name="GerPeticion">
    <part name="GerPeticion" element="tns2:GerPeticion"/>
  </message>

  <message name="GerRespuesta">
    <part name="return" element="tns2:GerRespuesta"/>
  </message>


  <portType name="GerWSPort">
    <operation name="GerOpe">
      <input message="tns2:GerPeticion"/>
      <output message="tns2:GerRespuesta"/>
    </operation>
  </portType>


  <binding name="WS_LASSER_OFEBinding" type="tns2:GerWSPort">
    <operation name="GerOpe">
      <input>
        <tns3:body xsi:type="tBody" use="literal"/>
      </input>
      <output>
        <tns3:body xsi:type="tBody" use="literal"/>
      </output>
      <tns3:operation xsi:type="tOperation" soapAction=""/>
    </operation>
    <tns3:binding xsi:type="tBinding" transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
  </binding>
  <service name="WS_LASSER_OFEService">
    <port name="WS_LASSER_OFEPort" binding="tns2:WS_LASSER_OFEBinding">
      <tns3:address xsi:type="tAddress" location="http://intranetcentral.es/WebServiceSOAP/WS_LASSER_OFE.php"/>
    </port>
  </service>
</definitions>



