<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=SalesCustomerExtract" 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=SalesCustomerExtract" 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=SalesCustomerExtract" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema">
	<xsd:element  name="SalesCustomerExtractRequestContainer">
	 <xsd:complexType>
	  <xsd:sequence>
		<xsd:element name="company_id" minOccurs="1" type="xsd:string"/>
		<xsd:element name="brs-b-mod_date" minOccurs="1" type="xsd:string"/>
		<xsd:element name="brs-e-mod_date" minOccurs="1" type="xsd:string"/>
		<xsd:element name="APIKey"  minOccurs="1" type="xsd:string"/>
	  </xsd:sequence>
	</xsd:complexType>
	 </xsd:element>
	<xsd:element name="SalesCustomerExtractResponseContainerList">
	 <xsd:complexType>
	 <xsd:sequence>
	 <xsd:element maxOccurs="unbounded" minOccurs="0" name="SalesCustomerExtractResponseContainerItems" nillable="true" type="tns:SalesCustomerExtractResponseContainer" />
	 </xsd:sequence>
	 </xsd:complexType>
	</xsd:element>  
	   <xsd:complexType name="SalesCustomerExtractResponseContainer" >
	    <xsd:sequence maxOccurs="unbounded">
<xsd:element name="customer_name" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="mail_address1" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="mail_address2" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="mail_city" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="mail_state" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="mail_postal_code" 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="email_address" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="customer_id" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="company_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="taxable_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="credit_limit" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="credit_limit_used" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="terms_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="salesrep_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="delete_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="class_1id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="class_2id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="class_3id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="class_4id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="class_5id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="trade_percent_disc" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="accept_partial_orders" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="acceptable_wait_time" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="edi_or_paper" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="total_balance" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="accept_interchangeable_items" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="limit_max_shipments_per_order" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="sic_code" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="minimum_order_dollar_amount" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="floor_plan_account" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="statement_frequency_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="highest_credit_limit_used" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="billed_on_gross_net_qty" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="cod_required_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="pricing_method_cd" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="source_price_cd" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="multiplier" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="po_no_required" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="trading_partner_name" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="default_rebate_location_id" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="lot_bill_summary_on_invoices" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="print_zero_dollar_customers" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="job_pricing" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="record_type" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="record_source" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="print_lot_attrib_on_packlist" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="over_tolerance_percentage" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="under_tolerance_percentage" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="customer_type_cd" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="web_enabled_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="salesrep_assigned_date" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="clock_cell_tracking_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="environmental_fee_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="admin_fee_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="epa_cert_on_file_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="order_disc_type" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="purchasing_contact_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="customer_disc_pct" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="hold_invoice_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="generate_invoices_by" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="vendor_id" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="courtesy_past_due_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="generic_desc_on_packinglist_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="generic_desc_on_invoice_ack_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="fill_or_kill_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="prevent_dc_switching_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="bypass_def_item_uom_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="ups_code" 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: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="SalesCustomerExtractRequest" > 
			<wsdl:part name="parameters" element="tns:SalesCustomerExtractRequestContainer" />
		</wsdl:message>
		 <wsdl:message name="SalesCustomerExtractResponse" >
			<wsdl:part name="parameters" element="tns:SalesCustomerExtractResponseContainerList" />
		</wsdl:message>

		 <wsdl:message name="faultMsg">
		  <wsdl:part name="fault" element="tns:FaultContainer" /> 
		 </wsdl:message>

		<wsdl:portType name="SalesCustomerExtract">
			<wsdl:operation name="SalesCustomerExtract">
			<wsdl:input wsaw:Action="https://connector.greywolf.com/p21/ws.aspx?result=ws&amp;v=1&amp;api=SalesCustomerExtract" message="tns:SalesCustomerExtractRequest" />
			<wsdl:output wsaw:Action="https://connector.greywolf.com/p21/ws.aspx?result=ws&amp;v=1&amp;api=SalesCustomerExtract" message="tns:SalesCustomerExtractResponse" />
			<wsdl:fault name="fault" message="tns:faultMsg"/>
			 </wsdl:operation>
		</wsdl:portType>

		<wsdl:binding name="DefaultBinding_SalesCustomerExtract" type="tns:SalesCustomerExtract">
		 <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
		 <wsdl:operation name="SalesCustomerExtract">
		  <soap:operation soapAction="https://connector.greywolf.com/p21/ws.aspx?result=ws&amp;v=1&amp;api=SalesCustomerExtract" 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="SalesCustomerExtractService">
			    <wsdl:port name="SalesCustomerExtract" binding="tns:DefaultBinding_SalesCustomerExtract">
			       <soap:address location="https://connector.greywolf.com/p21/ws.aspx?result=ws&amp;v=1&amp;api=SalesCustomerExtract" />
			   </wsdl:port> 
		 </wsdl:service>
	</wsdl:definitions>
