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 final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.apache.cxf.ws.addressing.EndpointReferenceType
     
    static org.apache.cxf.ws.addressing.EndpointReferenceType
    duplicate(org.apache.cxf.ws.addressing.EndpointReferenceType ref)
    Create a duplicate endpoint reference sharing all atributes
    static String
    getAddress(org.apache.cxf.ws.addressing.EndpointReferenceType ref)
    Get the address from the provided endpoint reference.
    static org.apache.cxf.ws.addressing.EndpointReferenceType
    Create an anonymous endpoint reference.
    static org.apache.cxf.ws.addressing.EndpointReferenceType
    Create an endpoint reference for the provided address.
    static org.apache.cxf.ws.addressing.EndpointReferenceType
    getEndpointReference(org.apache.cxf.ws.addressing.AttributedURIType address)
     
    static org.apache.cxf.ws.addressing.MetadataType
    getSetMetadata(org.apache.cxf.ws.addressing.EndpointReferenceType ref)
     
    static void
    setAddress(org.apache.cxf.ws.addressing.EndpointReferenceType ref, String address)
    Set the address of the provided endpoint reference.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • 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 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