nbsp;<a href="../../../../jakarta/xml/ws/wsaddressing/W3CEndpointReferenceBuilder.html" title="class in jakarta.xml.ws.wsaddressing">W3CEndpointReferenceBuilder</a>&nbsp;endpointName(<a href="https://docs.oracle.com/javase/8/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a>&nbsp;endpointName)</pre>
<div class="block">Sets the <code>endpointName</code> as
 <code>wsam:ServiceName/@EndpointName</code> in the
 <code>wsa:Metadata</code> element.