Annotation Type WebService


@Retention(value=RUNTIME)
 @Target(value=TYPE)
public @interface WebService

Optional Elements

Modifier and Type Optional Element and Description
String endpointInterface
String name
String portName
String serviceName
String targetNamespace
String wsdlLocation

Elements

name

public abstract String name
Default:
""

targetNamespace

public abstract String targetNamespace
Default:
""

serviceName

public abstract String serviceName
Default:
""

portName

public abstract String portName
Default:
""

wsdlLocation

public abstract String wsdlLocation
Default:
""

endpointInterface

public abstract String endpointInterface
Default:
""

© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/javase/8/docs/api/javax/jws/WebService.html