Ant properties files for bottom-up EJB Web services in the IBM WebSphere JAX-RPC runtime environment

The was_jaxrpc_buejb.properties file is used to pass data to the Ant tasks when creating a bottom-up EJB Web service for the IBM® WebSphere® JAX-RPC runtime environment. These are the parameter options that are available.

Required Parameters

InitialSelection
This parameter is the workspace-relative URI of the Java™ implementation file for your EJB session bean. This URI has the form /ejbProject/src_folder/package/ImplBeanClass.java.
Scenario.TypeID
Options: Bottom Up EJB
This parameter is the type of the Web service.
ScenarioType
Options: service
This parameter is the type of scenario for the Ant task.

Optional Parameters

Binding
Options: http jms ejb
This parameter is a comma-delimited list of bindings (that is, transports). The default value is http.
CheckoutFilesEnabled
Options: true false
This parameter determines whether the Ant task checks out files from the repository without prompting. 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.
GenerateSEIFile
Options: true false
This parameter determines whether the Ant task generates a new Service Endpoint Interface (SEI) file. 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.
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.
JavaOutput
This parameter is the workspace-relative URI of an existing Java source folder for the generated Java code.
Mappings
This parameter is the workspace-relative URI of a property file that contains custom mappings from the package to the namespace.
Mappings are used to override the default namespace names in the generated WSDL file. Each line of the properties file must have the form package = namespace. The URI should have the form /project/folder/mapping.properties.
Methods
This parameter limits the methods that are exposed in the Web service. The value must be in the form of a comma delimited list of method signatures, for example, method1(parmType1), method2(parmType2). If no list is provided, all methods are exposed.
MimeStyle
Options: WSDL11 swaRef
This parameter is the MIME style that the WSDL file uses.
OverwriteFilesEnabled
Options: true false
This parameter determines whether the Ant task overwrites an existing file with a new file of the same name. The default value is true.
SecurityConfig
Options: 0 1 2 3
This parameter is the security setting of the Web service. The default value is 0.
Option Description
0 No security
1 Digital signature
2 XML encryption
3 Digital signature and XML encryption
Service.RuntimeId
Options: com.ibm.ast.ws.wasWebServiceRT
This parameter is the ID of the runtime environment of the Web service. This parameter should not be modified.
Service.ServerId
Options:
  • com.ibm.ws.ast.st.v61.server.base
  • com.ibm.ws.ast.st.v6.server.base
  • com.ibm.websphere.v51.server.base
  • com.ibm.websphere.v51.server.express
  • com.ibm.websphere.v51.server.remote.base
  • com.ibm.websphere.v51.server.remote.express
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 dynamic Web project.
ServiceEarProjectName
This parameter is a custom name for the Web service EAR project. By default, the project takes the name of the EJB session bean from which the project is created.
ServiceProjectName
This parameter is a custom name for the Web service project. By default, the project takes the name of the EJB session bean from which the project is created.
SoapAction
Options: OPERATION NONE DEFAULT
This parameter sets the soapAction field in the generated WSDL file. The default value is OPERATION.
Style
Options: DOCUMENT RPC WRAPPED
This parameter is the style of the SOAP messages. The default value is DOCUMENT.
Use
Options: LITERAL ENCODED
This parameter is the use of SOAP messages. The default value is LITERAL.
Verbose
Options: true false
If the value is true, informational messages and errors are displayed when the Ant task is run.
VoidReturn
Options: ONEWAY TWOWAY
This parameter determines whether void return methods in the WSDL file are treated as one-way or two-way. The default value is TWOWAY.

Feedback