- java.lang.Object
-
- javax.xml.ws.EndpointReference
-
- javax.xml.ws.wsaddressing.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
-
-
Constructor Summary
Constructors Modifier Constructor and Description protected
W3CEndpointReference()
W3CEndpointReference(Source source)
Creates an EPR from infoset representation
-
-
-
Field Detail
-
NS
protected static final String NS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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 thenull
source
value is given
-
-
Method Detail
-
writeTo
public void writeTo(Result result)
write thisEndpointReference
to the specified infoset format- Specified by:
writeTo
in classEndpointReference
- Parameters:
result
- for writing infoset
-
-
Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-javax/xml/ws/wsaddressing/W3CEndpointReference.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.