Axis Web service client Ant task properties file reference

The axis_client.properties file is used to pass data to the Web services Ant tasks when creating an Axis Web service client. This file shows the available options.

Parameters

ScenarioType
Options: client
This is a required element that tells the Ant task if it is creating a Web service or a Web service client.
InitialSelection
Enter the workspace relative URI to the WSDL file or Java bean within your workspace. For example /dynamicWebProjectName/WebContent/myService.wsdl or /dynamicWebProjectName/src/myBean.java
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.
Client.RuntimeId
This is the ID of the Web service's runtime. This parameter should not be modified.
Client.ServerId
Options:
  • org.eclipse.jst.server.tomcat.x (where x is 32, 40, 41, 50, or 55)
  • org.eclipse.jst.server.generic.weblogicx (where x is 81 or 90)
  • org.eclipse.jst.server.generic.jbossx (where x is 323 or 4)
  • org.eclipse.jst.server.generic.jonas4
  • org.eclipse.jst.server.generic.oracle1013
  • org.eclipse.jst.servers.websphere.6
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.
ClientProjectName
By default the client project is given the name of the WSDL file or Java bean from which it is created. Use this parameter to create the service project with a different name.
ClientEarProjectName
By default the client EAR project is given the name of the WSDL file or Java bean from which it is created. Use this parameter to create the service EAR project with a different name.
ClientComponentType

Options: jst.web jst.java

Use this parameter to select the type of client project. The only valid client project type for Axis clients is jst.web.

CustomizeClientMappings

Options: true false

Mappings are used to override the default namespace names in the generated WSDL. The content of the properties file must be of the format 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.

Mappings
Enter the workspace relative URI to a property file containing mappings.
OverwriteFilesEnabled
Options: true false
Use this parameter to tell the Ant task to overwrite any file that it creates with the same name as an existing file. By default this is set to true.
CreateFoldersEnabled
Options: true false
Use this parameter to tell the Ant task to create any neccessary folders. By default this is set to true.
CheckoutFilesEnabled
Options: true false
Use this parameter to tell the Ant task to checkout files from CVS without prompting you. By default this is set to true.