Add a New Global Resource
You can manually add a global resource to the at any time.
gateway91
You can manually add a global resource to the
API Gateway
at any time.To add a new global resource
:- In the Policy Manager, select[Tasks] > Global Settings > Manage Global Resourcesfrom the Main Menu.The Manage Global Resources dialog appears.
- Click [Add XML Schema] or [Add DTD], depending on the type of resource to be added.The Edit Global Resource dialog appears.
- Complete the dialog as follows:SettingDescriptionSystem IDEnter the URI that indicates the location of the resource, maximum 4096 characters.For backwards compatibility, you may enter a relative URI. However, a warning will appear.For global XML schemas, this value relates to the "schemaLocation" attribute in the schema import, include or redefine statement that references the global schema. For example, schema A contains an import statement that references global schema B. The value in the "schemaLocation" attribute in schema A is http://example.org/account.xsd:<s:import namespace="http://www.acme.com/schemas/account" schemaLocation="http://example.org/account.xsd" />And the System ID of schema A is http://example.org/main.xsdIn order to connect schema A and global schema B in theAPI Gateway, the System ID of global schema B must be http://example.org/account.xsd.The System ID field is case sensitive. Entering a value with the incorrect case will cause connection problems.Public ID (DTD only)For DTD resources, enter the public identifier for the resource. The valid characters are [a-zA-Z0-9 -'()+,./:=?;!*#@$_%], with a maximum 4096 characters. Any white space will be replaced with a single space character (#x20), and leading and trailing spaces will be removed.DescriptionOptionally enter a "friendly" description of the global resource, with a maximum 255 characters.[code window]In the code window, type or paste the XML schema or DTD content. The XML Editor is available in the code window to help you search, parse, format, or comment as required.[Read URL]Use this to retrieve an XML schema or DTD resource from a URL.[Read File]Use this to retrieve an XML schema or DTD resource from a file.Security ZoneOptionally choose a security zone. To remove this entity from a security zone (security role permitting), choose "No security zone".For more information about security zones, see Understand Security Zones.This control is hidden if either: (a) no security zones have been defined, or (b) you do not have Read access to any security zone (regardless of whether you have Read access to entities inside the zones).
- Click [OK] when done. The new resource is added to the Manage Global Resources table.