UPS WorldShip XML导航到波多黎各

时间:2016-08-22 23:46:24

标签: xml ups

我在UPS世界船上为波多黎各创造了一个标签时遇到了很多麻烦。

我尝试添加不同的国际文档字段,但没有运气。

有没有人有国际榜样?

我的XML

<?xml version="1.0" encoding="WINDOWS-1252"?>
<OpenShipments xmlns="x-schema:OpenShipments.xdr">

<OpenShipment ProcessStatus="" ShipmentOption="">

<ShipTo>
<CompanyOrName>xxx</CompanyOrName>
<Attention>xxx</Attention>
<Address1>xxx</Address1>
<Address2>xxx</Address2> 
<PostalCode>00959</PostalCode>
<CityOrTown>Bayamon</CityOrTown>
<CountryTerritory>PR</CountryTerritory>
<StateProvinceCounty>PR</StateProvinceCounty>
<Telephone>xxx</Telephone>
</ShipTo>

<ShipFrom>
<CompanyOrName>xxx</CompanyOrName>
<Address1>xxx</Address1> 
<PostalCode>xx</PostalCode>
<CityOrTown>xx</CityOrTown> 
<StateProvinceCounty>xx</StateProvinceCounty>
<CountryTerritory>US</CountryTerritory>
<Telephone>xxx</Telephone>
</ShipFrom>


<ShipmentInformation>
<ServiceType>GND</ServiceType>

</ShipmentInformation>

<Package>
<PackageType>CP</PackageType>
<Weight>1</Weight>


</Package>  


</OpenShipment>
</OpenShipments>

我得到错误:

Error on line 58, Element content is invalid according to the DTD/Schema.
Expecting: {x-schema:OpenShipments.xdr}CreateAnInvoice, {x-schema:OpenShipments.xdr}InvoiceImporterSameAsShipTo, {x-schema:OpenShipment....

0 个答案:

没有答案