Hi all, I am a newer to Jersey.
Jersery is able to add customerized documententation & grammars to its WADL.
For adding grammars to the WADL, the wadl generator reads schema info from
file "application-grammars.xml", where I want to add local XSD files.
The "application-grammars.xml" is like this:
<grammars xmlns="
http://research.sun.com/wadl/2006/10"
xmlns:xsd="
http://www.w3.org/2001/XMLSchema"
xmlns:xi="
http://www.w3.org/1999/XML/xinclude">
<xsd:include schemaLocation="ABC.xsd" />
<!-- include href="ABC.xsd" -->
</grammars>
In the case, "ABC.xsd" is a local schema in my project that it does not have
a final static url. After the project is deployed to web server, this
"ABC.xsd" is not navigated in its WADL file.
For example, my project is deployed in the JBOSS where "ABC.xsd" is located
in "myApp.war/web-inf/wsdl/ABC.xsd".
How to make "ABC.xsd" navigated in the WADL file?