Ant properties files for web service clients for the IBM WebSphere JAX-WS runtime environment

The was_jaxws_client.properties file is used to pass data to the Ant tasks when you create a web service client for the IBM® WebSphere® JAX-WS runtime environment.

Required Parameters

ScenarioType
Options: client
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 absolute URL of the WSDL.

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.
Client.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.
Client.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 project.
ClientProjectName
This parameter is a custom name for the project for the web service client. By default, the project takes the name of the WSDL file from which the project is created.
ClientEarProjectName
This parameter is a custom name for the project for the web service client EAR. By default, the project takes the name of the WSDL file from which the project is created. (Set this parameter only if it applies to the server type.)
ClientComponentType
Options: template.jst.web template.jst.ejb, template.jst.appclient template.jst.utility
This parameter is the type of the web service client. The default value is template.jst.web.
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.
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.
GenPortableClient
Set this parameter to True to enable you move your web service client code from one machine to another or from one instance of WebSphere Application Server to another. If this option is selected, the WSDL document and all the XML schema and other WSDL documents that it depends upon are copied into the client project under WEB-INF/wsdl. A file:relativeURL pointing to this copy is then injected into the JAX-WS Service class's static initialization block.
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 server.
AsyncOperation
Options: true false
Set this parameter to true to enable an asynchronous client. For each method in the web service two more methods are created. These methods are polling and callback methods that allow the client to function asynchronously. The default is false.
PortToProxyMapping
You can accept the default proxy name or specify a proxy class name for each port. The syntax is in the form of a port name to proxy class name-value pair, delimited by ",". For example, Port1=ProxyClass1,Port2=ProxyClass2
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.
Icon that indicates the type of topic Reference topic
Timestamp icon Last updated: July 17, 2017 21:58

File name: rclientantpropjaxws.html