Class HostingServiceProxyImpl

    • Constructor Detail

    • Method Detail

      • getActiveXAddr

         String getActiveXAddr()

        Gets the physical address that is actively being used to send requests.

        A hosting 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 (GetTransfer requests).

        Returns:

        the currently active EPR address.

      • getEndpointReferenceAddress

         synchronized String getEndpointReferenceAddress()

        Gets the unique WS-Discovery target service EPR.

        If TLS is enforced, the value of the endpoint reference address as returned by this function is trustworthy (opposed to getEprAddress, which is potentially retrieved via unsecured UDP).

        Returns:

        WS-Discovery target service EPR.

      • getTypes

         List<QName> getTypes()

        Gets types of the hosting service.

        Returns:

        list of types, which classifies the hosting service.

      • getThisModel

         synchronized Optional<ThisModelType> getThisModel()

        Gets the DPWS ThisModel information.

        Returns:

        ThisModel information.

      • getThisDevice

         synchronized Optional<ThisDeviceType> getThisDevice()

        Gets the DPWS ThisDevice information.

        Returns:

        ThisDevice information.

      • sendRequestResponse

         synchronized SoapMessage sendRequestResponse(SoapMessage request)

        Sends a SOAP request message and waits for the response to be received from the recipient.

        Parameters:
        request - outgoing request message.
        Returns:

        incoming response message.