Class WSAEndpointReferenceUtils


  • public final class WSAEndpointReferenceUtils
    extends Object
    Provides utility methods for obtaining endpoint references, wsdl definitions, etc.
    • 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 reference
        address - - 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