<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/p21/ws.aspx?result=ws&amp;v=1&amp;api=SalesOrderLinesSelect" 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/p21/ws.aspx?result=ws&amp;v=1&amp;api=SalesOrderLinesSelect" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">

	 <wsdl:types>
	 <xsd:schema targetNamespace="https://connector.greywolf.com/p21/ws.aspx?result=ws&amp;v=1&amp;api=SalesOrderLinesSelect" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema">
	<xsd:element  name="SalesOrderLinesSelectRequestContainer">
	 <xsd:complexType>
	  <xsd:sequence>
		<xsd:element name="company_id" minOccurs="1" type="xsd:string"/>
		<xsd:element name="order_id" minOccurs="1" type="xsd:decimal"/>
		<xsd:element name="APIKey"  minOccurs="1" type="xsd:string"/>
	  </xsd:sequence>
	</xsd:complexType>
	 </xsd:element>
	<xsd:element name="SalesOrderLinesSelectResponseContainerList">
	 <xsd:complexType>
	 <xsd:sequence>
	 <xsd:element maxOccurs="unbounded" minOccurs="0" name="SalesOrderLinesSelectResponseContainerItems" nillable="true" type="tns:SalesOrderLinesSelectResponseContainer" />
	 </xsd:sequence>
	 </xsd:complexType>
	</xsd:element>  
	   <xsd:complexType name="SalesOrderLinesSelectResponseContainer" >
	    <xsd:sequence maxOccurs="unbounded">
<xsd:element name="order_no" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="company_no" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="line_no" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="unit_price" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="qty_ordered" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="qty_per_assembly" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="delete_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="manual_price_overide" 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="extended_price" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="sales_tax" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="line_no1" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="complete" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="unit_of_measure" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="base_ut_price" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="calc_type" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="calc_value" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="combinable" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="disposition" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="qty_allocated" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="qty_on_pick_tickets" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="qty_invoiced" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="expedite_date" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="required_date" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="source_loc_id" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="ship_loc_id" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="supplier_id" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="product_group_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="assembly" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="scheduled" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="lot_bill" 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="unit_size" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="unit_quantity" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="next_break" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="next_ut_price" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="customer_part_number" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="tax_item" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="ok_to_interchange" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="other_charge" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="sales_cost" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="commission_cost" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="requested_downpayment" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="downpayment_date" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="will_call" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="other_cost" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="downpayment_remaining" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="cancel_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="commission_cost_edited" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="other_cost_edited" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="po_cost" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="qty_canceled" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="pricing_unit" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="pricing_unit_size" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="qty_staged" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="item_source" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="price_page_uid" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="pricing_option" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="detail_type" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="item_terms_discount_pct" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="inv_mast_uid" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="freight_in" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="substitute_item" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="pick_date" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="shipping_route_uid" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="hose_qty_needed" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="created_by" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="original_qty_ordered" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="cost_center" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="disposition_edited_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="dea_restriction_failed" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="restock_fee_percentage" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="customer_configured_price" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="cust_po_no" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="use_contract_cost" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="cost_price_page_uid" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="package_type_uid" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="used_specific_cost_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="acknowledgement_date" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="quote_outcome_cd" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="routing_status_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="additional_description" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="bill_hold_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="core_price" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="environmental_fee" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="admin_fee" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="ext_disc_amt" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="system_calc_unit_price" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="buyer" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="recipient" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="strategic_unit_price" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="strategic_price_page_uid" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="verified_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="verified_code" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="core_status_cd" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="used_strategic_pricing_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="original_unit_price" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="original_freight_in" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="tank_name" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="split_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="special_item_indicator" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="awarded_date" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="sample_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="routing_allocation_change" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="price1" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="unit_pick_fee" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="oe_line_alt_code" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="retail_price" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="belting_width" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="belting_length" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="weight" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="cube" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="belting_num_cuts" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="carrier_id" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="freight_in_edited_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="sales_discount_group_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="price_family_uid" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="edi830_last_shipment_no" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="edi830_last_receive_qty" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="edi830_last_receive_date" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="faspac_ytd_qty_invoiced" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="price_adj_note" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="gl_code" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="line_discount" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="line_discount_description" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="line_seq_no" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="oe_buy_get_rewards_uid" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="oe_line_uid" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="restricted_by_address_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="secondary_unit_price" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="secondary_extended_price" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="original_disposition" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="extended_item_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="item_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="oe_hdr_uid" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="parent_oe_line_uid" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="ErrorCode" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="ErrorDescription" 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="SalesOrderLinesSelectRequest" > 
			<wsdl:part name="parameters" element="tns:SalesOrderLinesSelectRequestContainer" />
		</wsdl:message>
		 <wsdl:message name="SalesOrderLinesSelectResponse" >
			<wsdl:part name="parameters" element="tns:SalesOrderLinesSelectResponseContainerList" />
		</wsdl:message>

		 <wsdl:message name="faultMsg">
		  <wsdl:part name="fault" element="tns:FaultContainer" /> 
		 </wsdl:message>

		<wsdl:portType name="SalesOrderLinesSelect">
			<wsdl:operation name="SalesOrderLinesSelect">
			<wsdl:input wsaw:Action="https://connector.greywolf.com/p21/ws.aspx?result=ws&amp;v=1&amp;api=SalesOrderLinesSelect" message="tns:SalesOrderLinesSelectRequest" />
			<wsdl:output wsaw:Action="https://connector.greywolf.com/p21/ws.aspx?result=ws&amp;v=1&amp;api=SalesOrderLinesSelect" message="tns:SalesOrderLinesSelectResponse" />
			<wsdl:fault name="fault" message="tns:faultMsg"/>
			 </wsdl:operation>
		</wsdl:portType>

		<wsdl:binding name="DefaultBinding_SalesOrderLinesSelect" type="tns:SalesOrderLinesSelect">
		 <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
		 <wsdl:operation name="SalesOrderLinesSelect">
		  <soap:operation soapAction="https://connector.greywolf.com/p21/ws.aspx?result=ws&amp;v=1&amp;api=SalesOrderLinesSelect" 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="SalesOrderLinesSelectService">
			    <wsdl:port name="SalesOrderLinesSelect" binding="tns:DefaultBinding_SalesOrderLinesSelect">
			       <soap:address location="https://connector.greywolf.com/p21/ws.aspx?result=ws&amp;v=1&amp;api=SalesOrderLinesSelect" />
			   </wsdl:port> 
		 </wsdl:service>
	</wsdl:definitions>
