rmi2wsdl is the jBroker Web Java RMI to WSDL compiler.
rmi2wsdl [options] package-qualified-class-name(s)where options include:
-help print out this message
-J<vm flag> pass argument to the java interpreter
-d <directory> destination directory for generated WSDL files
-classpath <path> specify where to find user class files
-xsd <uri> specify the XML Schema URI
-xmlns <ns> specify namespace for generated WSDL files
-pkgns <pks> <ns> map package pkg to namespace ns
-typemapping <file> load type mappings from file
-soap <address> generate SOAP binding with service at address
-literal generate a literally encoded SOAP binding
-document generate a document style SOAP binding
-noinline do not embed generated XML types into WSDL document
-notypes map all unknown Java complex types to anyType
-verbose turn verbose mode on
-nowarn generate no warnings
The rmi2wsdl compiler transforms Java interfaces (RMI) into WSDL documents.
-helpPrints out the command syntax.-J<vm flag>Pass a flag to the jvm. As an example -J-Xms100m sets the maximum heap size to 100 MB when running rmi2wsdl.-d <directory>Output generated WSDL files to the specified directory. The directory will automatically be created if it doesn't exist.-classpath <path>Set the classpath available to the rmi2wsdl compiler when loading the source Java classes.-xsd <uri>Use uri as the XML Schema string for WSDL types. The default value is "http://www.w3.org/1999/XMLSchema".-xmlns <ns>Make ns the default targetNamespace in the generated WSDL file(s), regardless of which package the source classes came from. If the -xmlns or -pkgns options are not present, the rmi2wsdl compiler will attempt to create a targetNamespace derived from the package of the source Java file(s).-pkgns <pkg> <ns>Map the Java package pkg to the WSDL namespace ns. When compiling multiple Java interfaces and types from different packages, this option provides a flexible mechanism for mapping different Java packages to different WSDL targetNamespace's. This flag can be specified multiple times and overrides the -xmlns option.-typemapping <file>Load type mappings from file. This argument can be specified multiple times.-soap <address>Generate SOAP bindings in the WSDL document as well as a service entry with the specified address. By default, the rmi2wsdl compiler will only generate the portType information of the WSDL definition.-literalMake the use of messages in the SOAP bindings literal instead of encoded. By default, the rmi2wsdl compiler will generate encoded message definitions. This flag is only used when -soap is specified.-documentMake the binding style document instead of rpc. By default, the rmi2wsdl compiler will generate an rpc style SOAP binding. This flag is only used when -soap is specified.-noinlineDo not embed generated XML types into the WSDL document. The compiler will generate separate XSD files and create import statements in the WSDL file. XSD files include array types, built-in types such as Map and types loaded from the type mapping. The default behavior is to generate the XML types and include them in WSDL.-notypesDo not map unknown complex Java types to corresponding schema types. All unknown Java types will be mapped to anyType.-verbosePrint out details about the compilation. This includes information about type and package mappings.-nowarnDo not print out warning messages.
Copyright © 2001-2002, SilverStream Software, Inc. All rights reserved.