<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/csd/ws.aspx?result=ws&amp;v=1&amp;api=PurchasingOrderList" 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/csd/ws.aspx?result=ws&amp;v=1&amp;api=PurchasingOrderList" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">

	 <wsdl:types>
	 <xsd:schema targetNamespace="https://connector.greywolf.com/csd/ws.aspx?result=ws&amp;v=1&amp;api=PurchasingOrderList" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema">
	<xsd:element  name="PurchasingOrderListRequestContainer">
	 <xsd:complexType>
	  <xsd:sequence>
		<xsd:element name="cono" minOccurs="1" type="xsd:decimal" />
		<xsd:element name="operinit" minOccurs="1" type="xsd:string" />
		<xsd:element name="vendno" minOccurs="1" type="xsd:decimal" />
		<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="shipfmno" minOccurs="0" type="xsd:decimal" />
		<xsd:element name="BatchSize" minOccurs="0" type="xsd:decimal" />
		<xsd:element name="APIKey"  minOccurs="1" type="xsd:string"/>
	  </xsd:sequence>
	</xsd:complexType>
	 </xsd:element>
	<xsd:element name="PurchasingOrderListResponseContainerList">
	 <xsd:complexType>
	 <xsd:sequence>
	 <xsd:element maxOccurs="unbounded" minOccurs="0" name="PurchasingOrderListResponseContainerItems" nillable="true" type="tns:PurchasingOrderListResponseContainer" />
	 </xsd:sequence>
	 </xsd:complexType>
	</xsd:element>  
	   <xsd:complexType name="PurchasingOrderListResponseContainer" >
	    <xsd:sequence maxOccurs="unbounded">
<xsd:element name="ackdt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="ackoper" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="ackrsn" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="acktype" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="actionty" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="addonamt1" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="addonamt2" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="addonamt3" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="addonamt4" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="addoncapfl1" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="addoncapfl2" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="addoncapfl3" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="addoncapfl4" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="addondist1" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="addondist2" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="addondist3" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="addondist4" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="addondistr" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="addonnet1" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="addonnet2" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="addonnet3" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="addonnet4" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="addonno1" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="addonno2" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="addonno3" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="addonno4" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="addontype1" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="addontype2" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="addontype3" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="addontype4" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="addressoverfl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="apholdfl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="apinvno" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="approvty" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="billtowhse" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="bofl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="borelfl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="brbono" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="buyer" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="closedapbatchfl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="commtype" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="confirmfl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="cono" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="contactid" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="contractno" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="correctionsuf" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="correctionty" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="costaddist" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="costeddt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="countrycd" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="createdby" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="crreasonty" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="cstoperinit" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="currencyty" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="divno" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="duedt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="dueoverfl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="enterdt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="esbpurchaseorderfl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="esbquotefl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="esbreceivedeliveryfl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="esbshipmentfl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="expoverfl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="expshipdt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="extshipinstr" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="fobfl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="freightexpectedty" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="frtbillacct" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="frttermscd" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="geocd" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="glupdfl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="ignoreltfl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="invexrate" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="jmjobid" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="jmjobrevno" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="jrnlno" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="jrnlno2" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="laststagecd" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="linefl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="manaddr1" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="manaddr2" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="manaddr3" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="mancity" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="manname" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="manstate" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="manzipcd" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="nextlineno" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="nocatwght" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="nolineitem" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="nonotresln" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="nosnlots" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="notesfl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="notimeschg" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="openinit" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="operinit" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="orderaltno" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="orderaltsuf" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="orderdisp" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="orderdt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="orgtotlineamt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="origduedt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="outofcityfl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="paiddt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="pocnt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="pono" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="posuf" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="printeddt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="printfl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="printprfl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="prodline" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="rcvexrate" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="rcvoperinit" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="rcvtaxamtau" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="receiptdt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="receiverno" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="refer" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="repricefl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="repricepct" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="reqoverfl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="reqshipdt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="resalefl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="resaleno" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="revalno" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="rowpointer" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="rushfl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="setno2" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="shipfmno" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="shipinstr" 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="shiptoaddr3" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="shiptocity" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="shiptonm" 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="shipviaty" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="stagecd" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="subfl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="suppwarrallownet" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="termstype" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="totcubes" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="totexpinv" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="totexprcv" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="totinvamt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="totlineamt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="totqtycost" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="totqtyord" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="totqtyrcv" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="totqtyrcvb" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="totrcvamt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="tottaxamtau" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="totuinvamt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="totweight" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="transdt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="transferloc" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="transdttmz" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="transproc" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="transtm" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="transtype" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="trhistfl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="user1" 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="user2" 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="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:string"/><xsd:element name="user7" nillable="true" minOccurs="0" type="xsd:string"/><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="vendno" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="vendordno" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="vendretauth" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="whse" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="wodiscamt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="wodiscdist" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="wodiscnet" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="wodiscres" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="wodisctype" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="poehRowID" 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 = "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="PurchasingOrderListRequest" > 
			<wsdl:part name="parameters" element="tns:PurchasingOrderListRequestContainer" />
		</wsdl:message>
		 <wsdl:message name="PurchasingOrderListResponse" >
			<wsdl:part name="parameters" element="tns:PurchasingOrderListResponseContainerList" />
		</wsdl:message>

		 <wsdl:message name="faultMsg">
		  <wsdl:part name="fault" element="tns:FaultContainer" /> 
		 </wsdl:message>

		<wsdl:portType name="PurchasingOrderList">
			<wsdl:operation name="PurchasingOrderList">
			<wsdl:input wsaw:Action="https://connector.greywolf.com/csd/ws.aspx?result=ws&amp;v=1&amp;api=PurchasingOrderList" message="tns:PurchasingOrderListRequest" />
			<wsdl:output wsaw:Action="https://connector.greywolf.com/csd/ws.aspx?result=ws&amp;v=1&amp;api=PurchasingOrderList" message="tns:PurchasingOrderListResponse" />
			<wsdl:fault name="fault" message="tns:faultMsg"/>
			 </wsdl:operation>
		</wsdl:portType>

		<wsdl:binding name="DefaultBinding_PurchasingOrderList" type="tns:PurchasingOrderList">
		 <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
		 <wsdl:operation name="PurchasingOrderList">
		  <soap:operation soapAction="https://connector.greywolf.com/csd/ws.aspx?result=ws&amp;v=1&amp;api=PurchasingOrderList" 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="PurchasingOrderListService">
			    <wsdl:port name="PurchasingOrderList" binding="tns:DefaultBinding_PurchasingOrderList">
			       <soap:address location="https://connector.greywolf.com/csd/ws.aspx?result=ws&amp;v=1&amp;api=PurchasingOrderList" />
			   </wsdl:port> 
		 </wsdl:service>
	</wsdl:definitions>
