<?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/usps" 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/usps" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Cocoma USPS Shipping Web Services.</wsdl:documentation>
  <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://service.ecocoma.com/shipping/usps">
      <s:element name="GetUSPSRate">
        <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="ZipOrigination" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="ZipDestination" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Country" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Pounds" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Ounces" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetUSPSRateResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetUSPSRateResult" 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="GetExtendedUSPSRate">
        <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="ZipOrigination" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="ZipDestination" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Country" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Pounds" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Ounces" 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="Container" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Size" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Machinable" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="MailType" 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="GetExtendedUSPSRateResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetExtendedUSPSRateResult" type="tns:Shipping" />
          </s:sequence>
        </s:complexType>
      </s:element>
    </s:schema>
  </wsdl:types>
  <wsdl:message name="GetUSPSRateSoapIn">
    <wsdl:part name="parameters" element="tns:GetUSPSRate" />
  </wsdl:message>
  <wsdl:message name="GetUSPSRateSoapOut">
    <wsdl:part name="parameters" element="tns:GetUSPSRateResponse" />
  </wsdl:message>
  <wsdl:message name="GetExtendedUSPSRateSoapIn">
    <wsdl:part name="parameters" element="tns:GetExtendedUSPSRate" />
  </wsdl:message>
  <wsdl:message name="GetExtendedUSPSRateSoapOut">
    <wsdl:part name="parameters" element="tns:GetExtendedUSPSRateResponse" />
  </wsdl:message>
  <wsdl:portType name="USPS_ServiceSoap">
    <wsdl:operation name="GetUSPSRate">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get USPS shipping rate.</wsdl:documentation>
      <wsdl:input message="tns:GetUSPSRateSoapIn" />
      <wsdl:output message="tns:GetUSPSRateSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetExtendedUSPSRate">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get extended USPS shipping rate.</wsdl:documentation>
      <wsdl:input message="tns:GetExtendedUSPSRateSoapIn" />
      <wsdl:output message="tns:GetExtendedUSPSRateSoapOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="USPS_ServiceSoap" type="tns:USPS_ServiceSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="GetUSPSRate">
      <soap:operation soapAction="http://service.ecocoma.com/shipping/usps/GetUSPSRate" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetExtendedUSPSRate">
      <soap:operation soapAction="http://service.ecocoma.com/shipping/usps/GetExtendedUSPSRate" 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="USPS_ServiceSoap12" type="tns:USPS_ServiceSoap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="GetUSPSRate">
      <soap12:operation soapAction="http://service.ecocoma.com/shipping/usps/GetUSPSRate" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetExtendedUSPSRate">
      <soap12:operation soapAction="http://service.ecocoma.com/shipping/usps/GetExtendedUSPSRate" 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="USPS_Service">
    <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Cocoma USPS Shipping Web Services.</wsdl:documentation>
    <wsdl:port name="USPS_ServiceSoap" binding="tns:USPS_ServiceSoap">
      <soap:address location="http://service.ecocoma.com/shipping/usps.asmx" />
    </wsdl:port>
    <wsdl:port name="USPS_ServiceSoap12" binding="tns:USPS_ServiceSoap12">
      <soap12:address location="http://service.ecocoma.com/shipping/usps.asmx" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>