amazon-selling-partner-data.../README.md

20 lines
885 B
Markdown
Raw Permalink Normal View History

2021-01-06 12:25:39 +08:00
## Amazon Selling Partner Data XSDs
2021-01-06 11:45:58 +08:00
The files linked below are samples of our XML schema documents (XSDs).
2021-01-06 12:25:39 +08:00
---
2021-01-06 11:45:58 +08:00
You can use the JAXB xjc command to convert XSD to bean. See below for details
2021-01-06 12:25:39 +08:00
```
2021-01-06 15:38:55 +08:00
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
2021-01-06 12:25:39 +08:00
```
2021-01-06 15:36:34 +08:00
---
**# 注意实现 **
<br/>
- 1、重新生成时需更改内部类嵌套重名问题可通过mvn install定位异常类并逐一解决<br/>
- 2、BBFCRatingType与BBFCRatingType1内容一致删除BBFCRatingType1并更改影响受影响的类。<br/>
<font color='red'>出现这种情况的原因是多个xsd存在相同类时无法生成只能通过更改类名解决。</font><br/>