Java™ Platform
Standard Ed. 8
javax.xml.ws

Annotation Type WebServiceClient



  • @Target(value=TYPE)
     @Retention(value=RUNTIME)
     @Documented
    public @interface WebServiceClient
    Used to annotate a generated service interface.

    The information specified in this annotation is sufficient to uniquely identify a wsdl:service element inside a WSDL document. This wsdl:service element represents the Web service for which the generated service interface provides a client view.

    Since:
    JAX-WS 2.0
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element and Description
      String name
      The local name of the Web service.
      String targetNamespace
      The namespace for the Web service.
      String wsdlLocation
      The location of the WSDL document for the service (a URL).
    • Element Detail

      • name

        public abstract String name
        The local name of the Web service.
        Default:
        ""
      • targetNamespace

        public abstract String targetNamespace
        The namespace for the Web service.
        Default:
        ""
      • wsdlLocation

        public abstract String wsdlLocation
        The location of the WSDL document for the service (a URL).
        Default:
        ""
Java™ Platform
Standard Ed. 8

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

微信小程序

微信扫一扫体验

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部