JaewookByun / epcis

Oliot EPCIS for GS1 EPCIS/CBV 2.0.0
http://dfpl.sejong.ac.kr/epcis/home/index.html
Apache License 2.0
46 stars 56 forks source link

How to generate Java file from EPCIS xsd file #38

Closed Avadhesh-Patel closed 5 years ago

Avadhesh-Patel commented 5 years ago

I am getting following exception while generating Java class org.xml.sax.SAXParseException EPCglobal-epcis-1_2.xsd src-resolve: Cannot resolve the name 'sbdh:StandardBusinessDocumentHeader'

JaewookByun commented 5 years ago

Dear Avadhesh-Patel,

You might want to generate Java classes from the xml schema in your own purpose. In our case, the Java classes, locased in https://github.com/JaewookByun/epcis/tree/master/epcis/src/main/java/org/oliot/model/epcis , are generated by the following command xjc -nv -d src -p org.oliot.model.epcis EPCglobal-epcis-1_2.xsd

I hope it helps you

Best Regards, Jaewook Byun Ph.D. Assistant Professor, Halla University, Republic of Korea

Avadhesh-Patel commented 5 years ago

Thanks @JaewookByun

JaewookByun commented 5 years ago

I close this issue.