<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=PurchasingOrderLinesSelect" 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=PurchasingOrderLinesSelect" 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=PurchasingOrderLinesSelect" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema">
	<xsd:element  name="PurchasingOrderLinesSelectRequestContainer">
	 <xsd:complexType>
	  <xsd:sequence>
		<xsd:element name="company_id" minOccurs="1" type="xsd:string" />
		<xsd:element name="po_no" minOccurs="1" type="xsd:string" />
		<xsd:element name="APIKey"  minOccurs="1" type="xsd:string"/>
	  </xsd:sequence>
	</xsd:complexType>
	 </xsd:element>
	<xsd:element name="PurchasingOrderLinesSelectResponseContainerList">
	 <xsd:complexType>
	 <xsd:sequence>
	 <xsd:element maxOccurs="unbounded" minOccurs="0" name="PurchasingOrderLinesSelectResponseContainerItems" nillable="true" type="tns:PurchasingOrderLinesSelectResponseContainer" />
	 </xsd:sequence>
	 </xsd:complexType>
	</xsd:element>  
	   <xsd:complexType name="PurchasingOrderLinesSelectResponseContainer" >
	    <xsd:sequence maxOccurs="unbounded">
<xsd:element name="po_no" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="qty_ordered" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="qty_received" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="received_date" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="unit_price" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="company_no" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="mfg_part_no" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="delete_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="date_due" 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="next_due_in_po_cost" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="complete" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="vouch_completed" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="cancel_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="in_bound_curry_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="account_no" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="qty_to_vouch" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="closed_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="item_description" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="unit_of_measure" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="unit_size" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="unit_quantity" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="line_no" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="pricing_book_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="pricing_book_item_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="pricing_book_supplier_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="pricing_book_disc_grp_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="pricing_book_effective_date" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="combinable" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="calc_type" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="calc_value" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="required_date" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="next_break" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="next_ut_price" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="base_ut_price" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="price_edit" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="new_item" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="quantity_changed" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="pricing_unit" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="pricing_unit_size" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="extended_desc" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="unit_price_display" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="inv_mast_uid" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="exclude_from_lead_time" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="source_type" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="exp_date_updates" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="po_line_uid" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="edi_new_status" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="line_type" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="contract_number" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="created_by" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="parent_po_line_no" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="supplier_ship_date" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="entered_as_code" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="gpor_run_uid" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="purchase_pricing_page_uid" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="expedite_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="original_unit_price_display" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="retrieved_by_wms" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="expedite_notes" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="expedite_followup_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="desired_receipt_location_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="acknowledged_date" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="country_of_origin" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="b3_qty" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="qty_ready" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="qty_ready_unit_size" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="qty_ready_uom" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="unit_qty_ready" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="bulk_buy_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="cad_purchase_cost" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="list_price_multiplier" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="carrier_status" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="expected_ship_date" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="date_due_last_modified" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="acknowledged" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="special_buy" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="received_cost" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="in_bound_freight" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="vouch_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="home_cost_amt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="home_in_bound_frt_amt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="non_inventory" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="encumbered_amount" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="item_id" 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="PurchasingOrderLinesSelectRequest" > 
			<wsdl:part name="parameters" element="tns:PurchasingOrderLinesSelectRequestContainer" />
		</wsdl:message>
		 <wsdl:message name="PurchasingOrderLinesSelectResponse" >
			<wsdl:part name="parameters" element="tns:PurchasingOrderLinesSelectResponseContainerList" />
		</wsdl:message>

		 <wsdl:message name="faultMsg">
		  <wsdl:part name="fault" element="tns:FaultContainer" /> 
		 </wsdl:message>

		<wsdl:portType name="PurchasingOrderLinesSelect">
			<wsdl:operation name="PurchasingOrderLinesSelect">
			<wsdl:input wsaw:Action="https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=PurchasingOrderLinesSelect" message="tns:PurchasingOrderLinesSelectRequest" />
			<wsdl:output wsaw:Action="https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=PurchasingOrderLinesSelect" message="tns:PurchasingOrderLinesSelectResponse" />
			<wsdl:fault name="fault" message="tns:faultMsg"/>
			 </wsdl:operation>
		</wsdl:portType>

		<wsdl:binding name="DefaultBinding_PurchasingOrderLinesSelect" type="tns:PurchasingOrderLinesSelect">
		 <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
		 <wsdl:operation name="PurchasingOrderLinesSelect">
		  <soap:operation soapAction="https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=PurchasingOrderLinesSelect" 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="PurchasingOrderLinesSelectService">
			    <wsdl:port name="PurchasingOrderLinesSelect" binding="tns:DefaultBinding_PurchasingOrderLinesSelect">
			       <soap:address location="https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=PurchasingOrderLinesSelect" />
			   </wsdl:port> 
		 </wsdl:service>
	</wsdl:definitions>
