Amazon Selling Partner Data XSDs
Go to file
sanmao b3818fe0b9 迁移feeds实体,同时新增reports相关 2021-01-26 20:31:10 +08:00
docs 迁移feeds实体,同时新增reports相关 2021-01-26 20:31:10 +08:00
src/main 迁移feeds实体,同时新增reports相关 2021-01-26 20:31:10 +08:00
.gitignore 删除maven编译target 2021-01-06 15:05:08 +08:00
README.md 更改命令路径 2021-01-06 07:38:55 +00:00
amazone-xsd-demo.iml xsds and xsd-beans init success 2021-01-06 12:25:39 +08:00
pom.xml xsds and xsd-beans init success 2021-01-06 12:25:39 +08:00

README.md

Amazon Selling Partner Data XSDs

The files linked below are samples of our XML schema documents (XSDs).


You can use the JAXB xjc command to convert XSD to bean. See below for details

  xjc H:\amazon-selling-partner-data-xsds\src\main\resources\xsds\Product.xsd -d H:\amazon-selling-partner-data-xsds\src\main\java\ -b H:\amazon-selling-partner-data-xsds\src\main\resources\binding.xml -p com.amazon.SellingPartnerAPI.model -encoding UTF-8

**# 注意实现 **

  • 1、重新生成时需更改内部类嵌套重名问题可通过mvn install定位异常类并逐一解决
  • 2、BBFCRatingType与BBFCRatingType1内容一致删除BBFCRatingType1并更改影响受影响的类。
    出现这种情况的原因是多个xsd存在相同类时无法生成只能通过更改类名解决。