<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=SalesOrderInsert" 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=SalesOrderInsert" 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=SalesOrderInsert" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema">
	<xsd:element  name="SalesOrderInsertRequestContainer" >
	 <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="transtype" minOccurs="1" type="xsd:string"/>
		<xsd:element name="batchnm" minOccurs="1" type="xsd:string"/>
		<xsd:element name="placedby" minOccurs="0" type="xsd:string"/>
		<xsd:element name="takenby" minOccurs="0" type="xsd:string"/>
		<xsd:element name="sourcepros" minOccurs="0" type="xsd:string"/>
		<xsd:element name="custpo" minOccurs="0" type="xsd:string"/>
		<xsd:element name="refer" minOccurs="0" type="xsd:string"/>
		<xsd:element name="reqshipdt" minOccurs="0" type="xsd:string"/>
		<xsd:element name="shipinstr" minOccurs="0" type="xsd:string"/>
		<xsd:element name="shipviaty" minOccurs="0" type="xsd:string"/>
		<xsd:element name="whse" minOccurs="1" type="xsd:string"/>
		<xsd:element name="custno" minOccurs="1" type="xsd:decimal"/>
		<xsd:element name="slsrepin" minOccurs="1" type="xsd:string"/>
		<xsd:element name="shipto" minOccurs="0" type="xsd:string"/>
		<xsd:element name="shiptonm" minOccurs="0" type="xsd:string"/>
		<xsd:element name="shiptoaddr1" minOccurs="0" type="xsd:string"/>
		<xsd:element name="shiptoaddr2" minOccurs="0" type="xsd:string"/>
		<xsd:element name="shiptocity" minOccurs="0" type="xsd:string"/>
		<xsd:element name="shiptost" minOccurs="0" type="xsd:string"/>
		<xsd:element name="shiptozip" minOccurs="0" type="xsd:string"/>
		<xsd:element name="enterdt" minOccurs="0" type="xsd:string"/>
		<xsd:element name="transdt" minOccurs="0" type="xsd:string"/>
		<xsd:element name="bofl" minOccurs="0" type="xsd:string"/>
		<xsd:element name="subfl" minOccurs="0" type="xsd:string"/>
		<xsd:element name="terms" minOccurs="0" type="xsd:string"/>
		<xsd:element name="printprice" minOccurs="0" type="xsd:string"/>
		<xsd:element name="wodiscamt" minOccurs="0" type="xsd:decimal"/>
		<xsd:element name="wodiscoverfl" minOccurs="0" type="xsd:string"/>
		<xsd:element name="wodiscpct" minOccurs="0" type="xsd:decimal"/>
		<xsd:element name="wodisctype" minOccurs="0" type="xsd:string"/>
		<xsd:element name="orderdisp" minOccurs="0" type="xsd:string"/>
		<xsd:element name="createsalesorderlinesyesno" minOccurs="0" type="xsd:string"/>
		<xsd:element name="inbndfrtfl" minOccurs="0" type="xsd:string"/>
		<xsd:element name="outbndfrtfl" minOccurs="0" type="xsd:string"/>
		<xsd:element name="email" minOccurs="0" type="xsd:string"/>
		<xsd:element name="user1" minOccurs="0" type="xsd:string"/>
		<xsd:element name="user2" minOccurs="0" type="xsd:string"/>
		<xsd:element name="user3" minOccurs="0" type="xsd:string"/>
		<xsd:element name="user4" minOccurs="0" type="xsd:string"/>
		<xsd:element name="user5" minOccurs="0" type="xsd:string"/>
		<xsd:element name="user6" minOccurs="0" type="xsd:decimal"/>
		<xsd:element name="user7" minOccurs="0" type="xsd:decimal"/>
		<xsd:element name="user8" minOccurs="0" type="xsd:string"/>
		<xsd:element name="user9" minOccurs="0" type="xsd:string"/>
		<xsd:element name="user10" minOccurs="0" type="xsd:string"/>
		<xsd:element name="user11" minOccurs="0" type="xsd:string"/>
		<xsd:element name="user12" minOccurs="0" type="xsd:string"/>
		<xsd:element name="user13" minOccurs="0" type="xsd:string"/>
		<xsd:element name="user14" minOccurs="0" type="xsd:string"/>
		<xsd:element name="user15" minOccurs="0" type="xsd:string"/>
		<xsd:element name="user16" minOccurs="0" type="xsd:string"/>
		<xsd:element name="user17" minOccurs="0" type="xsd:string"/>
		<xsd:element name="user18" minOccurs="0" type="xsd:string"/>
		<xsd:element name="user19" minOccurs="0" type="xsd:string"/>
		<xsd:element name="user20" minOccurs="0" type="xsd:string"/>
		<xsd:element name="user21" minOccurs="0" type="xsd:string"/>
		<xsd:element name="user22" minOccurs="0" type="xsd:string"/>
		<xsd:element name="user23" minOccurs="0" type="xsd:string"/>
		<xsd:element name="user24" minOccurs="0" type="xsd:string"/>
		<xsd:element name="borelfl" minOccurs="0" type="xsd:string"/>
		<xsd:element name="removebatchnameyesno" minOccurs="0" type="xsd:string"/>
		<xsd:element name="pmflyesno" minOccurs="0" type="xsd:string"/>
		<xsd:element name="SalesOrderInsert" minOccurs="0" type="xsd:string"/>
		<xsd:element name="taxauthcountryCAUSorAU" minOccurs="0" type="xsd:string"/>
		<xsd:element name="taxauthstate" minOccurs="0" type="xsd:string"/>
		<xsd:element name="taxauthcounty" minOccurs="0" type="xsd:string"/>
		<xsd:element name="taxauthcity" minOccurs="0" type="xsd:string"/>
		<xsd:element name="taxauthother1" minOccurs="0" type="xsd:string"/>
		<xsd:element name="taxauthother2" minOccurs="0" type="xsd:string"/>
		<xsd:element name="taxable" minOccurs="0" type="xsd:string"/>
		<xsd:element name="route" minOccurs="0" type="xsd:string"/>
		<xsd:element name="approvty" minOccurs="0" type="xsd:string"/>
		<xsd:element name="APIKey"  minOccurs="1" type="xsd:string"/>
	<xsd:element name="SalesOrderLinesInsertRequestContainer" minOccurs="1" maxOccurs="unbounded">
	 <xsd:complexType >
	  <xsd:sequence>
		<xsd:element name="lineno" minOccurs="1" type="xsd:decimal"/>
		<xsd:element name="price" minOccurs="0" type="xsd:decimal"/>
		<xsd:element name="descrip1" minOccurs="0" type="xsd:string"/>
		<xsd:element name="descrip2" minOccurs="0" type="xsd:string"/>
		<xsd:element name="qtyord" minOccurs="1" type="xsd:decimal"/>
		<xsd:element name="shipprod" minOccurs="1" type="xsd:string"/>
		<xsd:element name="reqprod" minOccurs="0" type="xsd:string"/>
		<xsd:element name="enterdt" minOccurs="0" type="xsd:string"/>
		<xsd:element name="unit" minOccurs="1" type="xsd:string"/>
		<xsd:element name="lncomm" minOccurs="0" type="xsd:string"/>
		<xsd:element name="cprintfl" minOccurs="0" type="xsd:string"/>
		<xsd:element name="lndiscamt" minOccurs="0" type="xsd:decimal"/>
		<xsd:element name="lndisctype" minOccurs="0" type="xsd:string"/>
		<xsd:element name="SalesOrderLinesInsert" minOccurs="0" type="xsd:string"/>
		<xsd:element name="rushfl" minOccurs="0" type="xsd:string"/>
		<xsd:element name="taxablefl" minOccurs="0" type="xsd:string"/>
		<xsd:element name="prodcostSRLA" minOccurs="0" type="xsd:string"/>
		<xsd:element name="directshipyesno" minOccurs="0" type="xsd:string"/>
		<xsd:element name="lineuser1" minOccurs="0" type="xsd:string"/>
		<xsd:element name="lineuser2" minOccurs="0" type="xsd:string"/>
		<xsd:element name="lineuser3" minOccurs="0" type="xsd:string"/>
		<xsd:element name="lineuser4" minOccurs="0" type="xsd:string"/>
		<xsd:element name="lineuser5" minOccurs="0" type="xsd:string"/>
		<xsd:element name="lineuser6" minOccurs="0" type="xsd:decimal"/>
		<xsd:element name="lineuser7" minOccurs="0" type="xsd:decimal"/>
		<xsd:element name="lineuser8" minOccurs="0" type="xsd:string"/>
		<xsd:element name="lineuser9" minOccurs="0" type="xsd:string"/>
		<xsd:element name="lineuser10" minOccurs="0" type="xsd:string"/>
		<xsd:element name="lineuser11" minOccurs="0" type="xsd:string"/>
		<xsd:element name="lineuser12" minOccurs="0" type="xsd:string"/>
		<xsd:element name="lineuser13" minOccurs="0" type="xsd:string"/>
		<xsd:element name="lineuser14" minOccurs="0" type="xsd:string"/>
		<xsd:element name="lineuser15" minOccurs="0" type="xsd:string"/>
		<xsd:element name="lineuser16" minOccurs="0" type="xsd:string"/>
		<xsd:element name="lineuser17" minOccurs="0" type="xsd:string"/>
		<xsd:element name="lineuser18" minOccurs="0" type="xsd:string"/>
		<xsd:element name="lineuser19" minOccurs="0" type="xsd:string"/>
		<xsd:element name="lineuser20" minOccurs="0" type="xsd:string"/>
		<xsd:element name="lineuser21" minOccurs="0" type="xsd:string"/>
		<xsd:element name="lineuser22" minOccurs="0" type="xsd:string"/>
		<xsd:element name="lineuser23" minOccurs="0" type="xsd:string"/>
		<xsd:element name="lineuser24" minOccurs="0" type="xsd:string"/>
		<xsd:element name="pdrecno" minOccurs="0" type="xsd:decimal"/>
		<xsd:element name="nonstockcost" minOccurs="0" type="xsd:decimal"/>
		<xsd:element name="prodcat" minOccurs="0" type="xsd:string"/>
		<xsd:element name="weight" minOccurs="0" type="xsd:decimal"/>
		<xsd:element name="reqshipdt" minOccurs="0" type="xsd:string"/>
		<xsd:element name="promisedt" minOccurs="0" type="xsd:string"/>
	  </xsd:sequence><xsd:attribute name="id" type="xsd:string" />
	</xsd:complexType> 
	 </xsd:element>
	  </xsd:sequence>
	</xsd:complexType>
	 </xsd:element>
	<xsd:element name="SalesOrderInsertResponseContainerList">
	 <xsd:complexType>
	 <xsd:sequence>
	 <xsd:element maxOccurs="unbounded" minOccurs="0" name="SalesOrderInsertResponseContainerItems" nillable="true" type="tns:SalesOrderInsertResponseContainer" />
	 </xsd:sequence>
	 </xsd:complexType>
	</xsd:element>  
	   <xsd:complexType name="SalesOrderInsertResponseContainer" >
	    <xsd:sequence maxOccurs="unbounded">
<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="ordernumber" nillable="true" minOccurs="0" type="xsd:decimal"  /><xsd:element name="SalesOrderInsertResponseContainerItems" 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="SalesOrderInsertRequest" > 
			<wsdl:part name="parameters" element="tns:SalesOrderInsertRequestContainer" />
		</wsdl:message>
		 <wsdl:message name="SalesOrderInsertResponse" >
			<wsdl:part name="parameters" element="tns:SalesOrderInsertResponseContainerList" />
		</wsdl:message>

		 <wsdl:message name="faultMsg">
		  <wsdl:part name="fault" element="tns:FaultContainer" /> 
		 </wsdl:message>

		<wsdl:portType name="SalesOrderInsert">
			<wsdl:operation name="SalesOrderInsert">
			<wsdl:input wsaw:Action="https://connector.greywolf.com/sx/ws.aspx?result=ws&amp;v=1&amp;api=SalesOrderInsert" message="tns:SalesOrderInsertRequest" />
			<wsdl:output wsaw:Action="https://connector.greywolf.com/sx/ws.aspx?result=ws&amp;v=1&amp;api=SalesOrderInsert" message="tns:SalesOrderInsertResponse" />
			<wsdl:fault name="fault" message="tns:faultMsg"/>
			 </wsdl:operation>
		</wsdl:portType>

		<wsdl:binding name="DefaultBinding_SalesOrderInsert" type="tns:SalesOrderInsert">
		 <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
		 <wsdl:operation name="SalesOrderInsert">
		  <soap:operation soapAction="https://connector.greywolf.com/sx/ws.aspx?result=ws&amp;v=1&amp;api=SalesOrderInsert" 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="SalesOrderInsertService">
			    <wsdl:port name="SalesOrderInsert" binding="tns:DefaultBinding_SalesOrderInsert">
			       <soap:address location="https://connector.greywolf.com/sx/ws.aspx?result=ws&amp;v=1&amp;api=SalesOrderInsert" />
			   </wsdl:port> 
		 </wsdl:service>
	</wsdl:definitions>
