You can import an XML schema from a Web server or a file system to a CentraSite registry and repository.
Procedure
Start CentraSite and log in.
Click Create Asset.
Select XML schema from the Type list.
Optional: Enter a name.
Optional: Select the organization to which the web services are to be assigned.
Optional: Specify a version identifier for the new service. The version identifier you enter here is the service's public, user-assigned version identifier. You can enter any string in the Initial version field, that is, the version identifier does not need to be numeric. You can also leave this field blank.
Optional: Enter a Description.
Enable File in the Import a File section.
Click Choose.
Select the XML schema file you want to import.
Click Next.
Click Save.
CentraSite retrieves the specified file and creates the XML schema.
If the importer detects that the schema you are trying to import already exists within CentraSite, the import dialog will prompt you to specify whether you want to Always create new versions or Always overwrite.
The following folders and files and registry objects are created by the import of an XML schema:
The schema file is copied to a subfolder of projects/WSDL in the repository. The name of the subfolder is determined by the namespace defined in the schema. For example, if the namespace is http://www.MyOrganization.com/MySchemas/schema1, the schema is copied to projects/WSDL/www.MyOrganization.com/MySchemas/schema1.
If the schema file contains references to other schema files, these are also imported, including all the schema files that are referenced.
For each imported schema file, a registry object of the XML Schema type is created. An external link is created for the object that points to the schema file in the repository.
When you delete an external link in the registry that points to a schema file in the repository, the schema file in the repository is also deleted. However, any schema entries in the registry and repository that are referenced by the schema being deleted remain untouched.