|
Tags for declaration of Apache Axis services
Applies to: POJO
Declares the class an Axis SOAP service.
Applies to: POJO
Parameter
|
Type
|
Applicability
|
Description
|
Mandatory
|
name
|
text
|
|
Define the service's name.
|
true
|
scope
|
text
|
|
Define the service scope.
Valid options are:
Request
Session
Application
Default value(s):
Application
|
true
|
provider
|
text
|
|
Specifies the provider type.
Default value(s):
"java:EJB" for EJBs, "java:RPC" for non-EJBs.
|
false
|
include-all
|
bool
|
|
If set to true, all methods will be exposed,
without regard to whether or not they are tagged
with @axis.method.
Default value(s):
false
|
false
|
Declares the method a SOAP service method. Does not have any
parameters.
Note: By default "create" methods of session bean is used, no need to
explicitly specify a method as axis.method.
Applies to: Method level
Tags for declaration of Apache SOAP services
Applies to: POJO
Declares the class a SOAP service.
Applies to: POJO
Parameter
|
Type
|
Applicability
|
Description
|
Mandatory
|
scope
|
text
|
|
Define the service scope.
Valid options are:
Page
Request
Session
Application
Default value(s):
Page
|
true
|
provider
|
text
|
|
Specifies the provider class name. There's
special support for EJB beans, so if you do
not specify the provider parameter,
Apache Soap tries to assign the correct
provider name to the service based on the
type of the EJB bean. The provider name
for the EJB is taken from
statelessSessionEjbProvider or
statefulSessionEjbProvider or
entityEjbProvider configuration
parameters based on the EJBean type.
|
false
|
urn
|
text
|
|
The URN for the service.
|
false
|
type
|
text
|
|
Sets the service type. The only valid value is "message".
Valid options are:
message
|
false
|
checkMustUnderstands
|
bool
|
|
Declares whether or not the server is to throw a Fault if there are SOAP
headers in the request which are marked as "MustUnderstand".
|
false
|
Declares the method a SOAP service method. Does not have any
parameters.
Note: By default "create" methods of session bean is used, no need to
explicitly specify a method as soap.method. All methods declared in remote
interface of an EJB are automatically exposed to SOAP clients by default.
Applies to: Method level
Defines a form bean and its attributes.
Applies to: Applicable to entity beans and struts actions
Defines the action class and its attributes
Applies to: Struts Action
Parameter
|
Type
|
Applicability
|
Description
|
Mandatory
|
name
|
text
|
|
The name of the action. Must be unique within
the bounds of the Struts application
|
true
|
path
|
text
|
|
The path that the action will match.
|
true
|
scope
|
text
|
|
Define the scope of the action. "request" | "session" | "application"
Valid options are:
request
session
application
Default value(s):
request
|
true
|
input
|
text
|
|
The path to the input for the Action
|
true
|
roles
|
text
|
|
Comma-delimited list of security role names that are allowed
access to this ActionMapping object. Since Struts 1.1.
|
false
|
validate
|
text
|
|
The validation flag for the action
Default value(s):
true
|
true
|
parameter
|
text
|
|
The optional parameter for the action
|
true
|
Defines the action specific exception handling
Applies to: Struts Action
Parameter
|
Type
|
Applicability
|
Description
|
Mandatory
|
key
|
text
|
|
The key to use with this handler's message resource bundle
that will retrieve the error message template for this
exception.
|
true
|
type
|
text
|
|
Fully qualified Java class name of the exception type to
register with this handler.
|
true
|
className
|
text
|
|
The configuration bean for this ExceptionHandler object.
If specified, className must be a subclass of the default
configuration bean.
|
false
|
handler
|
text
|
|
Fully qualified Java class name for this exception handler.
|
false
|
path
|
text
|
|
The module-relative URI to the resource that will complete
the request/response if this exception occurs.
|
false
|
scope
|
text
|
|
The context ("request" or "session") that is used to access
the ActionError object [org.apache.struts.action.ActionError]
for this exception.
|
false
|
Defines local forwards for a Struts action class
Applies to: Struts Action
Parameter
|
Type
|
Applicability
|
Description
|
Mandatory
|
name
|
text
|
|
The name of the forward
|
true
|
path
|
text
|
|
The path of the forward
|
true
|
Defines a form bean and its attributes.
Applies to: Entity beans
Parameter
|
Type
|
Applicability
|
Description
|
Mandatory
|
name
|
text
|
|
Define a unique name for the form.
|
true
|
extends
|
text
|
|
Define which class the generated form must extend.
|
false
|
implements
|
text
|
|
Define which interface the generated form must implement.
|
false
|
include-pk
|
bool
|
|
Whether to include pk field in form. Default is true. If set to
false, individual pk fields can still be included.
Default value(s):
true
|
false
|
include-all
|
bool
|
|
Whether to include all persistent fields in form. Default is false.
Default value(s):
true
|
false
|
Include property in specific struts form
Applies to: property to be included
Parameter
|
Type
|
Applicability
|
Description
|
Mandatory
|
form-name
|
text
|
|
|
to include this property in specified form.
|
Defines Struts Validator for current setter field.
Applies to: Struts ValidatorForm
Parameter
|
Type
|
Applicability
|
Description
|
Mandatory
|
type
|
text
|
|
Validator type, such as "required"
|
true
|
msgkey
|
text
|
|
Override key for the validator error message
|
false
|
msgvalue
|
text
|
|
Explicitly define a validator error message
|
false
|
page
|
text
|
|
Only fields with a "page" attribute
value that is equal to or less than the page property
on the form JavaBean are processed.
|
false
|
arg0value
|
text
|
|
Value of argument index 0
|
false
|
arg0resource
|
text
|
|
Resource key of argument index 0
|
false
|
arg1value
|
text
|
|
Value of argument index 1
|
false
|
arg1resource
|
text
|
|
Resource key of argument index 1
|
false
|
arg2value
|
text
|
|
Value of argument index 2
|
false
|
arg2resource
|
text
|
|
Resource key of argument index 2
|
false
|
arg3value
|
text
|
|
Value of argument index 3
|
false
|
arg3resource
|
text
|
|
Resource key of argument index 3
|
false
|
Defines arguments for current setter field.
Applies to: Struts ValidatorForm
Parameter
|
Type
|
Applicability
|
Description
|
Mandatory
|
arg0value
|
text
|
|
Value of argument index 0
|
false
|
arg0resource
|
text
|
|
Resource key of argument index 0
Default value(s):
FormName.fieldName
|
false
|
arg1value
|
text
|
|
Value of argument index 1
|
false
|
arg1resource
|
text
|
|
Resource key of argument index 1
|
false
|
arg2value
|
text
|
|
Value of argument index 2
|
false
|
arg2resource
|
text
|
|
Resource key of argument index 2
|
false
|
arg3value
|
text
|
|
Value of argument index 3
|
false
|
arg3resource
|
text
|
|
Resource key of argument index 3
|
false
|
Defines Struts Validator variable
Applies to: Struts ValidatorForm
Parameter
|
Type
|
Applicability
|
Description
|
Mandatory
|
name
|
text
|
|
Variable name
|
true
|
value
|
text
|
|
Variable value
|
true
|
|