Ant properties files for top-down Java web services in the IBM WebSphere JAX-WS runtime environment
The was_jaxws_tdjava.properties file is used to pass data to the Ant tasks when you create 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. Update the template before you run the Ant task to create the web service with the options that you want.
Required Parameters
Optional Parameters
- ListRuntimes
- Options: true false
- If the value is true, a list of valid runtime options is displayed when the Ant task is run.
- ListServers
- Options: true false
- If the value is true, a list of valid server options is 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.
- Service.ServerId
- This parameter is the ID of the target server. To set this value
automatically, delete or comment out the parameter so that the Ant
task receives the correct value from the server settings of the web project. For
JAX-WS web services, the only the following values are valid:
- 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 is 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 creates a package name that is based on the namespace that is specified in the WSDL file. To override this default behavior, you can specify your own package name.
- CopyWSDL
- Options: true false
- Set this parameter 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 parameter 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 created JAX-WS or JAXB custom binding files and they are 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.