The was_jaxws_client.properties file
is used to pass data to the Ant tasks when creating a web service
client for the IBM® WebSphere® JAX-WS runtime environment. These
are the parameter options that are available.
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 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.
- 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.
This parameter should not be modified.
- Client.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 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 will create a package name based on the namespace specified in
the WSDL file. To override this default behavior you can specify your
own package name.
- GenPortableClient
- Setting this to True would allow you to 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 will
be copied into the client project under WEB-INF/wsdl and a file:relativeURL pointing
to this copy will then be 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 targetting a WebSphere Application
Server v7 server.
- AsyncOperation
- Options: true false
- Set this to true to enable an asynchronous client. For each method
in the web service two additional methods will be created. These are
polling and callback methods which 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 have created JAX-WS or JAXB custom binding files and they
reside 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.