sher17
sher17

Reputation: 617

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?

Upvotes: 1

Views: 10656

Answers (2)

sher17
sher17

Reputation: 617

I could generate the xsd files from the WSDL using SOAP UI to resolve this.It was much easier.

Upvotes: 0

Usagi Miyamoto
Usagi Miyamoto

Reputation: 6329

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.

Upvotes: 0

Related Questions