<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=SalesCustomerAddressSelect" 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=SalesCustomerAddressSelect" 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=SalesCustomerAddressSelect" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema">
	<xsd:element  name="SalesCustomerAddressSelectRequestContainer">
	 <xsd:complexType>
	  <xsd:sequence>
		<xsd:element name="address_id" minOccurs="0" type="xsd:string" />
		<xsd:element name="corp_address_id" minOccurs="0" type="xsd:string" />
		<xsd:element name="APIKey"  minOccurs="1" type="xsd:string"/>
	  </xsd:sequence>
	</xsd:complexType>
	 </xsd:element>
	<xsd:element name="SalesCustomerAddressSelectResponseContainerList">
	 <xsd:complexType>
	 <xsd:sequence>
	 <xsd:element maxOccurs="unbounded" minOccurs="0" name="SalesCustomerAddressSelectResponseContainerItems" nillable="true" type="tns:SalesCustomerAddressSelectResponseContainer" />
	 </xsd:sequence>
	 </xsd:complexType>
	</xsd:element>  
	   <xsd:complexType name="SalesCustomerAddressSelectResponseContainer" >
	    <xsd:sequence maxOccurs="unbounded">
<xsd:element name="id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="name" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="corp_address_id" 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="mail_country" 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="federal_id_number" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="resale_certificate" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="ups_code" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="billing_address_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="credit_address_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="customer" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="vendor" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="employee" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="prospect" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="billing_address" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="shipping_address" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="payment_address" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="incorporated" 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="delete_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="default_ship_time" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="preferred_location_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="carrier_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="delivery_instructions1" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="delivery_instructions2" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="delivery_instructions3" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="mor_beg_delivery" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="mor_end_delivery" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="eve_beg_delivery" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="eve_end_delivery" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="inventory_location_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="show_out_items" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="store_no" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="invoice_type" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="address_id_string" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="carrier_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="default_carrier_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="trade_percent_disc" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="class1_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="class2_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="class3_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="class4_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="class5_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="central_watts_number" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="alternative_1099_name" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="name_control" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="default_ship_to_company" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="default_ship_to_branch" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="ship_to_packing_basis" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="bill_of_lading_type" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="email_address" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="url" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="carrier_fedex_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="routeview_require_routing_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="carrier_type_cd" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="carrier_do_not_route_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="roadnet_do_not_route_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="carrier_strategic_freight_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="carrier_fixed_freight_charge" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="carrier_freight_est_percentage" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="expedited_freight_option_cd" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="order_priority_uid" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="dc_do_not_route_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="roadnet_pt_print_option" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="sfdc_account_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="sfdc_create_date" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="sfdc_update_date" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="carrier_fixed_freight_markup" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="phys_county" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="scac_code" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="freight_code_uid" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="carrier_pallet_weight_limit" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="carrier_pallet_freight_charge" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="carrier_transit_days" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="fidelitone_carrier_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="mail_address3" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="phys_address3" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="shipping_route_uid" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="freight_surcharge_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="freight_surcharge_pkg_weight" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="freight_surcharge_per_pkg" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="express_carrier_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="carrier_provider_type_uid" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="rate_group_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="latitude" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="longitude" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="ltl_freight_calc_percentage" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="parcel_carrier_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="dq_do_not_route_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="dq_print_pt_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="transportation_type_code" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="libra_customer_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="price_file_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="fob" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="terms_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="libra_vendor_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="publisher" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="preferred_vendor_id" nillable="true" minOccurs="0" type="xsd:string"/><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:string"/><xsd:element name="old_address_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="federal_exemption_number" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="other_exemption_number" 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="SalesCustomerAddressSelectRequest" > 
			<wsdl:part name="parameters" element="tns:SalesCustomerAddressSelectRequestContainer" />
		</wsdl:message>
		 <wsdl:message name="SalesCustomerAddressSelectResponse" >
			<wsdl:part name="parameters" element="tns:SalesCustomerAddressSelectResponseContainerList" />
		</wsdl:message>

		 <wsdl:message name="faultMsg">
		  <wsdl:part name="fault" element="tns:FaultContainer" /> 
		 </wsdl:message>

		<wsdl:portType name="SalesCustomerAddressSelect">
			<wsdl:operation name="SalesCustomerAddressSelect">
			<wsdl:input wsaw:Action="https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=SalesCustomerAddressSelect" message="tns:SalesCustomerAddressSelectRequest" />
			<wsdl:output wsaw:Action="https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=SalesCustomerAddressSelect" message="tns:SalesCustomerAddressSelectResponse" />
			<wsdl:fault name="fault" message="tns:faultMsg"/>
			 </wsdl:operation>
		</wsdl:portType>

		<wsdl:binding name="DefaultBinding_SalesCustomerAddressSelect" type="tns:SalesCustomerAddressSelect">
		 <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
		 <wsdl:operation name="SalesCustomerAddressSelect">
		  <soap:operation soapAction="https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=SalesCustomerAddressSelect" 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="SalesCustomerAddressSelectService">
			    <wsdl:port name="SalesCustomerAddressSelect" binding="tns:DefaultBinding_SalesCustomerAddressSelect">
			       <soap:address location="https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=SalesCustomerAddressSelect" />
			   </wsdl:port> 
		 </wsdl:service>
	</wsdl:definitions>
