|
Java™ Platform Standard Ed. 6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.xml.ws.EndpointReference
javax.xml.ws.wsaddressing.W3CEndpointReference
public final class 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.
| 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, readFrom, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final String NS
| Constructor Detail |
|---|
protected W3CEndpointReference()
public W3CEndpointReference(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.
NullPointerException - If the null source value is given| Method Detail |
|---|
public void writeTo(Result result)
EndpointReference to the specified infoset format
writeTo in class EndpointReference
|
Java™ Platform Standard Ed. 6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.