<?xml version="1.0" encoding="UTF-8"?>
<!--
 Web Services API : ERPToSFProductos
-->
<definitions targetNamespace="http://soap.sforce.com/schemas/class/ERPToSFProductos" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://soap.sforce.com/schemas/class/ERPToSFProductos">
 <types>
  <xsd:schema elementFormDefault="qualified" targetNamespace="http://soap.sforce.com/schemas/class/ERPToSFProductos">
   <xsd:element name="AllowFieldTruncationHeader">
    <xsd:complexType>
     <xsd:sequence>
      <xsd:element name="allowFieldTruncation" type="xsd:boolean"/>
     </xsd:sequence>
    </xsd:complexType>
   </xsd:element>
   <xsd:element name="CallOptions">
    <xsd:complexType>
     <xsd:sequence>
      <xsd:element name="client" type="xsd:string"/>
     </xsd:sequence>
    </xsd:complexType>
   </xsd:element>
   <xsd:element name="DebuggingHeader">
    <xsd:complexType>
     <xsd:sequence>
      <xsd:element name="categories" minOccurs="0" maxOccurs="unbounded" type="tns:LogInfo"/>
      <xsd:element name="debugLevel" type="tns:LogType"/>
     </xsd:sequence>
    </xsd:complexType>
   </xsd:element>
   <xsd:complexType name="LogInfo">
    <xsd:sequence>
     <xsd:element name="category" type="tns:LogCategory"/>
     <xsd:element name="level" type="tns:LogCategoryLevel"/>
    </xsd:sequence>
   </xsd:complexType>
   <xsd:simpleType name="LogCategory">
    <xsd:restriction base="xsd:string">
     <xsd:enumeration value="Db"/>
     <xsd:enumeration value="Workflow"/>
     <xsd:enumeration value="Validation"/>
     <xsd:enumeration value="Callout"/>
     <xsd:enumeration value="Apex_code"/>
     <xsd:enumeration value="Apex_profiling"/>
     <xsd:enumeration value="Visualforce"/>
     <xsd:enumeration value="System"/>
     <xsd:enumeration value="All"/>
    </xsd:restriction>
   </xsd:simpleType>
   <xsd:simpleType name="LogCategoryLevel">
    <xsd:restriction base="xsd:string">
     <xsd:enumeration value="Internal"/>
     <xsd:enumeration value="Finest"/>
     <xsd:enumeration value="Finer"/>
     <xsd:enumeration value="Fine"/>
     <xsd:enumeration value="Debug"/>
     <xsd:enumeration value="Info"/>
     <xsd:enumeration value="Warn"/>
     <xsd:enumeration value="Error"/>
    </xsd:restriction>
   </xsd:simpleType>
   <xsd:simpleType name="LogType">
    <xsd:restriction base="xsd:string">
     <xsd:enumeration value="None"/>
     <xsd:enumeration value="Debugonly"/>
     <xsd:enumeration value="Db"/>
     <xsd:enumeration value="Profiling"/>
     <xsd:enumeration value="Callout"/>
     <xsd:enumeration value="Detail"/>
    </xsd:restriction>
   </xsd:simpleType>
   <xsd:element name="DebuggingInfo">
    <xsd:complexType>
     <xsd:sequence>
      <xsd:element name="debugLog" type="xsd:string"/>
     </xsd:sequence>
    </xsd:complexType>
   </xsd:element>
   <xsd:element name="SessionHeader">
    <xsd:complexType>
     <xsd:sequence>
      <xsd:element name="sessionId" type="xsd:string"/>
      <xsd:element name="serverUrl" type="xsd:string"/>
     </xsd:sequence>
    </xsd:complexType>
   </xsd:element>
   <xsd:complexType name="Product2">
    <xsd:sequence>
     <xsd:element name="HA_TipoKit__c" minOccurs="0" type="xsd:boolean" nillable="true"/>
     <xsd:element name="HA_Descatalogado__c" minOccurs="0" type="xsd:string" nillable="true"/>
     <xsd:element name="HA_Canon__c" minOccurs="0" type="xsd:string" nillable="true"/>
     <xsd:element name="HA_TipoDeIVA__c" minOccurs="0" type="xsd:string" nillable="true"/>
     <xsd:element name="HA_Lote__c" minOccurs="0" type="xsd:string" nillable="true"/>
     <xsd:element name="HA_PesoNeto__c" minOccurs="0" type="xsd:string" nillable="true"/>
     <xsd:element name="HA_PesoBruto__c" minOccurs="0" type="xsd:string" nillable="true"/>
     <xsd:element name="HA_PlazoReaprovisionamiento__c" minOccurs="0" type="xsd:string" nillable="true"/>
     <xsd:element name="HA_UnidadesPorEnvase__c" minOccurs="0" type="xsd:string" nillable="true"/>
     <xsd:element name="HA_PesoNetoMedidas__c" minOccurs="0" type="xsd:string" nillable="true"/>
     <xsd:element name="HA_PesoBrutoMedidas__c" minOccurs="0" type="xsd:string" nillable="true"/>
     <xsd:element name="HA_ArticuloABC__c" minOccurs="0" type="xsd:string" nillable="true"/>
     <xsd:element name="HA_MarcaFabricante__c" minOccurs="0" type="xsd:string" nillable="true"/>
     <xsd:element name="HA_Stock__c" minOccurs="0" type="xsd:string" nillable="true"/>
     <xsd:element name="HA_CondicionesVenta__c" minOccurs="0" type="xsd:string" nillable="true"/>
     <xsd:element name="HA_CondicionesEnvio__c" minOccurs="0" type="xsd:string" nillable="true"/>
     <xsd:element name="HA_LineaDeProducto__c" minOccurs="0" type="xsd:string" nillable="true"/>
     <xsd:element name="HA_Medidas__c" minOccurs="0" type="xsd:string" nillable="true"/>
     <xsd:element name="HA_Faqs__c" minOccurs="0" type="xsd:string" nillable="true"/>
     <xsd:element name="ProductCode" minOccurs="0" type="xsd:string" nillable="true"/>
     <xsd:element name="Name" minOccurs="0" type="xsd:string" nillable="true"/>
     <xsd:element name="Family" minOccurs="0" type="xsd:string" nillable="true"/>
     <xsd:element name="Subfamily__c" minOccurs="0" type="xsd:string" nillable="true"/>
     <xsd:element name="Description" minOccurs="0" type="xsd:string" nillable="true"/>
     <xsd:element name="LastModifiedById" minOccurs="0" type="xsd:string" nillable="true"/>
     <xsd:element name="HA_Volumen__c" minOccurs="0" type="xsd:string" nillable="true"/>
     <xsd:element name="HA_Codigo_de_barras" minOccurs="0" type="xsd:string" nillable="true"/>
     <xsd:element name="HA_Stock_Valencia__c" minOccurs="0" type="xsd:string" nillable="true"/>	 	 
    </xsd:sequence>
   </xsd:complexType>
   <xsd:element name="create">
    <xsd:complexType>
     <xsd:sequence>
      <xsd:element name="Product2s" minOccurs="0" maxOccurs="unbounded" type="tns:Product2" nillable="true"/>
     </xsd:sequence>
    </xsd:complexType>
   </xsd:element>
   <xsd:element name="createResponse">
    <xsd:complexType>
     <xsd:sequence>
      <xsd:element name="result" type="tns:Resultado" nillable="true"/>
     </xsd:sequence>
    </xsd:complexType>
   </xsd:element>
  </xsd:schema>
 </types>
 <!-- Message for the header parts -->
 <message name="Header">
  <part name="AllowFieldTruncationHeader" element="tns:AllowFieldTruncationHeader"/>
  <part name="CallOptions" element="tns:CallOptions"/>
  <part name="DebuggingHeader" element="tns:DebuggingHeader"/>
  <part name="DebuggingInfo" element="tns:DebuggingInfo"/>
  <part name="SessionHeader" element="tns:SessionHeader"/>
 </message>
 <!-- Operation Messages -->
 <message name="createRequest">
  <part element="tns:create" name="parameters"/>
 </message>
 <message name="createResponse">
  <part element="tns:createResponse" name="parameters"/>
 </message>
 <portType name="ERPToSFProductosPortType">
  <operation name="create">
   <input message="tns:createRequest"/>
   <output message="tns:createResponse"/>
  </operation>
 </portType>
 <binding name="ERPToSFProductosBinding" type="tns:ERPToSFProductosPortType">
  <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
  <operation name="create">
   <soap:operation soapAction=""/>
   <input>
    <soap:header use="literal" part="SessionHeader" message="tns:Header"/>
    <soap:header use="literal" part="CallOptions" message="tns:Header"/>
    <soap:header use="literal" part="DebuggingHeader" message="tns:Header"/>
    <soap:header use="literal" part="AllowFieldTruncationHeader" message="tns:Header"/>
    <soap:body use="literal" parts="parameters"/>
   </input>
   <output>
    <soap:header use="literal" part="DebuggingInfo" message="tns:Header"/>
    <soap:body use="literal"/>
   </output>
  </operation>
 </binding>
 <service name="ERPToSFProductosService">
  <documentation></documentation>
  <port binding="tns:ERPToSFProductosBinding" name="ERPToSFProductos">
   <soap:address location="https://cs81.salesforce.com/services/Soap/class/ERPToSFProductos"/>
  </port>
 </service>
</definitions>
