<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://service.ecocoma.com/shipping/ups" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://service.ecocoma.com/shipping/ups" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Cocoma UPS Shipping Web Services.</wsdl:documentation>
  <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://service.ecocoma.com/shipping/ups">
      <s:element name="GetUPSRate">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="KeyID" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="DomainID" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="origPostal" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="origCountry" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="destPostal" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="destCountry" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Weight" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Value" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetUPSRateResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetUPSRateResult" type="tns:Shipping" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="Shipping">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="Package" type="tns:ArrayOfPostage" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="ArrayOfPostage">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="Postage" nillable="true" type="tns:Postage" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="Postage">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="Code" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="MailService" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Rate" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:element name="GetExtendedUPSRate">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="KeyID" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="DomainID" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="origPostal" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="origCountry" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="destPostal" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="destCountry" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Weight" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Value" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Options" type="tns:Options" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="Options">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="RateChart" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Container" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Residential" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="COD" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="HazardousMaterial" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="HandlingCharge" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="CallTagservice" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="SaturdayDelivery" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="DeliveryConfirmationService" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Height" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Width" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Length" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Mode" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Sort" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:element name="GetExtendedUPSRateResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetExtendedUPSRateResult" type="tns:Shipping" />
          </s:sequence>
        </s:complexType>
      </s:element>
    </s:schema>
  </wsdl:types>
  <wsdl:message name="GetUPSRateSoapIn">
    <wsdl:part name="parameters" element="tns:GetUPSRate" />
  </wsdl:message>
  <wsdl:message name="GetUPSRateSoapOut">
    <wsdl:part name="parameters" element="tns:GetUPSRateResponse" />
  </wsdl:message>
  <wsdl:message name="GetExtendedUPSRateSoapIn">
    <wsdl:part name="parameters" element="tns:GetExtendedUPSRate" />
  </wsdl:message>
  <wsdl:message name="GetExtendedUPSRateSoapOut">
    <wsdl:part name="parameters" element="tns:GetExtendedUPSRateResponse" />
  </wsdl:message>
  <wsdl:portType name="UPS_ServiceSoap">
    <wsdl:operation name="GetUPSRate">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get UPS shipping rate.</wsdl:documentation>
      <wsdl:input message="tns:GetUPSRateSoapIn" />
      <wsdl:output message="tns:GetUPSRateSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetExtendedUPSRate">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get extended UPS shipping rate.</wsdl:documentation>
      <wsdl:input message="tns:GetExtendedUPSRateSoapIn" />
      <wsdl:output message="tns:GetExtendedUPSRateSoapOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="UPS_ServiceSoap" type="tns:UPS_ServiceSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="GetUPSRate">
      <soap:operation soapAction="http://service.ecocoma.com/shipping/ups/GetUPSRate" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetExtendedUPSRate">
      <soap:operation soapAction="http://service.ecocoma.com/shipping/ups/GetExtendedUPSRate" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:binding name="UPS_ServiceSoap12" type="tns:UPS_ServiceSoap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="GetUPSRate">
      <soap12:operation soapAction="http://service.ecocoma.com/shipping/ups/GetUPSRate" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetExtendedUPSRate">
      <soap12:operation soapAction="http://service.ecocoma.com/shipping/ups/GetExtendedUPSRate" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="UPS_Service">
    <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Cocoma UPS Shipping Web Services.</wsdl:documentation>
    <wsdl:port name="UPS_ServiceSoap" binding="tns:UPS_ServiceSoap">
      <soap:address location="http://service.ecocoma.com/shipping/ups.asmx" />
    </wsdl:port>
    <wsdl:port name="UPS_ServiceSoap12" binding="tns:UPS_ServiceSoap12">
      <soap12:address location="http://service.ecocoma.com/shipping/ups.asmx" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>