Export (0) Print
Expand All

How to: Discover and Expose a Service Bus Service

Updated: May 18, 2015

Once a service has been deployed to a Service Bus endpoint, you can create a client to connect to that service. However, in order to do this, you must first know the URI of the service, which you can discover in one of two ways:

  1. The creator of the service can explicitly provide the URI.

  2. You can discover the address by navigating the naming hierarchy of the service namespace under which the service has been published.

This second step occurs through the service registry, which is a database of services and their associated URIs. For more information about exposing an endpoint in the service registry, see How to: Publish a Service to the Service Bus Registry.

  1. You can discover a published service by navigating the naming hierarchy, which can be accessed through a nested tree of Atom 1.0 feeds. The root feed for a given project is located at http://<service-namespace>.servicebus.windows.net/ .

    Note that, by default, services are "cloaked," and not visible in the Atom feed. A developer must explicitly decide to make the service visible. However, cloaking only makes a service invisible in the Atom feed; any client that has the necessary credentials can still connect to the service if it knows the address.

© 2015 Microsoft