java.lang.Object
javax.xml.ws.EndpointReference
javax.xml.ws.wsaddressing.W3CEndpointReference
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:
- 1.6, JAX-WS 2.1
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate W3CEndpointReference.Addressprivate W3CEndpointReference.Elementsprotected static final StringAddressing namespace.private W3CEndpointReference.Elementsprivate final javax.xml.bind.JAXBContext -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor.W3CEndpointReference(Source source) Creates an EPR from infoset representation -
Method Summary
Modifier and TypeMethodDescriptionprivate static javax.xml.bind.JAXBContextvoidwrite thisEndpointReferenceto the specified infoset formatMethods inherited from class javax.xml.ws.EndpointReference
getPort, readFrom, toString
-
Field Details
-
w3cjc
private final javax.xml.bind.JAXBContext w3cjc -
NS
Addressing namespace.- See Also:
-
address
-
referenceParameters
-
metadata
-
attributes
-
elements
-
-
Constructor Details
-
W3CEndpointReference
protected W3CEndpointReference()Default constructor. -
W3CEndpointReference
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 thenullsourcevalue is given
-
-
Method Details
-
writeTo
write thisEndpointReferenceto the specified infoset format- Specified by:
writeToin classEndpointReference- Parameters:
result- for writing infoset
-
getW3CJaxbContext
private static javax.xml.bind.JAXBContext getW3CJaxbContext()
-