Interface Axis2EndpointReferenceFactory

  • All Known Implementing Classes:
    Axis2EndpointReferenceFactoryImpl

    public interface Axis2EndpointReferenceFactory
    This class represents factories that can be use to create instances of EndpointReference that can ultimately be converted into instances of EndpointReference that are suitable to be returned via the appropriate JAX-WS 2.1 API methods.
    • Method Detail

      • createEndpointReference

        EndpointReference createEndpointReference​(String address)
        Create an instance of EndpointReference with the specified address.
        Parameters:
        address - the address URI to use. It cannot be null.
        Returns:
        an instance of EndpointReference.
      • createEndpointReference

        EndpointReference createEndpointReference​(QName serviceName,
                                                  QName endpoint)
        Create an instance of EndpointReference that targets the endpoint identified by the specified WSDL service name and endpoint name.
        Parameters:
        serviceName - the WSDL service name
        endpoint - the WSDL port name
        Returns:
        an instance of EndpointReference that targets the specified endpoint
      • createEndpointReference

        EndpointReference createEndpointReference​(String address,
                                                  QName serviceName,
                                                  QName portName,
                                                  String wsdlDocumentLocation,
                                                  String addressingNamespace)
        Create an instance of EndpointReference. If the address is specified then it will be used. If the address is null, but the WSDL service name and port name are specified then they will be used to target the specified endpoint. Either the address URI, or the WSDL service name and port name must be specified.
        Parameters:
        address - the address URI to use, if specified
        serviceName - the WSDL service name, if specified
        portName - the WSDL port name, if specified
        wsdlDocumentLocation - the URI from where the WSDL for the endpoint can be retrieved, if specified.
        addressingNamespace - the intended WS-Addressing namespace that the EndpointRefence should comply with.
        Returns:
        an instance of EndpointReference.