wsgen(1) General Commands Manual wsgen(1)NAME
wsgen - JAX-WS 2.0
SYNOPSIS
wsgen [options] SEI
DESCRIPTION
The wsgen tool generates JAX-WS portable artifacts used in JAX-WS web services. The tool reads a web service endpoint implementation class
(SEI) and generates all the required artifacts for web service deployment, and invocation.
OPTIONS -classpath path
Specify where to find input class files
-cp path
Same as -classpath
-d directory
Specify where to place generated output files
-extension
allow vendor extensions (functionality not specified by the specification). Use of extensions may result in applications that are
not portable or may not interoperate with other implementations.
-help Display help
-keep Keep generated files
-r directory
Used only in conjunction with the -wsdl option. Specify where to place generated resource files such as WSDLs.
-s directory
Specify where to place generated source files
-verbose
Output messages about what the compiler is doing
-version
Print version information. Use of this option will ONLY print version information. Normal processing will not occur.
-wsdl[:protocol]
By default wsgen does not generate a WSDL file. This flag is optional and will cause wsgen to generate a WSDL file and is usually
only used so that the developer can look at the WSDL before the endpoint is deploy. The protocol is optional and is used to specify
what protocol should be used in the wsdl:binding. Valid protocols include: soap1.1 and Xsoap1.2. The default is soap1.1. Xsoap1.2
is not standard and can only be used in conjunction with the -extension option.
-servicename name
Used only in conjunction with the -wsdl option. Used to specify a particular wsdl:service name to be generated in the WSDL. Exam-
ple, -servicename "{http://mynamespace/}MyService"
-portname name
Used only in conjunction with the -wsdl option. Used to specify a particular wsdl:port name to be generated in the WSDL. Example,
-portname "{http://mynamespace/}MyPort"
Example
wsgen -cp . -wsdl fromjava.server.AddNumbersImpl
This generates the portable JAX-WS artifacts that are required for Web Service deployment. It also generates the WSDL for the Web Service
with the -wsdl option.
07 Aug 2006 wsgen(1)
Check Out this Related Man Page
wsdl(1) General Commands Manual wsdl(1)NAME
wsdl - Mono's Web Service Proxy Generator
SYNOPSIS
wsdl [options] [path | url]
DESCRIPTION
wsdl is a tool for generating proxy classes that can be used to access to web services. The tool reads a WSDL document from the provided
path or url, and downloads referenced schemas or other WSDL documents if needed.
This tool is used to target the 1.x API, for targetting the 2.x API, please use the wsdl2 tool.
OPTIONS
The following options are available:
-appsettingurlkey:key -urlkey:key
Specifies that the url for the services should be read from the <appsettings> section of the configuration file, using the provided
key.
-appsettingbaseurl:url , -baseurl:url
Specifies a base URL for the service. The final URL will be constructed by combining this value with the URL read from the -appset-
tingurlkey option, and the -type:typename, assembly Generate a proxy for a compiled web service class. The URL parameter can be used
to providethe location of the service. location attribute specified in the WSDL document.
-language:language , -l
Language of the code to generate. It can be CS for C# (default), Boo for Boo and VB for Visual.Basic.
Alternatively you can specify a full type name for a CodeProvider, for
example, you could use this to generate code for the imaginary "MyLan" language which has the following full type:
wsdl myservice.wsdl -language:MyLan.MyLanCodeProvider, MyLan.CodeDom, Version=1.0.0.0, Culture=neutral, PublicKeyToken=xxyy'
-namespace:name , -n:name
The namespace of the generated classes. If none is specified, the default namespace is used.
-out:filename , -o:filename
The target file for generated code.
-protocol:protocol , -p:protocol
The protocol for which to generate code. It can be Soap (default), HttpGet or HttpPost.
-sample:METHOD
This will display XML request and reply of the sample invocations to that SOAP message. You can use the -protocol: option to render
the message in different forms.
-server
Generate a server skeleton instead of a client proxy.
-nologo
Supress the startup logo.
-u:username , -user:username
The user name to use when connecting to the server.
-p:password , -password:password
The password to use when connecting to the server.
-d:domain , -domain:domain
The domain to use when connecting to the server.
AUTHORS
Lluis Sanchez Gual (lluis@ximian.com)
LICENSE
wsdl is released under the terms of the GNU GPL.
SEE ALSO disco(1), soapsuds(1), mono(1), mcs(1), wsdl2(1)wsdl(1)