Mega Code Archive

 
Categories / Java Tutorial / Web Services SOA
 

The WebService annotation type elements

Element Description nameThe name of the web service. targetNamespaceOn a service endpoint interface, it is used for the namespace for the wsdl:portType element. On a service implementation bean that does not reference a service endpoint interface, it is used for both the wsdl:portType and the wsdl:service elements. Used with a service implementation bean that references a service endpoint interface, it is used for only the wsdl:service element. serviceNameThe service name of the Web Service. portNameThe name of the wsdl:port when mapped to WSDL 1.1 wsdlLocationThe location of the WSDL describing the service. endpointInterfaceThe complete name of the service endpoint interface.