Class W3CEndpointReference


public final class W3CEndpointReference
extends EndpointReference

This class represents a W3C Addressing EndpointReferece which is a remote reference to a web service endpoint that supports the W3C WS-Addressing 1.0 - Core Recommendation.

Developers should use this class in their SEIs if they want to pass/return endpoint references that represent the W3C WS-Addressing recommendation.

JAXB will use the JAXB annotations and bind this class to XML infoset that is consistent with that defined by WS-Addressing. See WS-Addressing for more information on WS-Addressing EndpointReferences.

Since:
JAX-WS 2.1

Fields

Modifier and Type Field and Description
protected static String NS

Constructors

Modifier Constructor and Description
protected W3CEndpointReference()
W3CEndpointReference(Source source)

Creates an EPR from infoset representation

Methods

Modifier and Type Method and Description
void writeTo(Result result)

write this EndpointReference to the specified infoset format

Methods inherited from class javax.xml.ws.EndpointReference

getPort, readFrom, toString

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Fields

NS

protected static final String NS
See Also:
Constant Field Values

Constructors

W3CEndpointReference

protected W3CEndpointReference()

W3CEndpointReference

public W3CEndpointReference(Source source)

Creates an EPR from infoset representation

Parameters:
source - A source object containing valid XmlInfoset instance consistent with the W3C WS-Addressing Core recommendation.
Throws:
WebServiceException - If the source does NOT contain a valid W3C WS-Addressing EndpointReference.
NullPointerException - If the null source value is given

Methods

writeTo

public void writeTo(Result result)

write this EndpointReference to the specified infoset format

Specified by:
writeTo in class EndpointReference
Parameters:
result - for writing infoset

© 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/xml/ws/wsaddressing/W3CEndpointReference.html