Example - Sun Microsystems J2ME User Manual

Wireless toolkit 2.2
Table of Contents

Advertisement

Note – Exactly one -gen option must be specified. The -f option requires a
comma-separated list of features.
TABLE 15
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.
TABLE 15
Option
explicitcontext
nodatabinding
noencodedtypes
nomultirefs
novalidation
searchschema
serializeinterface
s
wsi
resolveidref
nounwrap
B.6.1.1

Example

wscompile -gen -d generated config.xml
wscompile -gen -f:nounwrap -O -cldc1.1 -d generated config.xml
114
J2ME Wireless Toolkit User's Guide • October 2004
lists the features (delimited by commas) that can follow the -f option.
Command Supported Features (-f) for wscompile
Description
turn on explicit service context mapping
turn off data binding for literal encoding
turn off encoding type information
turn off support for multiple references
turn off full validation of imported
WSDL documents
search schema aggressively for subtypes
turn on direct serialization of interface
types
enable WSI-Basic Profile features
(default)
Resolve xsd:IDREF
No unwrap.
Type of File
WSDL
WSDL
WSDL, SEI, model
WSDL, SEI, model
WSDL
WSDL
WSDL, SEI, model

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the J2ME and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents