0

i am having a wsdl file that defines the soap webservice . I also have java 8 installed in my machine How can i generate java classes using JAXB

really appreciate any help

1

1 Answer 1

0

PROJECT_PACKAGE - Package

FILE - File name

DIRECTORY_PATH - Extraction Path (folder)

Enter the following command at the terminal:

xjc -p PROJECT_PACKAGE FILE.xsd -d DIRECTORY_PATH

E.g. this:

xjc -p test.jaxb user.xsd -d teste

will generate the following path:

teste/test/jaxb/*.java
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.