Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Appendix C Schema Files used when Exporting and Importing : Creating a New Adapter Configuration Schema

Creating a New Adapter Configuration Schema
If you want to add new configuration elements to your adapter and benefit from validation, you must create a new .xsd schema file. Your custom schema file will then be used in conjunction with the four files discussed in Schema Files Included With TIBCO Runtime Agent.
1.
Create a new .xsd file that extends the AESDK schema and defines the new elements.
2.
Include a namespace definition for your .xsd. If using XML Authority, choose File > Schema Properties > Target Namespace.
An example, myAdapter.xsd, which has the elements for a Clarify adapter, is included with the TIBCO Runtime Agent installation in the schemas folder.
3.
An example, myAdapter.xml, which specifies some attribute values for a Clarify adapter, is included with the TIBCO Runtime Agent installation.
4.
Make sure that each element knows the namespace (that is, the .xsd) to which it belongs. The example uses two namespace (xmlns) elements:
5.
If you later want to export the file using RepositoryExport, you must update the file repo_home\bin\namespace.ini file to include the custom namespace. For example, for the Clarify adapter, you would add:
   /tibco/private/adapter/ClarifyAdapter = myAdapter
See Also
Schema Files used when Exporting and Importing

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved