public final class W3CEndpointReference extends EndpointReference
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.
| Modifier and Type | Field and Description | 
|---|---|
| protected static java.lang.String | NSAddressing namespace. | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | W3CEndpointReference()Default constructor. | 
|   | W3CEndpointReference(javax.xml.transform.Source source)Creates an EPR from infoset representation | 
| Modifier and Type | Method and Description | 
|---|---|
| void | writeTo(javax.xml.transform.Result result)write this  EndpointReferenceto the specified infoset format | 
getPort, readFrom, toStringprotected static final java.lang.String NS
protected W3CEndpointReference()
public W3CEndpointReference(javax.xml.transform.Source source)
source - A source object containing valid XmlInfoset
 instance consistent with the W3C WS-Addressing Core
 recommendation.WebServiceException - If the source does NOT contain a valid W3C WS-Addressing
   EndpointReference.java.lang.NullPointerException - If the null source value is givenpublic void writeTo(javax.xml.transform.Result result)
EndpointReference to the specified infoset formatwriteTo in class EndpointReferenceresult - for writing infoset