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 creating 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 - 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 Java bean relative to the workspace. This URI has the form /project/src_folder/package/Class.java.

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
ServiceProjectName
This parameter is a custom name for the web service project. By default, the project takes the name of the Java 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 Java 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 specifies the class name of the Java implementation. The default is the original bean name appended by "Delegate". 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 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 wrapped inside a top-level element named after the operation.
GenerateWSDL
Options: true false
Because the annotations in the delegate class are used to tell the runtime that the bean is a web service, a static WSDL file is no longer generated into your project automatically. The runtime 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.

Feedback