Integration Server Administrator's Guide : Setting Up HTTP URL Aliases : Creating an HTTP URL Alias
Creating an HTTP URL Alias
 
Specifying the URL Path
Using Port Mappings with a URL Alias
Using a URL Alias for the “Empty Path”
When you create a URL alias, you create an association between an alias and a resource on Integration Server. Keep the following information in mind when creating a URL alias:
*You can create a URL alias for a request that comes through an HTTP or HTTPS port only.
*An alias name must be unique across Integration Server.
*You can associate a single URL alias with multiple destinations by specifying port mappings. A port mapping correlates the alias with a different URL alias based on the port on which th request was received. For more information about creating port mappings for a URL alias, see Using Port Mappings with a URL Alias.
*You can create a URL alias for the empty path (/) for a hostname:port combination, such as localhost:5555. By creating an empty path alias, you can specify a default destinations for any incoming port. For more information about the empty path alias, see Using a URL Alias for the “Empty Path”.
*If you want to use URL alias with a REST resource you must enable partial matching of URL aliases. For more information, see Enabling Partial Matching of URL Aliases.
*If you enabled or intend to enable partial matching of URL aliases, do not define an alias that begins with another alias. For more information, see Enabling Partial Matching of URL Aliases.
*You can create an HTTP URL alias for a service using Designer as well as Integration Server. However, if you want to use the same URL alias for more than one service or a service and other resources, you must create the URL alias using Integration Server Administrator. For instructions on creating an HTTP URL alias from Designer, see webMethods Service Development Help.
To create an HTTP URL alias
1. Open Integration Server Administrator if it is not already open.
2. In the Navigation panel, select Settings > URL Aliases.
3. Click Create URL Alias.
4. Under URL Alias Properties, provide the following information:
For this parameter...
Specify...
Alias
A name for the alias.
The alias name cannot include a space, nor can it include the following characters:
# % ? ’ “ < \
The alias name cannot begin with the string "http://"
There is no length restriction for the alias.
Note:  
Do not specify an alias if you intend to use this URL alias for the empty path.
Use as empty path alias
Select this check box if you want to use this alias for the empty path.
When you select the Use as empty path alias check box, Integration Server changes the alias to <EMPTY>.
Default URL Path
The path to the resource on Integration Server. For details on how to specify a URL path for the different types of destinations, see Specifying the URL Path.
You must specify a Default URL Path field if you do not define any port mappings for the URL alias.
If the URL alias includes port mappings, the Default URL Path field is optional. However, it might be useful to supply a Default URL Path value so that a request received on a port for which there is not a port mapping will “fall through” to the default URL path. If a URL alias specifies a port mapping but does not specify a Default URL Path value, Integration Server uses the alias as the URL path.
The URL path cannot include a space or the following characters: # % ? ’ “ < \
Package
Name of the package with which you want to associate this alias.
5. If you want to define a different destination for the URL alias based on the incoming port, create a port mapping. For information, see Using Port Mappings with a URL Alias. do the following:
6. Click Save Changes.
Copyright © 2015- 2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback