LibraryLink ToToggle FramesPrintFeedback

Name

java2ws — generates a WSDL document from Java code

Synopsis

java2ws [[-?] | [-help] | [-h]] [-frontend { jaxws | simple }] [-databinding { jaxb | aegis }] [-wsdl] [-wrapperbean] [-client] [-server] [-ant] [-o outFile] [-s sourceDir] [-d resourceDir] [-classdir classDir] [-cp classpath] [-soap12] [-t targetNamespace] [-beans beanPath...] [-servicename serviceName] [-portname portName] [-createxsdimports] [-v] [[-verbose] | [-quiet]] classname

Arguments

The arguments used to manage the code generation process are reviewed in the following table.

OptionInterpretation
-?Displays the online help for this utility.
-help
-h
-frontend {jaxws|simple}Specifies front end to use for processing the SEI and generating the support classes. jaxws is the default.
-databinding {jaxb|aegis}Specifies the data binding used for processing the SEI and generating the support classes. The default when using the JAX-WS front end is jaxb. The default when using the simple frontend is aegis.
-wsdlInstructs the tool to generate a WSDL document.
-wrapperbeanInstructs the tool to generate the wrapper bean and the fault beans.
-clientInstructs the tool to generate client code.
-serverInstructs the tool to generate server code.
-antInstructs the tool to generate an Ant build script to compile the generated code.
-o outFileSpecifies the name of the generated WSDL file.
-s sourceDirSpecifies the directory into which the generated source files are placed.
-d resourceDirSpecifies the directory into which the resource files are placed.
-classdir classDirSpecifies the directory into which the generated source files are compiled. If this option is not used, the generated source is not compiled.
-cp classpathSpecifies the classpath searched when processing the SEI.
-soap12Specifies that the generated WSDL document is to include a SOAP 1.2 binding.
-t targetNamespaceSpecifies the target namespace to use in the generated WSDL file.
-beans beanPathSpecifies the path used to locate the bean definition files.
-servicename serviceNameSpecifies the value of the generated service element's name attribute.
-portname portNameSpecify the value of the generated port element's name attribute.
-createxsdimportsInstructs the tool to generate separate schemas for the types instead of including the types directly in the generated WSDL document.
-vDisplays the version number for the tool.
-verboseDisplays comments during the code generation process.
-quietSuppresses comments during the code generation process.
classnameSpecifies the name of the SEI class.