<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=ContactSelect" 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=ContactSelect" 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=ContactSelect" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema">
	<xsd:element  name="ContactSelectRequestContainer">
	 <xsd:complexType>
	  <xsd:sequence>
		<xsd:element name="id" minOccurs="1" type="xsd:string" />
		<xsd:element name="APIKey"  minOccurs="1" type="xsd:string"/>
	  </xsd:sequence>
	</xsd:complexType>
	 </xsd:element>
	<xsd:element name="ContactSelectResponseContainerList">
	 <xsd:complexType>
	 <xsd:sequence>
	 <xsd:element maxOccurs="unbounded" minOccurs="0" name="ContactSelectResponseContainerItems" nillable="true" type="tns:ContactSelectResponseContainer" />
	 </xsd:sequence>
	 </xsd:complexType>
	</xsd:element>  
	   <xsd:complexType name="ContactSelectResponseContainer" >
	    <xsd:sequence maxOccurs="unbounded">
<xsd:element name="id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="address_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="first_name" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="last_name" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="direct_phone" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="phone_ext" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="direct_fax" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="cellular" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="email_address" 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="home_phone" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="email_address2" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="delete_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="salesrep" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="buyer" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="dealer" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="url" 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="employee" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="commission_class_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="company_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="vendor_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="address_name" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="driver" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="inside_salesrep_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="default_branch_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="technician" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="location_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="sales_manager_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="roadnet_driver_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="contact_role_uid" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="contact_type_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="delivery_output_cd" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="salesrep_default_location_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="rental_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="contact_name" 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="ContactSelectRequest" > 
			<wsdl:part name="parameters" element="tns:ContactSelectRequestContainer" />
		</wsdl:message>
		 <wsdl:message name="ContactSelectResponse" >
			<wsdl:part name="parameters" element="tns:ContactSelectResponseContainerList" />
		</wsdl:message>

		 <wsdl:message name="faultMsg">
		  <wsdl:part name="fault" element="tns:FaultContainer" /> 
		 </wsdl:message>

		<wsdl:portType name="ContactSelect">
			<wsdl:operation name="ContactSelect">
			<wsdl:input wsaw:Action="https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=ContactSelect" message="tns:ContactSelectRequest" />
			<wsdl:output wsaw:Action="https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=ContactSelect" message="tns:ContactSelectResponse" />
			<wsdl:fault name="fault" message="tns:faultMsg"/>
			 </wsdl:operation>
		</wsdl:portType>

		<wsdl:binding name="DefaultBinding_ContactSelect" type="tns:ContactSelect">
		 <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
		 <wsdl:operation name="ContactSelect">
		  <soap:operation soapAction="https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=ContactSelect" 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="ContactSelectService">
			    <wsdl:port name="ContactSelect" binding="tns:DefaultBinding_ContactSelect">
			       <soap:address location="https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=ContactSelect" />
			   </wsdl:port> 
		 </wsdl:service>
	</wsdl:definitions>
