gabrielbull/php-ups-api

View on GitHub
src/WSDL/ExportLicense.wsdl

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="ExportLicense" 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:eld="http://www.ups.com/schema/xpci/1.0/eld" xmlns:tns="http://www.ups.com/schema/xpci/1.0/eld" targetNamespace="http://www.ups.com/schema/xpci/1.0/eld">
    <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/eld" schemaLocation="ExportLicenseDetectorWebServiceSchema.xsd"/>
        </xsd:schema>
    </wsdl:types>
    <wsdl:message name="ELDInput">
        <wsdl:part name="Body" element="eld:ExportLicenseDetectionRequest"/>
        <wsdl:part name="AccessRequest" element="auth:AccessRequest"/>
    </wsdl:message>
    <wsdl:message name="ELDOutput">
        <wsdl:part name="Body" element="eld:ExportLicenseDetectionResponse"/>
    </wsdl:message>
    <wsdl:message name="Error">
        <wsdl:part name="Body" element="error:Errors"/>
    </wsdl:message>
    <wsdl:portType name="ELDRequestPortType">
        <wsdl:operation name="ProcessELDRequest">
            <wsdl:input name="ELDRequest" message="tns:ELDInput"/>
            <wsdl:output name="ELDResponse" message="tns:ELDOutput"/>
            <wsdl:fault name="Error" message="tns:Error"/>
        </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="ELDRequestPortTypeRequestBinding" type="tns:ELDRequestPortType">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
        <wsdl:operation name="ProcessELDRequest">
            <soap:operation soapAction="http://www.ups.com/webservices/ELDRequestBinding" style="document"/>
            <wsdl:input name="ELDRequest">
                <soap:body parts="Body" use="literal"/>
                <soap:header message="tns:ELDInput" part="AccessRequest" use="literal">
                    <soap:headerfault message="tns:Error" part="Body" use="literal"/>
                </soap:header>
            </wsdl:input>
            <wsdl:output name="ELDResponse">
                <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="ELD">
        <wsdl:port name="ELDRequestPortTypePort" binding="tns:ELDRequestPortTypeRequestBinding">
            <!-- Production URL, after customer is satisfied with CIE test -->
            <!--<soap:address location="https://www.ups.com/webservices/ExportLicense"/>-->
            <!-- Customer Integration environment URL -->
            <soap:address location="https://wwwcie.ups.com/webservices/ExportLicense"/>
        </wsdl:port>
    </wsdl:service>
</wsdl:definitions>