<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/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=SalesShipToInsertUpdate" 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/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=SalesShipToInsertUpdate" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">

	 <wsdl:types>
	 <xsd:schema targetNamespace="https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=SalesShipToInsertUpdate" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema">
	<xsd:element  name="SalesShipToInsertUpdateRequestContainer">
	 <xsd:complexType>
	  <xsd:sequence>
		<xsd:element name="company_id" minOccurs="1" type="xsd:string" />
		<xsd:element name="customer_id" minOccurs="1" type="xsd:string" />
		<xsd:element name="ship_to_id" minOccurs="1" type="xsd:string" />
		<xsd:element name="name" minOccurs="1" type="xsd:string" />
		<xsd:element name="mail_address1" minOccurs="0" type="xsd:string" />
		<xsd:element name="mail_address2" minOccurs="0" type="xsd:string" />
		<xsd:element name="mail_address3" minOccurs="0" type="xsd:string" />
		<xsd:element name="mail_city" minOccurs="0" type="xsd:string" />
		<xsd:element name="mail_state" minOccurs="0" type="xsd:string" />
		<xsd:element name="mail_postal_code" minOccurs="0" type="xsd:string" />
		<xsd:element name="central_phone_number" minOccurs="0" type="xsd:string" />
		<xsd:element name="class1_id" minOccurs="0" type="xsd:string" />
		<xsd:element name="class2_id" minOccurs="0" type="xsd:string" />
		<xsd:element name="class3_id" minOccurs="0" type="xsd:string" />
		<xsd:element name="class4_id" minOccurs="0" type="xsd:string" />
		<xsd:element name="class5_id" minOccurs="0" type="xsd:string" />
		<xsd:element name="default_branch" minOccurs="0" type="xsd:string" />
		<xsd:element name="delete_flag" minOccurs="0" type="xsd:string" />
		<xsd:element name="delivery_instructions" minOccurs="0" type="xsd:string" />
		<xsd:element name="email_address" minOccurs="0" type="xsd:string" />
		<xsd:element name="url" minOccurs="0" type="xsd:string" />
		<xsd:element name="third_party_billing_flag" minOccurs="0" type="xsd:string" />
		<xsd:element name="freight_charge_id" minOccurs="0" type="xsd:string" />
		<xsd:element name="default_ship_time" minOccurs="0" type="xsd:string" />
		<xsd:element name="default_carrier_id" minOccurs="0" type="xsd:string" />
		<xsd:element name="shipping_route_id" minOccurs="0" type="xsd:string" />
		<xsd:element name="state_exemption_number" minOccurs="0" type="xsd:string" />
		<xsd:element name="state_excise_tax_exemption_number" minOccurs="0" type="xsd:string" />
		<xsd:element name="federal_exemption_number" minOccurs="0" type="xsd:string" />
		<xsd:element name="other_exemption_number" minOccurs="0" type="xsd:string" />
		<xsd:element name="central_fax_number" minOccurs="0" type="xsd:string" />
		<xsd:element name="preferred_location_id" minOccurs="0" type="xsd:string" />
		<xsd:element name="packing_basis" minOccurs="0" type="xsd:string" />
		<xsd:element name="freight_cd" minOccurs="0" type="xsd:string" />
		<xsd:element name="terms" minOccurs="0" type="xsd:string" />
		<xsd:element name="invoice_type" minOccurs="0" type="xsd:string" />
		<xsd:element name="primary_salesrep" minOccurs="0" type="xsd:string" />
		<xsd:element name="APIKey"  minOccurs="1" type="xsd:string"/>
	  </xsd:sequence>
	</xsd:complexType>
	 </xsd:element>
	<xsd:element name="SalesShipToInsertUpdateResponseContainerList">
	 <xsd:complexType>
	 <xsd:sequence>
	 <xsd:element maxOccurs="unbounded" minOccurs="0" name="SalesShipToInsertUpdateResponseContainerItems" nillable="true" type="tns:SalesShipToInsertUpdateResponseContainer" />
	 </xsd:sequence>
	 </xsd:complexType>
	</xsd:element>  
	   <xsd:complexType name="SalesShipToInsertUpdateResponseContainer" >
	    <xsd:sequence maxOccurs="unbounded">
		 <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="SalesShipToInsertUpdateRequest" > 
			<wsdl:part name="parameters" element="tns:SalesShipToInsertUpdateRequestContainer" />
		</wsdl:message>
		 <wsdl:message name="SalesShipToInsertUpdateResponse" >
			<wsdl:part name="parameters" element="tns:SalesShipToInsertUpdateResponseContainerList" />
		</wsdl:message>

		 <wsdl:message name="faultMsg">
		  <wsdl:part name="fault" element="tns:FaultContainer" /> 
		 </wsdl:message>

		<wsdl:portType name="SalesShipToInsertUpdate">
			<wsdl:operation name="SalesShipToInsertUpdate">
			<wsdl:input wsaw:Action="https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=SalesShipToInsertUpdate" message="tns:SalesShipToInsertUpdateRequest" />
			<wsdl:output wsaw:Action="https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=SalesShipToInsertUpdate" message="tns:SalesShipToInsertUpdateResponse" />
			<wsdl:fault name="fault" message="tns:faultMsg"/>
			 </wsdl:operation>
		</wsdl:portType>

		<wsdl:binding name="DefaultBinding_SalesShipToInsertUpdate" type="tns:SalesShipToInsertUpdate">
		 <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
		 <wsdl:operation name="SalesShipToInsertUpdate">
		  <soap:operation soapAction="https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=SalesShipToInsertUpdate" 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="SalesShipToInsertUpdateService">
			    <wsdl:port name="SalesShipToInsertUpdate" binding="tns:DefaultBinding_SalesShipToInsertUpdate">
			       <soap:address location="https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=SalesShipToInsertUpdate" />
			   </wsdl:port> 
		 </wsdl:service>
	</wsdl:definitions>
