rmi2wsdl- Novell exteNd WSSDK Java RMI to WSDL compiler

rmi2wsdl is the Novell exteNd Web Services SDK Java RMI to WSDL compiler.

SYNOPSIS

rmi2wsdl [options] package-qualified-class-name(s)

where options include:
    -attachment <method:arg[n|result]> specify argument of method as attachment
    -classpath <path>    specify where to find user class files
    -d <directory>       destination directory for generated WSDL files
    -document            generate a document style SOAP binding
    -header <method:arg[n|result]> specify argument of method as a header part
    -help                print out this message
    -includeschema <url> import schema from specified url
    -J<vm flag>          pass argument to the java interpreter
    -literal             generate a literally encoded SOAP binding
    -noinline            do not embed generated XML types into WSDL document
    -notypes             map all unknown Java complex types to anyType
    -nowarn              generate no warnings
    -pkgns <pks> <ns>    map package pkg to namespace ns
    -servicename <name>  specify the name of the generated service
    -soap <address>      generate SOAP binding with service at address
    -typemapping <file>  load type mappings from file
    -verbose             turn verbose mode on
    -version             show version and build information
    -xmlns <ns>          specify namespace for generated WSDL files
    -xmlinstance <method:arg[n|result]><url> use the XML instance document to create a XML Schema type for the specified parameter
    -xmlschema <method:arg[n|result]><url> use the type defined in schema for the specified parameter
    -xmltype <{ns}name> <method:arg[n|result]> use the qname as the type for the specified parameter
    -xsd <uri>           specify the XML Schema URI
 

DESCRIPTION

The rmi2wsdl compiler transforms Java interfaces (RMI) into WSDL documents.

OPTIONS

-attachment <method:arg[n | result]>
To specify that a particular argument or return value of a method should be an attachment in the generated WSDL binding. Here method is the name of the method, arg0 is the first parameter of the method, arg(n-1) is the last parameter of the method, and result is the return value of the method. Use the -attachment flag once for each parameter specified.
-classpath <path>
Set the classpath available to the rmi2wsdl compiler when loading the source Java classes.
-d <directory>
Output generated WSDL files to the specified directory. The directory will automatically be created if it doesn't exist.
-document
Make 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.
-header <method:arg[n | result]>
To specify that a particular argument or return value of a method should be specified as a SOAP Header in the generated WSDL binding. Here method is the name of the method, arg0 is the first parameter of the method, arg(n-1) is the last parameter of the method, and result is the return value of the method. Use the -header flag once for each parameter specified.
-help
Prints out the command syntax.
-includeschema <url>
Import the schema from the specified url and add it to the generated WSDL. Usually used in combination with the -xmltype flag to specify the XML data type for a particular parameter.
-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.
-literal
Make 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.
-noinline
Do 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.
-notypes
Do not map unknown complex Java types to corresponding schema types. All unknown Java types will be mapped to anyType.
-nowarn
Do not print out warning messages.
-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.
-servicename <name>
Use the specified name for the generated Service class. The default Service class name is derived by adding "Service" to the interface name.
-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.
-typemapping <file>
Load type mappings from file. This argument can be specified multiple times.
-verbose
Print out details about the compilation. This includes information about type and package mappings.
-version
Print out the version and build information of Novell exteNd WSSDK.
-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).
-xmlinstance <method:arg[n | result]> <url>
Generate a XML schema type from the XML document at the specified url. Use the generated Schema type as the XML data type for the specified parameter. There should be only one type defined in the generated schema.
-xmlschema <method:arg[n | result]> <url>
Import the schema at the specified url and use the type defined in the schema as the XML data type for the specified parameter. There should be only one type defined in the schema. Also if  the -document flag is specified the single type should be defined as an "element". If both -literal and -document are not specified then the single type should be a "complexType" or a "simpleType".
-xmltype <method:arg[n | result]> <{ns}name>
Use the qname specified as {ns}name as the XML data type for the specified parameter. This should be used with the -includeschema flag to import the schema that has the definition for the XML type with the given qname.
-xsd <uri>
Use uri as the XML Schema string for WSDL types. The default value is "http://www.w3.org/1999/XMLSchema".

Copyright © 2001-2003, Novell, Inc. All rights reserved.