Top-down CXF Web service Ant task properties file reference
The cxf_tdjava.properties file is used
to pass data to the Web services Ant tasks when creating a CXF Web service.
This file shows the available options.
Parameters
- ScenarioType
- Options: service
- This is a required element that tells the Ant task if it is creating a
Web service or a Web service client.
- InitialSelection
- Enter URI to the WSDL file. This URI may be a workspace relative URI or point to a remote URI.
For example /dynamicWebProjectName/WebContent/myService.wsdl or http://localhost:8080/dynamicWebProjectName/services/MyServicePort?wsdl
- ListRuntimes
- Options: true false
- If true is selected, the list of valid runtime options
will be provided when the Ant task is run.
- ListServers
- Options: true false
- If true is selected, the list of valid server options
will be provided when the Ant task is run.
- Service.RuntimeId
- This is the ID of the CXF Web service runtime. This parameter should not modified.
- Service.ServerId
- Options:
- org.eclipse.jst.server.tomcat.x (where x is 60 or 70)
- org.eclipse.jst.server.generic.jbossx (where x is 42 or 5)
- This is the ID of the target server. Delete or comment out this parameter
to have the Ant task select the correct value based on the server settings
of the Dynamic Web project.
- ServiceProjectName
- By default the service project is given the name of the WSDL file from which it is created.
Use this parameter to create the service project with a different name.
- ServiceEarProjectName
- By default the service EAR project is given the name of the WSDL file from which it is created.
Use this parameter to create the service EAR project with a different name.
- Mappings
- Enter the workspace relative URI to a property file containing mappings.
- Mappings are used to override the WSDL namespace to package name mapping of the generated Java classes.
The content of the properties file must be of the format wsdl-namespace=package. You will need to escape some special characters in the
properties files. For example http://someNamespace=somePackage should
be http\://someNamespace=somePackage. Otherwise, the colon
(:) would be treated as delimiter resulting in trying to map http to //someNamespace=somePackage.
- JavaOutput
- Enter the workspace relative URI to an existing Java source folder for
the generated Java code.
- ServiceName
- Specify the name of the WSDL service for which code is to be generated.
The default is to generate code for every service in the WSDL document
- GenServer
- Options: true
false
- If true
a server mainline that uses JAX-WS APIs will be generated.
- GenImpl
- Options: true
false
- If true the
starting point code for an implementation object will be generated.
- DefaultValues
- Options: true
false
- If true the
default values will be generated in the implementation and client.
Ignored if implementation or client is not being generated
- ExtSOAPHeaders
- Options: true
false
- If true
processing of extended soap header message binding will be enabled.
- DefaultNamespace
- Options: true
false
- If true
loading of the default namespace package name mapping will be enabled.
- DefaultExcludesNamespace
- Options: true
false
- If true the
loading of the default excludes namespace mapping will be enabled.
- AutoNameResolution
- Options: true
false
- If true
Auto Name Resolution will be enabled.
- XJC Args: Specify the arguments to be passed directly to the XJC
- xjc_dv
- Options: true
false
- If true
fields will be initialised with their default values.
- xjc_ts
- Options: true
false
- If true
a toString() method will be added to generated classes.
- xjc_ts_multi
- Options: true
false
- If true the
toString() method will produce multi line output.
- xjc_ts_simple
- Options: true
false
- If true the
toString() method will produce single line terse output.
- xjc_locator
- Options: true
false
- If true the
source location support for generated code will be enabled.
- xjc_sync_methods
- Options: true
false
- If true
accessor methods will be generated with the 'synchronized' keyword.
- xjc_mark_generated
- Options: true
false
- If true
@Generated annotations will be added to the generated code.
- Bindings
- Binding Files. Comma delimited string of absolute paths in the
local file system of JAXWS or JAXB binding files.