This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Configuring GeoNames Operations

To use the GeoNames connector, add the <geonames.init> element in your configuration before carrying out any other GeoNames operations. 
 

init
<geonames.init>
   	<apiUrl>{$ctx:apiUrl}</apiUrl>
	<username>{$ctx:username}</username>
</geonames.init>
Properties
  • apiUrl: The API URL of GeoNames.
  • userName: The username for GeoNames account.

Note

Add the following resources to the ESB registry.

  • /_system/governance/connectors/GeoNames/apiUrl
  • /_system/governance/connectors/ GeoNames /username

 

Now that you have connected to GeNames, use the information in the following topics to perform various operations with the connector.