Package org.apache.cxf.wsdl
Class WSAEndpointReferenceUtils
- java.lang.Object
-
- org.apache.cxf.wsdl.WSAEndpointReferenceUtils
-
public final class WSAEndpointReferenceUtils extends Object
Provides utility methods for obtaining endpoint references, wsdl definitions, etc.
-
-
Field Summary
Fields Modifier and Type Field Description static StringANONYMOUS_ADDRESS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.cxf.ws.addressing.EndpointReferenceTypecreateEndpointReferenceWithMetadata()static org.apache.cxf.ws.addressing.EndpointReferenceTypeduplicate(org.apache.cxf.ws.addressing.EndpointReferenceType ref)Create a duplicate endpoint reference sharing all atributesstatic StringgetAddress(org.apache.cxf.ws.addressing.EndpointReferenceType ref)Get the address from the provided endpoint reference.static org.apache.cxf.ws.addressing.EndpointReferenceTypegetAnonymousEndpointReference()Create an anonymous endpoint reference.static org.apache.cxf.ws.addressing.EndpointReferenceTypegetEndpointReference(String address)Create an endpoint reference for the provided address.static org.apache.cxf.ws.addressing.EndpointReferenceTypegetEndpointReference(org.apache.cxf.ws.addressing.AttributedURIType address)static org.apache.cxf.ws.addressing.MetadataTypegetSetMetadata(org.apache.cxf.ws.addressing.EndpointReferenceType ref)static voidsetAddress(org.apache.cxf.ws.addressing.EndpointReferenceType ref, String address)Set the address of the provided endpoint reference.
-
-
-
Field Detail
-
ANONYMOUS_ADDRESS
public static final String ANONYMOUS_ADDRESS
- See Also:
- Constant Field Values
-
-
Method Detail
-
createEndpointReferenceWithMetadata
public static org.apache.cxf.ws.addressing.EndpointReferenceType createEndpointReferenceWithMetadata()
-
getSetMetadata
public static org.apache.cxf.ws.addressing.MetadataType getSetMetadata(org.apache.cxf.ws.addressing.EndpointReferenceType ref)
-
setAddress
public static void setAddress(org.apache.cxf.ws.addressing.EndpointReferenceType ref, String address)Set the address of the provided endpoint reference.- Parameters:
ref- - the endpoint referenceaddress- - the address
-
getAddress
public static String getAddress(org.apache.cxf.ws.addressing.EndpointReferenceType ref)
Get the address from the provided endpoint reference.- Parameters:
ref- - the endpoint reference- Returns:
- String the address of the endpoint
-
duplicate
public static org.apache.cxf.ws.addressing.EndpointReferenceType duplicate(org.apache.cxf.ws.addressing.EndpointReferenceType ref)
Create a duplicate endpoint reference sharing all atributes- Parameters:
ref- the reference to duplicate- Returns:
- EndpointReferenceType - the duplicate endpoint reference
-
getEndpointReference
public static org.apache.cxf.ws.addressing.EndpointReferenceType getEndpointReference(String address)
Create an endpoint reference for the provided address.- Parameters:
address- - address URI- Returns:
- EndpointReferenceType - the endpoint reference
-
getEndpointReference
public static org.apache.cxf.ws.addressing.EndpointReferenceType getEndpointReference(org.apache.cxf.ws.addressing.AttributedURIType address)
-
getAnonymousEndpointReference
public static org.apache.cxf.ws.addressing.EndpointReferenceType getAnonymousEndpointReference()
Create an anonymous endpoint reference.- Returns:
- EndpointReferenceType - the endpoint reference
-
-