Package org.apache.cxf.wsdl
Class WSAEndpointReferenceUtils
java.lang.Object
org.apache.cxf.wsdl.WSAEndpointReferenceUtils
Provides utility methods for obtaining endpoint references, wsdl definitions, etc.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.cxf.ws.addressing.EndpointReferenceTypestatic 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.EndpointReferenceTypeCreate 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 Details
-
ANONYMOUS_ADDRESS
- See Also:
-
-
Method Details
-
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
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
-