<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=SalesCustomerPricingList" 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=SalesCustomerPricingList" 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=SalesCustomerPricingList" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema">
	<xsd:element  name="SalesCustomerPricingListRequestContainer">
	 <xsd:complexType>
	  <xsd:sequence>
		<xsd:element name="company_id" minOccurs="1" type="xsd:string" />
		<xsd:element name="customer_id" minOccurs="1" type="xsd:string" />
		<xsd:element name="sales_location_id" minOccurs="1" type="xsd:string" />
		<xsd:element name="ship_to_id" minOccurs="0" type="xsd:string" />
		<xsd:element name="order_date" minOccurs="0" type="xsd:string" />
		<xsd:element name="job_no" minOccurs="0" type="xsd:string" />
		<xsd:element name="APIKey"  minOccurs="1" type="xsd:string"/>
	<xsd:element name="SalesCustomerPricingListLinesRequestContainer" minOccurs="1" maxOccurs="unbounded">
	 <xsd:complexType >
	  <xsd:sequence>
		<xsd:element name="item_id" minOccurs="1" type="xsd:string"/>
		<xsd:element name="source_location_id" minOccurs="1" type="xsd:string"/>
		<xsd:element name="unit_size" minOccurs="0" type="xsd:string"/>
		<xsd:element name="unit_quantity" minOccurs="0" type="xsd:string"/>
		<xsd:element name="customer_part_no" minOccurs="1" type="xsd:string"/>
		<xsd:element name="uom" minOccurs="1" type="xsd:string"/>
	  </xsd:sequence><xsd:attribute name="id" type="xsd:string" />
	</xsd:complexType> 
	 </xsd:element>
	  </xsd:sequence>
	</xsd:complexType>
	 </xsd:element>
	<xsd:element name="SalesCustomerPricingListResponseContainerList">
	 <xsd:complexType>
	 <xsd:sequence>
	 <xsd:element maxOccurs="unbounded" minOccurs="0" name="SalesCustomerPricingListResponseContainerItems" nillable="true" type="tns:SalesCustomerPricingListResponseContainer" />
	 </xsd:sequence>
	 </xsd:complexType>
	</xsd:element>  
	   <xsd:complexType name="SalesCustomerPricingListResponseContainer" >
	    <xsd:sequence maxOccurs="unbounded">
<xsd:element name="ItemId" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="LocationId" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="QuantityAvailable" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="QuantityOnHand" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="QuantityAllocated" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="QuantityNonPickable" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="QuantityQuarantined" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="QuantityFrozen" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="LocationType" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="UnitPrice" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="BaseUnitPrice" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="UOM" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="UOMUnitSize" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="PricePageUid" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="PriceUOM" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="PriceUnitSize" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="ExtendedPrice" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="CalcValue" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="UnitCommissionCost" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="UnitOtherCost" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="UnitSalesCost" nillable="true" minOccurs="0" type="xsd:decimal"/><xsd:element name="LotCosted" nillable="true" minOccurs="0" type="xsd:decimal"/>		 <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="SalesCustomerPricingListRequest" > 
			<wsdl:part name="parameters" element="tns:SalesCustomerPricingListRequestContainer" />
		</wsdl:message>
		 <wsdl:message name="SalesCustomerPricingListResponse" >
			<wsdl:part name="parameters" element="tns:SalesCustomerPricingListResponseContainerList" />
		</wsdl:message>

		 <wsdl:message name="faultMsg">
		  <wsdl:part name="fault" element="tns:FaultContainer" /> 
		 </wsdl:message>

		<wsdl:portType name="SalesCustomerPricingList">
			<wsdl:operation name="SalesCustomerPricingList">
			<wsdl:input wsaw:Action="https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=SalesCustomerPricingList" message="tns:SalesCustomerPricingListRequest" />
			<wsdl:output wsaw:Action="https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=SalesCustomerPricingList" message="tns:SalesCustomerPricingListResponse" />
			<wsdl:fault name="fault" message="tns:faultMsg"/>
			 </wsdl:operation>
		</wsdl:portType>

		<wsdl:binding name="DefaultBinding_SalesCustomerPricingList" type="tns:SalesCustomerPricingList">
		 <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
		 <wsdl:operation name="SalesCustomerPricingList">
		  <soap:operation soapAction="https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=SalesCustomerPricingList" 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="SalesCustomerPricingListService">
			    <wsdl:port name="SalesCustomerPricingList" binding="tns:DefaultBinding_SalesCustomerPricingList">
			       <soap:address location="https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=SalesCustomerPricingList" />
			   </wsdl:port> 
		 </wsdl:service>
	</wsdl:definitions>
