W3CEndpointReference (Java Platform SE 6) (original) (raw)
javax.xml.ws.wsaddressing
Class W3CEndpointReference
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
Field Summary | |
---|---|
protected static String | NS |
Constructor Summary | |
---|---|
protected | W3CEndpointReference() |
W3CEndpointReference(Source source) Creates an EPR from infoset representation |
Method Summary | |
---|---|
void | writeTo(Result result) write this EndpointReference to the specified infoset format |
Methods inherited from class javax.xml.ws.EndpointReference |
---|
[getPort](../../../../javax/xml/ws/EndpointReference.html#getPort%28java.lang.Class, javax.xml.ws.WebServiceFeature...%29), readFrom, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, [wait](../../../../java/lang/Object.html#wait%28long, int%29) |
Field Detail |
---|
NS
protected static final String NS
See Also:
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](../../../../javax/xml/ws/WebServiceException.html "class in javax.xml.ws")
- If the source does NOT contain a valid W3C WS-Addressing EndpointReference.
[NullPointerException](../../../../java/lang/NullPointerException.html "class in java.lang")
- If the null
source
value is given
Method Detail |
---|
writeTo
public void writeTo(Result result)
write this EndpointReference
to the specified infoset format
Specified by:
[writeTo](../../../../javax/xml/ws/EndpointReference.html#writeTo%28javax.xml.transform.Result%29)
in class [EndpointReference](../../../../javax/xml/ws/EndpointReference.html "class in javax.xml.ws")
Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
Scripting on this page tracks web page traffic, but does not change the content in any way.