Interface HostedServiceProxy

    • Method Detail

      • getType

        HostedServiceType getType()
        Gets the hosted service metadata requestable via WS-TransferGet.
        Returns:
        a copy of the hosted service metadata received from the network.
      • getEventSinkAccess

        EventSinkAccess getEventSinkAccess()
        Gets the event sink that can be used to subscribe and manage subscriptions of the hosted service.

        Attention: the event sink only works if the underlying hosted service acts as an event source. It is up to the user check the availability in advance, otherwise calls will end up in SOAP faults.

        Returns:
        the EventSinkAccess instance.
      • getActiveEprAddress

        String getActiveEprAddress()
        Gets the physical address that is actively being used to send requests.

        A hosted service can have different physical addresses in order to be accessible. The one that is returned with this function is the one that was used to initially resolve metadata (GetMetadata request).

        Returns:
        the currently active EPR address.