<wsdl:definitions xmlns:soap = "http://schemas.xmlsoap.org/wsdl/soap/"  xmlns:wsu = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc = "http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns = "https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=ItemsInventorySupplierSelect" xmlns:wsa = "http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp = "http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap = "http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:xsd = "http://www.w3.org/2001/XMLSchema" xmlns:msc = "http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsaw = "http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap12 = "http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsa10 = "http://www.w3.org/2005/08/addressing" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" targetNamespace="https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=ItemsInventorySupplierSelect" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">

	 <wsdl:types>
	 <xsd:schema targetNamespace="https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=ItemsInventorySupplierSelect" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema">
	<xsd:element  name="ItemsInventorySupplierSelectRequestContainer">
	 <xsd:complexType>
	  <xsd:sequence>
		<xsd:element name="supplier_id" minOccurs="1" type="xsd:string" />
		<xsd:element name="division_id" minOccurs="1" type="xsd:string" />
		<xsd:element name="location_id" minOccurs="1" type="xsd:string" />
		<xsd:element name="item_id" minOccurs="1" type="xsd:string" />
		<xsd:element name="APIKey"  minOccurs="1" type="xsd:string"/>
	  </xsd:sequence>
	</xsd:complexType>
	 </xsd:element>
	<xsd:element name="ItemsInventorySupplierSelectResponseContainerList">
	 <xsd:complexType>
	 <xsd:sequence>
	 <xsd:element maxOccurs="unbounded" minOccurs="0" name="ItemsInventorySupplierSelectResponseContainerItems" nillable="true" type="tns:ItemsInventorySupplierSelectResponseContainer" />
	 </xsd:sequence>
	 </xsd:complexType>
	</xsd:element>  
	   <xsd:complexType name="ItemsInventorySupplierSelectResponseContainer" >
	    <xsd:sequence maxOccurs="unbounded">
<xsd:element name="supplier_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="division_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="inv_mast_uid" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="delete_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="list_price" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="cost" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="lead_time_days" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="backhaul_type" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="backhaul_amount" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="supplier_purchase_unit" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="upc_code_source_type_cd" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="freight_factor" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="primary_supplier_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="upc_code" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="minimum_purchase_qty" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="incremental_purchase_qty" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="supplier_part_no" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="location_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="primary_supplier" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="average_lead_time" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="row_status_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="date_created" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="date_last_modified" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="last_maintained_by" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="created_by" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="vmi_status" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="override_vmi_status_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="key_vmi_indicator_changed_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="loc_list_price" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="loc_cost" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="fixed_lead_time" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="check_digit" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="supplier_name" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="ErrorCode" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="ErrorDescription" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="inventory_supplier_trade_uid" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="certificate_of_origin_file_path" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="certificate_of_origin_exp_date" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="country_of_origin" nillable="true" minOccurs="0" type="xsd:string"/>		 <xsd:element name = "NoRecords"  nillable="true" minOccurs="0" type="xsd:string"/>		 <xsd:element name = "_errorMsg"  nillable="true" minOccurs="0" type="xsd:string"/>		 <xsd:element name = "_errorNum"  nillable="true" minOccurs="0" type="xsd:string"/>	    </xsd:sequence>
	   </xsd:complexType>
	<xsd:element name="FaultContainer">
	 <xsd:complexType>
	 <xsd:sequence>
	<xsd:element name="fault" type="xsd:string"/>
	 </xsd:sequence>
	 </xsd:complexType>
	</xsd:element>  
	   </xsd:schema>
	 </wsdl:types>


		<wsdl:message name="ItemsInventorySupplierSelectRequest" > 
			<wsdl:part name="parameters" element="tns:ItemsInventorySupplierSelectRequestContainer" />
		</wsdl:message>
		 <wsdl:message name="ItemsInventorySupplierSelectResponse" >
			<wsdl:part name="parameters" element="tns:ItemsInventorySupplierSelectResponseContainerList" />
		</wsdl:message>

		 <wsdl:message name="faultMsg">
		  <wsdl:part name="fault" element="tns:FaultContainer" /> 
		 </wsdl:message>

		<wsdl:portType name="ItemsInventorySupplierSelect">
			<wsdl:operation name="ItemsInventorySupplierSelect">
			<wsdl:input wsaw:Action="https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=ItemsInventorySupplierSelect" message="tns:ItemsInventorySupplierSelectRequest" />
			<wsdl:output wsaw:Action="https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=ItemsInventorySupplierSelect" message="tns:ItemsInventorySupplierSelectResponse" />
			<wsdl:fault name="fault" message="tns:faultMsg"/>
			 </wsdl:operation>
		</wsdl:portType>

		<wsdl:binding name="DefaultBinding_ItemsInventorySupplierSelect" type="tns:ItemsInventorySupplierSelect">
		 <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
		 <wsdl:operation name="ItemsInventorySupplierSelect">
		  <soap:operation soapAction="https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=ItemsInventorySupplierSelect" style="document" />
		  <wsdl:input>
		   <soap:body use="literal" />
		  </wsdl:input>
		  <wsdl:output>
		    <soap:body use="literal" />
		  </wsdl:output>
		<wsdl:fault name="fault"><soap:fault use="literal" name="fault"/></wsdl:fault>
		 </wsdl:operation>
		 </wsdl:binding>

		 <wsdl:service name="ItemsInventorySupplierSelectService">
			    <wsdl:port name="ItemsInventorySupplierSelect" binding="tns:DefaultBinding_ItemsInventorySupplierSelect">
			       <soap:address location="https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=ItemsInventorySupplierSelect" />
			   </wsdl:port> 
		 </wsdl:service>
	</wsdl:definitions>
