The was_jaxws_tdjava.properties file
is used to pass data to the Ant tasks when creating a top-down Java™ web service for the IBM® WebSphere® JAX-WS runtime environment. This
file describes the parameter options that are available in the template
- the template should be updated before running the Ant task in order
to create the web service with the options you want.
Required Parameters
- ScenarioType
- Options: service
- This parameter is the type of scenario for the Ant task.
- InitialSelection
- This parameter is the URI of the input WSDL file relative to the
workspace, or the fully qualified URL of a WSDL file. This URI has
the form /project/MyWSDL.wsdl or http://myurl.com/service.wsdl.
Optional Parameters
- ListRuntimes
- Options: true false
- If the value is true, a list of valid runtime
options will be displayed when the Ant task is run.
- ListServers
- Options: true false
- If the value is true, a list of valid server
options will be displayed when the Ant task is run.
- Verbose
- Options: true false
- If the value is true, informational messages
and errors are displayed when the Ant task is run.
- Service.RuntimeId
- This parameter is the ID of the runtime environment of the web
service. For JAX-WS web services the only valid value is com.ibm.ast.ws.jaxws.WasWebServiceRT.
This parameter should not be modified.
- Service.ServerId
- This parameter is the ID of the target server. To set this value
automatically, delete or comment out the parameter, and the Ant task
will get the correct value from the server settings of the web project.
For JAX-WS web services the only valid values are:
- com.ibm.ws.ast.st.v7.server.base
- com.ibm.ws.ast.st.v8.server.base
- com.ibm.ws.ast.st.v85.server.base
- com.ibm.ws.st.server.v85.was
- JavaOutput
- Accept the default or enter a path where the Java skeleton will be generated.
- OverwriteFilesEnabled
- Options: true false
- This parameter determines whether the Ant task overwrites preexisting
files. The default value is true.
- CreateFoldersEnabled
- Options: true false
- This parameter determines whether the Ant task creates any required
folders. The default value is true.
- CheckoutFilesEnabled
- Options: true false
- This parameter determines whether the Ant task checks out files
from the repository without prompting. The default value is true.
- Host
- This parameter is the name of the host in the generated WSDL file.
The value has the form myhost:9080.
- The default value is localhost:9080.
- TargetPackage
- The web services client wizard generates a number of Java files from the specified WSDL. By default
it will create a package name based on the namespace specified in
the WSDL file. To override this default behavior you can specify your
own package name.
- CopyWSDL
- Options: true false
- Set this to true to copy the WSDL file into the service project.
- EnableWrapperStyle
- Options: true false
- For WSDL documents that implement a document/literal wrapped pattern,
a root element is declared in the XML schema and is used as an operation
wrapper for a message flow. Separate wrapper element definitions exist
for both the request and the response. The default is true.
- MTOM
- Options: true false
- Set this parameter to true to enable SOAP Message Transmission
Optimization Mechanism to optimize the transmission of binary content.
The default value is false.
- GenXSDLibrary
- Set this to true to generate a schema library.
- JAXWSVersion
- Options: 2.0 2.1
- The Ant task can generate JAX-WS 2.0 or 2.1 compliant code if
you are targeting a WebSphere Application
Server v7 or v8 server.
- PortToImplBeanMapping
- For each port defined in the WSDL file, you can enter a name for
the service implementation class in the form of port name to implementation
bean value pairs with "," as a delimiter. For example, Port1=ImplBean1,Port2=ImplBean2
- BindingFiles
- If you have created JAX-WS or JAXB custom binding files and they
reside in the workspace, enter their location to use them to create
this web service.
- AddExtension
- Options: true false
- Use this option to allow vendor extensions necessary for processing
some WSDL documents.