gabrielbull/php-ups-api

View on GitHub
src/WSDL/LandedCost.wsdl

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="LandedCost" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:auth="http://www.ups.com/schema/xpci/1.0/auth" xmlns:error="http://www.ups.com/schema/xpci/1.0/error" xmlns:lc="http://www.ups.com/schema/xpci/1.0/lc" xmlns:tns="http://www.ups.com/schema/xpci/1.0/lc" targetNamespace="http://www.ups.com/schema/xpci/1.0/lc">
    <wsdl:types>
        <xsd:schema>
            <!-- This schema defines the AccessRequest header used for authorization purposes -->
            <xsd:import namespace="http://www.ups.com/schema/xpci/1.0/auth" schemaLocation="AccessRequestXPCI.xsd"/>
            <!-- this will be returned within SOAPFaults to provide  customer error details  -->
            <xsd:import namespace="http://www.ups.com/schema/xpci/1.0/error" schemaLocation="ErrorXPCI.xsd"/>
            <!-- This is the actual data types the service will pass to perform its business functionality -->
            <xsd:import namespace="http://www.ups.com/schema/xpci/1.0/lc" schemaLocation="LandedCostWebServiceSchema.xsd"/>
        </xsd:schema>
    </wsdl:types>
    <wsdl:message name="LCInput">
        <wsdl:part name="Body" element="lc:LandedCostRequest"/>
        <wsdl:part name="AccessRequest" element="auth:AccessRequest"/>
    </wsdl:message>
    <wsdl:message name="LCOutput">
        <wsdl:part name="Body" element="lc:LandedCostResponse"/>
    </wsdl:message>
    <wsdl:message name="Error">
        <wsdl:part name="Body" element="error:Errors"/>
    </wsdl:message>
    <wsdl:portType name="LCRequestPortType">
        <wsdl:operation name="ProcessLCRequest">
            <wsdl:input name="LCRequest" message="tns:LCInput"/>
            <wsdl:output name="LCResponse" message="tns:LCOutput"/>
            <wsdl:fault name="Error" message="tns:Error"/>
        </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="LCRequestPortTypeRequestBinding" type="tns:LCRequestPortType">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
        <wsdl:operation name="ProcessLCRequest">
            <soap:operation soapAction="http://www.ups.com/webservices/LCRequestBinding" style="document"/>
            <wsdl:input name="LCRequest">
                <soap:body parts="Body" use="literal"/>
                <soap:header message="tns:LCInput" part="AccessRequest" use="literal">
                    <soap:headerfault message="tns:Error" part="Body" use="literal"/>
                </soap:header>
            </wsdl:input>
            <wsdl:output name="LCResponse">
                <soap:body parts="Body" use="literal"/>
            </wsdl:output>
            <wsdl:fault name="Error">
                <soap:fault name="Error" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="LC">
        <wsdl:port name="LCRequestPortTypePort" binding="tns:LCRequestPortTypeRequestBinding">
            <!-- Production URL, after customer is satisfied with CIE test -->
            <!--<soap:address location="https://www.ups.com/webservices/LandedCost"/>-->
            <!-- Customer Integration environment URL -->
            <soap:address location="https://wwwcie.ups.com/webservices/LandedCost"/>
        </wsdl:port>
    </wsdl:service>
</wsdl:definitions>