| Package | Description | 
|---|---|
| javax.xml.ws | This package contains the core JAX-WS APIs. | 
| javax.xml.ws.spi | This package defines SPIs for JAX-WS. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Service | Service. create(QName serviceName)Creates a  Serviceinstance. | 
| static Service | Service. create(QName serviceName,
      WebServiceFeature... features)Creates a  Serviceinstance. | 
| static Service | Service. create(URL wsdlDocumentLocation,
      QName serviceName)Creates a  Serviceinstance. | 
| static Service | Service. create(URL wsdlDocumentLocation,
      QName serviceName,
      WebServiceFeature... features)Creates a  Serviceinstance. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract ServiceDelegate | Provider. createServiceDelegate(URL wsdlDocumentLocation,
                     QName serviceName,
                     Class<? extends Service> serviceClass)Creates a service delegate object. | 
| ServiceDelegate | Provider. createServiceDelegate(URL wsdlDocumentLocation,
                     QName serviceName,
                     Class<? extends Service> serviceClass,
                     WebServiceFeature... features)Creates a service delegate object. | 
 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, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.