Uses of Class javax.xml.ws.wsaddressing.W3CEndpointReferenceBuilder (Java Platform SE 8 )
Date: 2026-01-21

## Uses of Class
javax.xml.ws.wsaddressing.W3CEndpointReferenceBuilder

- Packages that use W3CEndpointReferenceBuilder
  Package | Description
  --- | ---
  javax.xml.ws.wsaddressing | This package defines APIs related to WS-Addressing.

- - ### Uses of W3CEndpointReferenceBuilder in javax.xml.ws.wsaddressing

    Methods in javax.xml.ws.wsaddressing that return W3CEndpointReferenceBuilder
    Modifier and Type | Method and Description
    --- | ---
    `W3CEndpointReferenceBuilder` | W3CEndpointReferenceBuilder.`address(String address)` Sets the `address` to the `W3CEndpointReference` instance's `wsa:Address`.
    `W3CEndpointReferenceBuilder` | W3CEndpointReferenceBuilder.`attribute(QName name, String value)` Adds an extension attribute to the `W3CEndpointReference` instance's `wsa:EndpointReference` element.
    `W3CEndpointReferenceBuilder` | W3CEndpointReferenceBuilder.`element(Element element)` Adds an extension element to the `W3CEndpointReference` instance's `wsa:EndpointReference` element.
    `W3CEndpointReferenceBuilder` | W3CEndpointReferenceBuilder.`endpointName(QName endpointName)` Sets the `endpointName` as `wsam:ServiceName/@EndpointName` in the `wsa:Metadata` element.
    `W3CEndpointReferenceBuilder` | W3CEndpointReferenceBuilder.`interfaceName(QName interfaceName)` Sets the `interfaceName` as the `wsam:InterfaceName` element in the `wsa:Metadata` element.
    `W3CEndpointReferenceBuilder` | W3CEndpointReferenceBuilder.`metadata(Element metadataElement)` Adds the `metadataElement` to the `W3CEndpointReference` instance's `wsa:Metadata` element.
    `W3CEndpointReferenceBuilder` | W3CEndpointReferenceBuilder.`referenceParameter(Element referenceParameter)` Adds the `referenceParameter` to the `W3CEndpointReference` instance `wsa:ReferenceParameters` element.
    `W3CEndpointReferenceBuilder` | W3CEndpointReferenceBuilder.`serviceName(QName serviceName)` Sets the `serviceName` as the `wsam:ServiceName` element in the `wsa:Metadata` element.
    `W3CEndpointReferenceBuilder` | W3CEndpointReferenceBuilder.`wsdlDocumentLocation(String wsdlDocumentLocation)` Sets the `wsdlDocumentLocation` that will be referenced as `wsa:Metadata/@wsdli:wsdlLocation`.

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, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.