<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=SalesOrderBatchInsert" 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=SalesOrderBatchInsert" 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=SalesOrderBatchInsert" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema">
	<xsd:element  name="SalesOrderBatchInsertRequestContainer" >
	 <xsd:complexType>
	  <xsd:sequence>
		<xsd:element name="cono" minOccurs="1" type="xsd:decimal"/>
		<xsd:element name="operinit" minOccurs="0" type="xsd:string"/>
		<xsd:element name="transtype" minOccurs="1" type="xsd:string"/>
		<xsd:element name="batchnm" minOccurs="1" type="xsd:string"/>
		<xsd:element name="seqno" minOccurs="1" type="xsd:decimal"/>
		<xsd:element name="placedby" 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="0" 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="notes" minOccurs="0" type="xsd:string"/>
		<xsd:element name="promisedt" minOccurs="0" type="xsd:string"/>
		<xsd:element name="nprintfl" minOccurs="0" type="xsd:string"/>
		<xsd:element name="takenby" minOccurs="0" type="xsd:string"/>
		<xsd:element name="orderdisp" minOccurs="0" type="xsd:string"/>
		<xsd:element name="shiptoaddr3" minOccurs="0" type="xsd:string"/>
		<xsd:element name="SalesOrderBatchInsert" minOccurs="0" type="xsd:string"/>
		<xsd:element name="APIKey"  minOccurs="1" type="xsd:string"/>
	<xsd:element name="SalesOrderBatchLinesInsertRequestContainer" minOccurs="1" maxOccurs="unbounded">
	 <xsd:complexType >
	  <xsd:sequence>
		<xsd:element name="batchnm" minOccurs="1" type="xsd:string"/>
		<xsd:element name="cono" minOccurs="1" type="xsd:decimal"/>
		<xsd:element name="operinit" minOccurs="0" type="xsd:string"/>
		<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="transdt" 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="taxablefl" minOccurs="0" type="xsd:string"/>
		<xsd:element name="SalesOrderBatchLinesInsert" 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="SalesOrderBatchInsertResponseContainerList">
	 <xsd:complexType>
	 <xsd:sequence>
	 <xsd:element maxOccurs="unbounded" minOccurs="0" name="SalesOrderBatchInsertResponseContainerItems" nillable="true" type="tns:SalesOrderBatchInsertResponseContainer" />
	 </xsd:sequence>
	 </xsd:complexType>
	</xsd:element>  
	   <xsd:complexType name="SalesOrderBatchInsertResponseContainer" >
	    <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: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="SalesOrderBatchInsertRequest" > 
			<wsdl:part name="parameters" element="tns:SalesOrderBatchInsertRequestContainer" />
		</wsdl:message>
		 <wsdl:message name="SalesOrderBatchInsertResponse" >
			<wsdl:part name="parameters" element="tns:SalesOrderBatchInsertResponseContainerList" />
		</wsdl:message>

		 <wsdl:message name="faultMsg">
		  <wsdl:part name="fault" element="tns:FaultContainer" /> 
		 </wsdl:message>

		<wsdl:portType name="SalesOrderBatchInsert">
			<wsdl:operation name="SalesOrderBatchInsert">
			<wsdl:input wsaw:Action="https://connector.greywolf.com/sx/ws.aspx?result=ws&amp;v=1&amp;api=SalesOrderBatchInsert" message="tns:SalesOrderBatchInsertRequest" />
			<wsdl:output wsaw:Action="https://connector.greywolf.com/sx/ws.aspx?result=ws&amp;v=1&amp;api=SalesOrderBatchInsert" message="tns:SalesOrderBatchInsertResponse" />
			<wsdl:fault name="fault" message="tns:faultMsg"/>
			 </wsdl:operation>
		</wsdl:portType>

		<wsdl:binding name="DefaultBinding_SalesOrderBatchInsert" type="tns:SalesOrderBatchInsert">
		 <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
		 <wsdl:operation name="SalesOrderBatchInsert">
		  <soap:operation soapAction="https://connector.greywolf.com/sx/ws.aspx?result=ws&amp;v=1&amp;api=SalesOrderBatchInsert" 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="SalesOrderBatchInsertService">
			    <wsdl:port name="SalesOrderBatchInsert" binding="tns:DefaultBinding_SalesOrderBatchInsert">
			       <soap:address location="https://connector.greywolf.com/sx/ws.aspx?result=ws&amp;v=1&amp;api=SalesOrderBatchInsert" />
			   </wsdl:port> 
		 </wsdl:service>
	</wsdl:definitions>
