Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

When a tenant hosts a service to be used by external parties, it should ideally have a short URL. Shorter URLs are easier to be memorized and typed, which eliminates the need to log-in to access the service. Also, tenant information and other descriptive attributes are hidden in shorter URLs, and they are more convenient in hard-copy productions.

...

The steps below explain how to use URL mapping.
1.

  1. Log

...

  1. in to the

...

  1. management console and select

...

  1. Services

...

  1. > List

...

  1. under the

...

  1. Main

...

  1. menu.

...

  1.  

Image Removed

...

  1. From the Deployed Services

...

  1. page

...

  Image Removed

...

  1. that appears, click a service to which you want to map the end point URL. 
  2. The service's dashboard opens.

...

Image Removed

 Click the "URL Mappings" link.

4. The "URL Mappings" window opens. Click the "Add New Mapping" link.

  Image Removed

...

  1. It contains a link for URL Mapping. Click it.
    Image Added
  2. In the URL Mappings page that opens, click Add New Mapping link and enter a URL mapping name.

...

...

  1. The added URL mapping appears in the

...

  1. URL Mapping

...

  1. page. For example,

...

  1. Image Added
    Here the suffix

...

  1. localhost

...

  1. comes from

...

  1. <PRODUCT_

...

  1. HOME>/repository/conf/etc/url-mapping-config.xml. By default, the suffix is localhost and the URL mappings limit is 1. You can configure your own suffix and

...

  1. limit

...

  1. per service in the mentioned configuration file.

...

  1.   
  2. With this shortened endpoint URL, you can access the service's WSDL files, tryit tool and rest calls

...

  1. as follows:

...

...

...

  1.  To access your own domain, a cname is required. If a cname is not available at the moment, you can use /etc/hosts file in ubuntu or Windows\Syst em32\drivers\et c\hosts file in windows to put your domain entries pointing to the local ip. For example,
Code Block
127.0.0.1       exampleapp.localhost

...