10 Web Services Tools and Commands

You can use JDK web services tools and commands to create and manage web service resources.

The following sections describe the JDK web services tools and commands:

  • schemagen: You can use the schemagen tool and commands to generate a schema for every namespace that’s referenced in your Java classes.

  • wsgen: You use the wsgen command to generate Java API for XML Web Services (JAX-WS) portable artifacts used in JAX-WS web services.

  • wsimport: You use the wsimport command to generate Java API for XML Web Services (JAX-WS) portable artifacts.

  • xjc: You use the xjc shell script to compile an XML schema file into fully annotated Java classes.