<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/sx/ws.aspx?result=ws&amp;v=1&amp;api=SalesOrderSelect" 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/sx/ws.aspx?result=ws&amp;v=1&amp;api=SalesOrderSelect" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">

	 <wsdl:types>
	 <xsd:schema targetNamespace="https://connector.greywolf.com/sx/ws.aspx?result=ws&amp;v=1&amp;api=SalesOrderSelect" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema">
	<xsd:element  name="SalesOrderSelectRequestContainer" >
	 <xsd:complexType>
	  <xsd:sequence>
		<xsd:element name="cono" minOccurs="1" type="xsd:decimal"/>
		<xsd:element name="brs-orderno" minOccurs="1" type="xsd:decimal"/>
		<xsd:element name="brs-ordersuf" minOccurs="0" type="xsd:decimal"/>
		<xsd:element name="APIKey"  minOccurs="1" type="xsd:string"/>
	  </xsd:sequence>
	</xsd:complexType>
	 </xsd:element>
	<xsd:element name="SalesOrderSelectResponseContainerList">
	 <xsd:complexType>
	 <xsd:sequence>
	 <xsd:element maxOccurs="unbounded" minOccurs="0" name="SalesOrderSelectResponseContainerItems" nillable="true" type="tns:SalesOrderSelectResponseContainer" />
	 </xsd:sequence>
	 </xsd:complexType>
	</xsd:element>  
	   <xsd:complexType name="SalesOrderSelectResponseContainer" >
	    <xsd:sequence maxOccurs="unbounded">
<xsd:element name="cono" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="orderno" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="ordersuf" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="custno" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="shipto" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="custpo" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="errorcd" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="errordesc" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="enterdt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="shipdt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="stagecd" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="shiptonm" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="shiptoaddr1" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="shiptoaddr2" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="shiptocity" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="shiptost" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="shiptozip" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="actfreight" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="codcollamt" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="taxamt" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="totlineamt" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="totinvamt" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="ordernum" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="invoicenum" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="transtype" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="typedesc" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="stagedesc" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="orderdisp" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="dispdesc" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="approvty" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="takenby" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="sourcepros" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="whse" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="whsenm" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="entertm" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="promisedt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="reqshipdt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="billdt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="canceldt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="invoicedt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="paiddt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="createdt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="operinit" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="transdt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="transtm" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="shipinstr" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="refer" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="slsrepout" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="slsrepoutnm" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="slsrepin" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="slsrepinnm" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="shipviaty" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="shipviadesc" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="termstype" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="termsdesc" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="addondesc" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="addonnet" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="totdatccost" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="totlineord" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="tendamt" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="wodiscamt" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="specdiscamt" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="termsdisc" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="termsdiscamt" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="totcost" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="oppnum" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="termspct" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="bofl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="subfl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="notes" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="nprintfl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="placedby" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="balancedue" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="restockamt" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="inbndfrtfl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="outbndfrtfl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="email" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="user1" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="user2" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="user3" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="user4" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="user5" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="user6" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="user7" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="user8" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="user9" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="user10" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="user11" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="user12" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="user13" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="user14" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="user15" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="user16" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="user17" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="user18" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="user19" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="user20" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="user21" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="user22" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="user23" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="user24" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="borelfl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="codfl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="shiptoaddr3" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="divno" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="pickeddt" 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="SalesOrderSelectRequest" > 
			<wsdl:part name="parameters" element="tns:SalesOrderSelectRequestContainer" />
		</wsdl:message>
		 <wsdl:message name="SalesOrderSelectResponse" >
			<wsdl:part name="parameters" element="tns:SalesOrderSelectResponseContainerList" />
		</wsdl:message>

		 <wsdl:message name="faultMsg">
		  <wsdl:part name="fault" element="tns:FaultContainer" /> 
		 </wsdl:message>

		<wsdl:portType name="SalesOrderSelect">
			<wsdl:operation name="SalesOrderSelect">
			<wsdl:input wsaw:Action="https://connector.greywolf.com/sx/ws.aspx?result=ws&amp;v=1&amp;api=SalesOrderSelect" message="tns:SalesOrderSelectRequest" />
			<wsdl:output wsaw:Action="https://connector.greywolf.com/sx/ws.aspx?result=ws&amp;v=1&amp;api=SalesOrderSelect" message="tns:SalesOrderSelectResponse" />
			<wsdl:fault name="fault" message="tns:faultMsg"/>
			 </wsdl:operation>
		</wsdl:portType>

		<wsdl:binding name="DefaultBinding_SalesOrderSelect" type="tns:SalesOrderSelect">
		 <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
		 <wsdl:operation name="SalesOrderSelect">
		  <soap:operation soapAction="https://connector.greywolf.com/sx/ws.aspx?result=ws&amp;v=1&amp;api=SalesOrderSelect" 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="SalesOrderSelectService">
			    <wsdl:port name="SalesOrderSelect" binding="tns:DefaultBinding_SalesOrderSelect">
			       <soap:address location="https://connector.greywolf.com/sx/ws.aspx?result=ws&amp;v=1&amp;api=SalesOrderSelect" />
			   </wsdl:port> 
		 </wsdl:service>
	</wsdl:definitions>
