Ant properties files for bottom-up Java web services in the IBM WebSphere JAX-WS runtime environment
The was_jaxws_bujava.properties file is used to pass data to the Ant tasks when you create a bottom-up 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
- ServiceProjectName
- This parameter is a custom name for the web service project. By default, the project takes the name of the bean from which the project is created.
- ServiceEarProjectName
- This parameter is a custom name for the web service EAR project. By default, the project takes the name of the bean from which the project is created.
- 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.
- SOAP12
- Options: true false
- Set this parameter to true to enable SOAP 1.2 bindings or false to use SOAP 1.1 bindings. The default value is false.
- 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.
- DelegateClass
- This parameter specifies the class name of the Java implementation. The default is the original bean name with "Delegate" appended. The format of this field is in the form of packageName.ClassNameDelegate.
- JavaToWSDLMapping
- Options:
- Document Wrapped
- Document Bare
- RPC
- The style defines encoding style for messages that are sent to and from the web service. The parameter style determines whether the method's parameters represent the entire message body or whether parameters are elements that are wrapped inside a top-level element that is named after the operation.
- GenerateWSDL
- Options: true false
- Because the annotations in the delegate class are used to tell the runtime environment that the bean is a web service, a static WSDL file is no longer generated into your project automatically. The runtime environment can dynamically generate a WSDL file from the information in the bean. Set this parameter to true to generate a WSDL file for the web service. The default value is false.
- WSDLTargetNamespace
- Enter the WSDL service namespace. This field is only used if GenerateWSDL is set to true.
- WSDLServiceName
- Enter the WSDL service name. This field is only used if GenerateWSDL is set to true.
- WSDLPortName
- Enter the WSDL service port. This field is only used if GenerateWSDL is set to true.
- AddExtension
- Options: true false
- Use this option to allow vendor extensions necessary for processing some WSDL documents.