Scope: Class
Multiplicity
(0..1): You can use this tag
one time in any Java™ source
file that implements a Web service.
Purpose
This tag provides information about
the Web service. This tag is required for all Web service implementation
classes.
| Parameter |
Type |
Applicability |
Description |
Mandatory |
| name |
text |
Java bean,
stateless session EJB |
Used as the name of the <wsdl:portType> element
in the WSDL file created for this Web service. Defaults to the Java2WSDL
default. |
false |
| serviceName |
text |
Java bean,
stateless session EJB |
Name of the <wsdl:service> element in the
WSDL file created for this Web service. Defaults to the Java2WSDL
default. |
false |
| targetNamespace |
text |
Java bean,
stateless session EJB |
The XML namespace used for WSDL elements generated
from this class. Defaults to the Java2WSDL default. |
false |