'Generate XSD from WSDL in eclipse
Is there a way to generate XSD from a WSDL file in eclipse IDE.It's a project requirement to generate the XSD from the WSDL and then auto generate all the java classes using jaxb. I also use eclipselink in my project. Can eclipselink be used for this task?
Solution 1:[1]
Select File/New/Other.../JAXB/JAXB Classes from Schema.
When specifying schema options there is an option "Source is a WSDL, use its schema", or something like that...
EDIT
To tell you the truth, i never used this feature. I generated classes from normal Schema files, but noticed the aforementioned option.
Solution 2:[2]
I could generate the xsd files from the WSDL using SOAP UI to resolve this.It was much easier.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | |
| Solution 2 | sher17 |
