<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=ItemsWarehouseProductSelect" 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=ItemsWarehouseProductSelect" 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=ItemsWarehouseProductSelect" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema">
	<xsd:element  name="ItemsWarehouseProductSelectRequestContainer">
	 <xsd:complexType>
	  <xsd:sequence>
		<xsd:element name="company_id" minOccurs="1" type="xsd:string" />
		<xsd:element name="item_id" minOccurs="1" type="xsd:string" />
		<xsd:element name="location_id" minOccurs="1" type="xsd:string" />
		<xsd:element name="inactive" minOccurs="0" type="xsd:string" />
		<xsd:element name="APIKey"  minOccurs="1" type="xsd:string"/>
	  </xsd:sequence>
	</xsd:complexType>
	 </xsd:element>
	<xsd:element name="ItemsWarehouseProductSelectResponseContainerList">
	 <xsd:complexType>
	 <xsd:sequence>
	 <xsd:element maxOccurs="unbounded" minOccurs="0" name="ItemsWarehouseProductSelectResponseContainerItems" nillable="true" type="tns:ItemsWarehouseProductSelectResponseContainer" />
	 </xsd:sequence>
	 </xsd:complexType>
	</xsd:element>  
	   <xsd:complexType name="ItemsWarehouseProductSelectResponseContainer" >
	    <xsd:sequence maxOccurs="unbounded">
<xsd:element name="item_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="item_desc" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="extended_desc" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="weight" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="inactive" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="class_id1" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="class_id2" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="class_id3" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="class_id4" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="class_id5" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="product_type" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="sales_pricing_unit" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="sales_pricing_unit_size" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="purchase_pricing_unit" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="purchase_pricing_unit_size" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="default_selling_unit" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="default_purchasing_unit" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="restricted_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="location_id" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="qty_on_hand" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="qty_in_process" nillable="true" minOccurs="0" type="xsd:decimal"/><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="company_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="last_rec_po" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="last_rec_po_with_disc" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="gl_account_no" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="purch_or_transfer" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="next_due_in_po_cost" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="next_due_in_po_date" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="revenue_account_no" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="cos_account_no" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="sellable" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="moving_average_cost" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="standard_cost" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="protected_stock_qty" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="inv_min" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="inv_max" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="safety_stock" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="stockable" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="replenishment_location" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="months_in_season" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="average_monthly_usage" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="product_group_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="purchase_class" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="cycle_counting_category" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="purchase_discount_group" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="sales_discount_group" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="no_charge" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="price1" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="price2" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="price3" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="price4" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="price5" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="price6" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="price7" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="price8" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="price9" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="price10" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="replenishment_method" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="order_quantity" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="qty_allocated" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="qty_backordered" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="qty_in_transit" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="track_bins" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="default_in_oe" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="period_first_stocked" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="year_first_stocked" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="usage_lock" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="usage_lock_period" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="usage_lock_year" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="primary_bin" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="tax_group_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="qty_reserved_due_in" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="date_last_counted" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="inv_mast_uid" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="requisition" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="deadstock_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="lot_bin_integration" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="add_to_cycle_count" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="default_shipment" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="primary_supplier_id" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="on_obt_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="on_release_schedule_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="on_backorder_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="last_sale_date" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="last_purchase_date" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="buy" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="make" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="created_by" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="periods_to_supply_min" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="periods_to_supply_max" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="putaway_rank" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="inv_last_changed_date" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="iva_taxable_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="item_putaway_attribute_uid" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="splittable_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="min_replenishment_qty" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="discontinued" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="allow_ds_discontinued_items" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="allow_sp_discontinued_items" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="safety_stock_type" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="service_level_measure" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="service_level_pct_goal" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="demand_pattern_cd" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="demand_pattern_evaluation_date" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="demand_forecast_formula_uid" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="pattern_manually_edited_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="demand_pattern_behavior_cd" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="pattern_like_inv_mast_uid" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="pattern_like_location_id" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="behaves_like_lock_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="behaves_like_lock_period" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="behaves_like_lock_year" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="landed_cost_account_no" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="price_family_uid" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="delete_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="default_selling_unit1" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="cardlock_product_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="loc_item_type_cd" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="loc_cust_parent_inv_mast_uid" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="main_bulk_location_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="dflt_source_loc_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="cycle_count_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="promotional_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="rma_revenue_account_no" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="future_standard_cost" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="effective_date" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="assembly_prompt_option" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="restricted_flag1" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="drp_item_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="saved_demand_forecast_formula_uid" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="demand_formula_computed_year_period" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="demand_pattern_computed_year_period" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="year_period_last_forecast" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="vendor_rebate_account_no" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="transfer_usage_percent" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="manufacturer_req_stock_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="fc_bin" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="pumpoff_item" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="pumpoff_uom" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="on_future_order_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="on_future_prod_order_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="max_liability" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="max_transfer_qty" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="alt_tax_group_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="qty_quarantined" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="qty_non_pickable" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="name" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="phys_address1" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="phys_address2" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="phys_city" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="phys_state" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="phys_postal_code" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="phys_country" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="central_phone_Number" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="central_fax_number" 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 = "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="ItemsWarehouseProductSelectRequest" > 
			<wsdl:part name="parameters" element="tns:ItemsWarehouseProductSelectRequestContainer" />
		</wsdl:message>
		 <wsdl:message name="ItemsWarehouseProductSelectResponse" >
			<wsdl:part name="parameters" element="tns:ItemsWarehouseProductSelectResponseContainerList" />
		</wsdl:message>

		 <wsdl:message name="faultMsg">
		  <wsdl:part name="fault" element="tns:FaultContainer" /> 
		 </wsdl:message>

		<wsdl:portType name="ItemsWarehouseProductSelect">
			<wsdl:operation name="ItemsWarehouseProductSelect">
			<wsdl:input wsaw:Action="https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=ItemsWarehouseProductSelect" message="tns:ItemsWarehouseProductSelectRequest" />
			<wsdl:output wsaw:Action="https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=ItemsWarehouseProductSelect" message="tns:ItemsWarehouseProductSelectResponse" />
			<wsdl:fault name="fault" message="tns:faultMsg"/>
			 </wsdl:operation>
		</wsdl:portType>

		<wsdl:binding name="DefaultBinding_ItemsWarehouseProductSelect" type="tns:ItemsWarehouseProductSelect">
		 <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
		 <wsdl:operation name="ItemsWarehouseProductSelect">
		  <soap:operation soapAction="https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=ItemsWarehouseProductSelect" 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="ItemsWarehouseProductSelectService">
			    <wsdl:port name="ItemsWarehouseProductSelect" binding="tns:DefaultBinding_ItemsWarehouseProductSelect">
			       <soap:address location="https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=ItemsWarehouseProductSelect" />
			   </wsdl:port> 
		 </wsdl:service>
	</wsdl:definitions>
