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

20 lines
885 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## 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
```
---
**# 注意实现 **
<br/>
- 1、重新生成时需更改内部类嵌套重名问题可通过mvn install定位异常类并逐一解决<br/>
- 2、BBFCRatingType与BBFCRatingType1内容一致删除BBFCRatingType1并更改影响受影响的类。<br/>
<font color='red'>出现这种情况的原因是多个xsd存在相同类时无法生成只能通过更改类名解决。</font><br/>