B.6.1.1, Example, B.6.1.1 example – Sun Microsystems J2ME User Manual
Page 126

114
J2ME Wireless Toolkit User’s Guide • October 2004
Note –
Exactly one
-gen
option must be specified. The
-f
option requires a
comma-separated list of features.
TABLE 15
lists the features (delimited by commas) that can follow the
-f
option.
The wscompile tool reads a WSDL file, compiled service endpoint interface (SEI),
or model file as input. The Type of File column indicates which of these files can be
used with a particular feature.
B.6.1.1
Example
wscompile -gen -d generated config.xml
wscompile -gen -f:nounwrap -O -cldc1.1 -d generated config.xml
TABLE 15
Command Supported Features (-f) for
wscompile
Option
Description
Type of File
explicitcontext
turn on explicit service context mapping
WSDL
nodatabinding
turn off data binding for literal encoding
WSDL
noencodedtypes
turn off encoding type information
WSDL, SEI, model
nomultirefs
turn off support for multiple references
WSDL, SEI, model
novalidation
turn off full validation of imported
WSDL documents
WSDL
searchschema
search schema aggressively for subtypes
WSDL
serializeinterface
s
turn on direct serialization of interface
types
WSDL, SEI, model
wsi
enable WSI-Basic Profile features
(default)
resolveidref
Resolve
xsd:IDREF
nounwrap
No unwrap.