<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=SalesOrderList" 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=SalesOrderList" 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=SalesOrderList" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema">
	<xsd:element  name="SalesOrderListRequestContainer" >
	 <xsd:complexType>
	  <xsd:sequence>
		<xsd:element name="cono" minOccurs="1" type="xsd:decimal"/>
		<xsd:element name="brs-custno" minOccurs="0" type="xsd:decimal"/>
		<xsd:element name="brs-shipto" minOccurs="0" type="xsd:string"/>
		<xsd:element name="brs-transtype" minOccurs="0" type="xsd:string"/>
		<xsd:element name="brs-whse" minOccurs="0" type="xsd:string"/>
		<xsd:element name="brs-custpo" minOccurs="0" type="xsd:string"/>
		<xsd:element name="brs-beginscustpo" minOccurs="0" type="xsd:string"/>
		<xsd:element name="brs-prod" minOccurs="0" type="xsd:string"/>
		<xsd:element name="brs-vendno" minOccurs="0" type="xsd:decimal"/>
		<xsd:element name="brs-b-stagecd" minOccurs="0" type="xsd:decimal"/>
		<xsd:element name="brs-e-stagecd" minOccurs="0" type="xsd:decimal"/>
		<xsd:element name="brs-b-enterdt" minOccurs="0" type="xsd:string"/>
		<xsd:element name="brs-e-enterdt" minOccurs="0" type="xsd:string"/>
		<xsd:element name="brs-b-invoicedt" minOccurs="0" type="xsd:string"/>
		<xsd:element name="brs-e-invoicedt" minOccurs="0" type="xsd:string"/>
		<xsd:element name="brs-b-moddate" minOccurs="0" type="xsd:string"/>
		<xsd:element name="brs-e-moddate" minOccurs="0" type="xsd:string"/>
		<xsd:element name="brs-floorplancustfl" minOccurs="0" type="xsd:string"/>
		<xsd:element name="APIKey"  minOccurs="1" type="xsd:string"/>
	  </xsd:sequence>
	</xsd:complexType>
	 </xsd:element>
	<xsd:element name="SalesOrderListResponseContainerList">
	 <xsd:complexType>
	 <xsd:sequence>
	 <xsd:element maxOccurs="unbounded" minOccurs="0" name="SalesOrderListResponseContainerItems" nillable="true" type="tns:SalesOrderListResponseContainer" />
	 </xsd:sequence>
	 </xsd:complexType>
	</xsd:element>  
	   <xsd:complexType name="SalesOrderListResponseContainer" >
	    <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="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="boexists" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="borelfl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="whseaddr1" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="whseaddr2" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="whsecity" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="whsest" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="whsezip" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="whseduns" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="whsephone" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="whseuser1" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="whseuser2" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="custnm" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="custaddr1" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="custaddr2" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="custcity" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="custst" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="custzip" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="billtophone" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="billtouser1" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="billtouser2" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="billtoduns" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="shiptouser1" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="shiptouser2" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="shiptoduns" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="placedby" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="notes" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="totqtyord" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="totqtyshp" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="totcorechg" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="totrestkamt" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="discdays" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="duedays" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="discdt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="duedt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="vendno" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="transdesc" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="shiptotpid" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="billtocd" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="billtonm" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="billtoaddr1" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="billtoaddr2" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="billtocity" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="billtost" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="billtozip" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="remittonm" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="remittoaddr1" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="remittoaddr2" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="remittocity" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="remittost" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="remittozip" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="remittoduns" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="remittouser1" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="remittouser2" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="statecd" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="operinit" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="nolineitem" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="addonamt" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="addonno" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="wodisctype" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="notesfl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="taxsaleamt" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="borelno" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="totordamt" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="wodiscpct" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="totprice" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="totqtyret" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="bostage" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="countrycd" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="currencyty" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="contactid" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="acktype" 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="nolnnotbo" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="nopackages" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="psttaxamt" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="route" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="pkglabel" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="poissdt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="shippingpt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="pkgid" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="totweight" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="totcubes" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="fpcustno" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="balancedue" nillable="true" minOccurs="0" type="xsd:decimal"  /><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="SalesOrderListRequest" > 
			<wsdl:part name="parameters" element="tns:SalesOrderListRequestContainer" />
		</wsdl:message>
		 <wsdl:message name="SalesOrderListResponse" >
			<wsdl:part name="parameters" element="tns:SalesOrderListResponseContainerList" />
		</wsdl:message>

		 <wsdl:message name="faultMsg">
		  <wsdl:part name="fault" element="tns:FaultContainer" /> 
		 </wsdl:message>

		<wsdl:portType name="SalesOrderList">
			<wsdl:operation name="SalesOrderList">
			<wsdl:input wsaw:Action="https://connector.greywolf.com/sx/ws.aspx?result=ws&amp;v=1&amp;api=SalesOrderList" message="tns:SalesOrderListRequest" />
			<wsdl:output wsaw:Action="https://connector.greywolf.com/sx/ws.aspx?result=ws&amp;v=1&amp;api=SalesOrderList" message="tns:SalesOrderListResponse" />
			<wsdl:fault name="fault" message="tns:faultMsg"/>
			 </wsdl:operation>
		</wsdl:portType>

		<wsdl:binding name="DefaultBinding_SalesOrderList" type="tns:SalesOrderList">
		 <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
		 <wsdl:operation name="SalesOrderList">
		  <soap:operation soapAction="https://connector.greywolf.com/sx/ws.aspx?result=ws&amp;v=1&amp;api=SalesOrderList" 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="SalesOrderListService">
			    <wsdl:port name="SalesOrderList" binding="tns:DefaultBinding_SalesOrderList">
			       <soap:address location="https://connector.greywolf.com/sx/ws.aspx?result=ws&amp;v=1&amp;api=SalesOrderList" />
			   </wsdl:port> 
		 </wsdl:service>
	</wsdl:definitions>
