首页 文章

联邦快递“服务INTERNATIONAL_GROUND无效”消息

提问于
浏览
1

我与FedEx Web服务集成 . 一切都像一个魅力,但当我尝试使用国际地面服务类型时,它提出我这个错误“服务INTERNATIONAL_GROUND无效”错误N782 . 可能是什么问题呢? FedEx支持告诉我,我使用了dropoff类型“DROP_BOX”,这会导致错误,但我试图将其更改为所有5个变种而没有成功 . 我给他们发了一张票,但仍然没有答案 .

这是我发送的SOAP请求:

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://fedex.com/ws/rate/v9">
    <SOAP-ENV:Body>
        <ns1:RateRequest>
            <ns1:WebAuthenticationDetail>
                <ns1:UserCredential>
                    <ns1:Key>my key</ns1:Key>
                    <ns1:Password>my pass</ns1:Password>
                </ns1:UserCredential>
            </ns1:WebAuthenticationDetail>
            <ns1:ClientDetail>
                <ns1:AccountNumber>acc number</ns1:AccountNumber>
                <ns1:MeterNumber>metter number</ns1:MeterNumber>
            </ns1:ClientDetail>
            <ns1:TransactionDetail>
                <ns1:CustomerTransactionId>SearchFit Shopping Cart v8.20.5 (Sep 27, 2011)</ns1:CustomerTransactionId>
            </ns1:TransactionDetail>
            <ns1:Version>
                <ns1:ServiceId>crs</ns1:ServiceId>
                <ns1:Major>9</ns1:Major>
                <ns1:Intermediate>0</ns1:Intermediate>
                <ns1:Minor>0</ns1:Minor>
            </ns1:Version>
            <ns1:ReturnTransitAndCommit>true</ns1:ReturnTransitAndCommit>
            <ns1:RequestedShipment>
                <ns1:ShipTimestamp>2011-09-28T01:15:54+03:00</ns1:ShipTimestamp>
                <ns1:ServiceType>INTERNATIONAL_GROUND</ns1:ServiceType>
                <ns1:PackagingType>YOUR_PACKAGING</ns1:PackagingType>
                <ns1:TotalInsuredValue>
                    <ns1:Currency>USD</ns1:Currency>
                </ns1:TotalInsuredValue>
                <ns1:Shipper>
                    <ns1:Address>
                        <ns1:StateOrProvinceCode>GA</ns1:StateOrProvinceCode>
                        <ns1:PostalCode>30030</ns1:PostalCode>
                        <ns1:CountryCode>US</ns1:CountryCode>
                    </ns1:Address>
                </ns1:Shipper>
                <ns1:Recipient>
                    <ns1:Address>
                        <ns1:PostalCode>HP10</ns1:PostalCode>
                        <ns1:CountryCode>GB</ns1:CountryCode>
                        <ns1:Residential>true</ns1:Residential>
                    </ns1:Address>
                </ns1:Recipient>
                <ns1:ShippingChargesPayment>
                    <ns1:PaymentType>SENDER</ns1:PaymentType>
                    <ns1:Payor>
                        <ns1:AccountNumber>acc number</ns1:AccountNumber>
                        <ns1:CountryCode>US</ns1:CountryCode>
                    </ns1:Payor>
                </ns1:ShippingChargesPayment>
                <ns1:RateRequestTypes>ACCOUNT</ns1:RateRequestTypes>
                <ns1:PackageCount>1</ns1:PackageCount>
                <ns1:PackageDetail>INDIVIDUAL_PACKAGES</ns1:PackageDetail>
                <ns1:RequestedPackageLineItems>
                    <ns1:Weight>
                        <ns1:Units>LB</ns1:Units>
                        <ns1:Value>10.0</ns1:Value>
                    </ns1:Weight>
                    <ns1:Dimensions>
                        <ns1:Length>5</ns1:Length>
                        <ns1:Width>11</ns1:Width>
                        <ns1:Height>8</ns1:Height>
                        <ns1:Units>IN</ns1:Units>
                    </ns1:Dimensions>
                </ns1:RequestedPackageLineItems>
            </ns1:RequestedShipment>
        </ns1:RateRequest>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

以下是回复:

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
    <soapenv:Body>
        <v9:RateReply xmlns:v9="http://fedex.com/ws/rate/v9">
            <v9:HighestSeverity xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">ERROR</v9:HighestSeverity>
            <v9:Notifications xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <v9:Severity>ERROR</v9:Severity>
                <v9:Source>crs</v9:Source>
                <v9:Code>782</v9:Code>
                <v9:Message>Service INTERNATIONAL_GROUND is invalid.</v9:Message>
                <v9:LocalizedMessage>Service INTERNATIONAL_GROUND is invalid.</v9:LocalizedMessage>
                <v9:MessageParameters>
                    <v9:Id>SERVICE_TYPE</v9:Id>
                    <v9:Value>INTERNATIONAL_GROUND</v9:Value>
                </v9:MessageParameters>
            </v9:Notifications>
            <ns1:TransactionDetail xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://fedex.com/ws/rate/v9">
                <ns1:CustomerTransactionId>SearchFit Shopping Cart v8.20.5 (Sep 27, 2011)</ns1:CustomerTransactionId>
            </ns1:TransactionDetail>
            <ns1:Version xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://fedex.com/ws/rate/v9">
                <ns1:ServiceId>crs</ns1:ServiceId>
                <ns1:Major>9</ns1:Major>
                <ns1:Intermediate>0</ns1:Intermediate>
                <ns1:Minor>0</ns1:Minor>
            </ns1:Version>
        </v9:RateReply>
    </soapenv:Body>
</soapenv:Envelope>

2 回答

  • 0

    经过一周的等待,我收到了他们的回复 . 简而言之:

    联邦快递国际地面是一种直接发货方式,您可以直接从美国到加拿大,加拿大向美国发送单件或多件小包装货物 . 没有最低包装要求 .

    即使他们的文件说明相反,他们也不支持国际立场 .

  • 1

    在您的请求中,收件人的国家/地区代码为GB,而不是加拿大 . 这可能解释了为什么国际市场不会作为有效的运输选择回归 .

相关问题