<?xml version="1.0" encoding="UTF-8"?>
<!-- $Header: /cvsroot/ebxmlrr/omar/misc/samples/minDB/SubmitObjectsRequest_Config.xml,v 1.59 2007/06/01 19:29:04 psterk Exp $ -->
<!-- Must be loaded after SubmitObjectsRequest_objectTypesSchemes -->
<SubmitObjectsRequest id="urn:oasis:names:tc:ebxml-regrep:request:id" 
    xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:4.0" 
    xmlns:lcm="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:4.0" 
    xmlns:query="urn:oasis:names:tc:ebxml-regrep:xsd:query:4.0" 
    xmlns:rim="urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0" 
    xmlns:rs="urn:oasis:names:tc:ebxml-regrep:xsd:rs:4.0" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xmlns:xlink="http://www.w3.org/1999/xlink" 
    xsi:schemaLocation="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:4.0  ../../xsd/lcm.xsd">
        
    <rim:RegistryObjectList>
        <!--Root folder with locator '/' -->
        <rim:RegistryObject xsi:type="rim:RegistryPackageType" lid="urn:oasis:names:tc:ebxml-regrep:RegistryPackage:registry" id="urn:oasis:names:tc:ebxml-regrep:RegistryPackage:registry">
            <rim:Name>
                <rim:LocalizedString value="registry"/>
            </rim:Name>
            <rim:Description>
                <rim:LocalizedString value="registry.desc"/>
            </rim:Description>

            <rim:RegistryObjectList>

                <rim:RegistryObject xsi:type="rim:ServiceType" lid="urn:oasis:names:tc:ebxml-regrep:Service:CanonicalXMLCatalogingService" id="urn:oasis:names:tc:ebxml-regrep:Service:CanonicalXMLCatalogingService">
                    <rim:Name>
                        <rim:LocalizedString value="CanonicalXMLCatalogingService"/>
                    </rim:Name>
                    <rim:Description>
                        <rim:LocalizedString value="CanonicalXMLCatalogingService.desc"/>
                    </rim:Description>
                    <!-- ContentManagementService classification -->
                    <rim:Classification classificationNode="urn:oasis:names:tc:ebxml-regrep:ContentManagementService:ContentCatalogingService" classifiedObject="urn:oasis:names:tc:ebxml-regrep:Service:CanonicalXMLCatalogingService" lid="urn:uuid:847c002d-2e4b-404c-b4bb-a1e343380e1d" id="urn:uuid:847c002d-2e4b-404c-b4bb-a1e343380e1d">
                        <rim:Name>
                            <rim:LocalizedString value="ContentCatalogingService"/>
                        </rim:Name>
                        <rim:Description>
                            <rim:LocalizedString value="ContentCatalogingService.desc"/>
                        </rim:Description>
                    </rim:Classification>
                    <!-- InvocationModel classification -->
                    <rim:Classification classificationNode="urn:oasis:names:tc:ebxml-regrep:InvocationModel:Inline" classifiedObject="urn:oasis:names:tc:ebxml-regrep:Service:CanonicalXMLCatalogingService" lid="urn:uuid:d1606054-c3c1-4a22-a130-8b853acc7b30" id="urn:uuid:d1606054-c3c1-4a22-a130-8b853acc7b30">
                        <rim:Name>
                            <rim:LocalizedString value="Inline"/>
                        </rim:Name>
                        <rim:Description>
                            <rim:LocalizedString value="Inline.desc"/>
                        </rim:Description>
                    </rim:Classification>
                    <!-- ErrorHandlingModel classification -->
                    <rim:Classification classificationNode="urn:oasis:names:tc:ebxml-regrep:ErrorHandlingModel:FailOnError" classifiedObject="urn:oasis:names:tc:ebxml-regrep:Service:CanonicalXMLCatalogingService" lid="urn:uuid:2e82543f-ca57-4d4d-89a8-a96957b322dc" id="urn:uuid:2e82543f-ca57-4d4d-89a8-a96957b322dc">
                        <rim:Name>
                            <rim:LocalizedString value="FailOnError"/>
                        </rim:Name>
                        <rim:Description>
                            <rim:LocalizedString value="FailOnError.desc"/>
                        </rim:Description>
                    </rim:Classification>
                    <rim:ServiceEndpoint address="" lid="urn:oasis:names:tc:ebxml-regrep:ServiceEndpoint:CanonicalXMLCatalogingServiceEndpoint" id="urn:oasis:names:tc:ebxml-regrep:ServiceEndpoint:CanonicalXMLCatalogingServiceEndpoint">
                        <rim:Name>
                            <rim:LocalizedString value="DefaultXMLCatalogingServiceEndpoint"/>
                        </rim:Name>
                        <rim:Description>
                            <rim:LocalizedString value="DefaultXMLCatalogingServiceEndpoint.desc"/>
                        </rim:Description>
                    </rim:ServiceEndpoint>
                </rim:RegistryObject>
                <!-- Assoc between default XML Cataloging Service and xml ClassificationNode in ObjectTypes scheme -->
                <rim:RegistryObject xsi:type="rim:AssociationType" type="urn:oasis:names:tc:ebxml-regrep:AssociationType:ContentManagementServiceFor" lid="urn:oasis:names:tc:ebxml-regrep:Service:CanonicalXMLCatalogingService:ContentManagementServiceFor:ObjectType:XML" id="urn:oasis:names:tc:ebxml-regrep:Service:CanonicalXMLCatalogingService:ContentManagementServiceFor:ObjectType:XML" sourceObject="urn:oasis:names:tc:ebxml-regrep:Service:CanonicalXMLCatalogingService" targetObject="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:ExtrinsicObject:XML"/>

                <!-- Canonical XML Validation Service -->
                <rim:RegistryObject xsi:type="rim:ServiceType" lid="urn:oasis:names:tc:ebxml-regrep:Service:CanonicalXMLValidationService" id="urn:oasis:names:tc:ebxml-regrep:Service:CanonicalXMLValidationService">
                    <rim:Name>
                        <rim:LocalizedString value="CanonicalXMLValidationService"/>
                    </rim:Name>
                    <rim:Description>
                        <rim:LocalizedString value="CanonicalXMLValidationService.desc"/>
                    </rim:Description>
                    <!-- ContentManagementService classification -->
                    <rim:Classification classificationNode="urn:oasis:names:tc:ebxml-regrep:ContentManagementService:ContentValidationService" classifiedObject="urn:oasis:names:tc:ebxml-regrep:Service:CanonicalXMLValidationService" lid="urn:uuid:b49b25e5-3bae-4600-934f-821ca26662f5" id="urn:uuid:b49b25e5-3bae-4600-934f-821ca26662f5">
                        <rim:Name>
                            <rim:LocalizedString value="ContentValidationService"/>
                        </rim:Name>
                        <rim:Description>
                            <rim:LocalizedString value="ContentValidationService.desc"/>
                        </rim:Description>
                    </rim:Classification>
                    <!-- InvocationModel classification -->
                    <rim:Classification classificationNode="urn:oasis:names:tc:ebxml-regrep:InvocationModel:Inline" classifiedObject="urn:oasis:names:tc:ebxml-regrep:Service:CanonicalXMLValidationService" lid="urn:uuid:dd037e7f-4cda-4e06-a214-c57667db186b" id="urn:uuid:dd037e7f-4cda-4e06-a214-c57667db186b">
                        <rim:Name>
                            <rim:LocalizedString value="Inline"/>
                        </rim:Name>
                        <rim:Description>
                            <rim:LocalizedString value="Inline.desc"/>
                        </rim:Description>
                    </rim:Classification>
                    <!-- ErrorHandlingModel classification -->
                    <rim:Classification classificationNode="urn:oasis:names:tc:ebxml-regrep:ErrorHandlingModel:FailOnError" classifiedObject="urn:oasis:names:tc:ebxml-regrep:Service:CanonicalXMLValidationService" lid="urn:uuid:0ed7628e-a53a-476a-a6c3-d22f27091efb" id="urn:uuid:0ed7628e-a53a-476a-a6c3-d22f27091efb">
                        <rim:Name>
                            <rim:LocalizedString value="FailOnError"/>
                        </rim:Name>
                        <rim:Description>
                            <rim:LocalizedString value="FailOnError.desc"/>
                        </rim:Description>
                    </rim:Classification>
                    <rim:ServiceEndpoint address="" lid="urn:oasis:names:tc:ebxml-regrep:ServiceEndpoint:CanonicalXMLValidationServiceEndpoint" id="urn:oasis:names:tc:ebxml-regrep:ServiceEndpoint:CanonicalXMLValidationServiceEndpoint">
                        <rim:Name>
                            <rim:LocalizedString value="DefaultXMLValidationServiceEndpoint"/>
                        </rim:Name>
                        <rim:Description>
                            <rim:LocalizedString value="DefaultXMLValidationServiceEndpoint.desc"/>
                        </rim:Description>
                    </rim:ServiceEndpoint>
                </rim:RegistryObject>
                <!-- Assoc between default XML Validation Service and xml ClassificationNode in ObjectTypes scheme -->
                <rim:RegistryObject xsi:type="rim:AssociationType" type="urn:oasis:names:tc:ebxml-regrep:AssociationType:ContentManagementServiceFor" lid="urn:oasis:names:tc:ebxml-regrep:Service:CanonicalXMLValidationService:ContentManagementServiceFor:ObjectType:XML" id="urn:oasis:names:tc:ebxml-regrep:Service:CanonicalXMLValidationService:ContentManagementServiceFor:ObjectType:XML" sourceObject="urn:oasis:names:tc:ebxml-regrep:Service:CanonicalXMLValidationService" targetObject="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:ExtrinsicObject:XML"/>

                <rim:RegistryObject xsi:type="rim:ServiceType" lid="urn:oasis:names:tc:ebxml-regrep:Service:CanonicalXMLFilteringService" id="urn:oasis:names:tc:ebxml-regrep:Service:CanonicalXMLFilteringService">
                    <rim:Name>
                        <rim:LocalizedString value="CanonicalXMLFilteringService"/>
                    </rim:Name>
                    <rim:Description>
                        <rim:LocalizedString value="CanonicalXMLFilteringService.desc"/>
                    </rim:Description>
                    <!-- ContentManagementService classification -->
                    <rim:Classification classificationNode="urn:oasis:names:tc:ebxml-regrep:ContentManagementService:ContentFilteringService" classifiedObject="urn:oasis:names:tc:ebxml-regrep:Service:CanonicalXMLFilteringService" lid="urn:uuid:5d0c469e-4499-44e8-9c8f-db46b691c093" id="urn:uuid:5d0c469e-4499-44e8-9c8f-db46b691c093">
                        <rim:Name>
                            <rim:LocalizedString value="ContentFilteringService"/>
                        </rim:Name>
                        <rim:Description>
                            <rim:LocalizedString value="ContentFilteringService.desc"/>
                        </rim:Description>
                    </rim:Classification>
                    <!-- InvocationModel classification -->
                    <rim:Classification classificationNode="urn:oasis:names:tc:ebxml-regrep:InvocationModel:Inline" classifiedObject="urn:oasis:names:tc:ebxml-regrep:Service:CanonicalXMLFilteringService" lid="urn:uuid:48923123-34b9-4352-b591-ef9d8a162c56" id="urn:uuid:48923123-34b9-4352-b591-ef9d8a162c56">
                        <rim:Name>
                            <rim:LocalizedString value="Inline"/>
                        </rim:Name>
                        <rim:Description>
                            <rim:LocalizedString value="Inline.desc"/>
                        </rim:Description>
                    </rim:Classification>
                    <!-- ErrorHandlingModel classification -->
                    <rim:Classification classificationNode="urn:oasis:names:tc:ebxml-regrep:ErrorHandlingModel:FailOnError" classifiedObject="urn:oasis:names:tc:ebxml-regrep:Service:CanonicalXMLFilteringService" lid="urn:uuid:df6b7011-500a-4668-a1db-d0bebd8b4315" id="urn:uuid:df6b7011-500a-4668-a1db-d0bebd8b4315">
                        <rim:Name>
                            <rim:LocalizedString value="FailOnError"/>
                        </rim:Name>
                        <rim:Description>
                            <rim:LocalizedString value="FailOnError.desc"/>
                        </rim:Description>
                    </rim:Classification>
                    <rim:ServiceEndpoint address="" lid="urn:oasis:names:tc:ebxml-regrep:ServiceEndpoint:CanonicalXMLFilteringServiceEndpoint" id="urn:oasis:names:tc:ebxml-regrep:ServiceEndpoint:CanonicalXMLFilteringServiceEndpoint">
                        <rim:Name>
                            <rim:LocalizedString value="DefaultXMLFilteringServiceEndpoint"/>
                        </rim:Name>
                        <rim:Description>
                            <rim:LocalizedString value="DefaultXMLFilteringServiceEndpoint.desc"/>
                        </rim:Description>
                    </rim:ServiceEndpoint>
                </rim:RegistryObject>
                <!-- Assoc between Canonical XML Filtering Service and xml ClassificationNode in ObjectTypes scheme -->
                <rim:RegistryObject xsi:type="rim:AssociationType" type="urn:oasis:names:tc:ebxml-regrep:AssociationType:ContentManagementServiceFor" lid="urn:uuid:8813af70-bc2b-49b4-93c0-81d9740a0c9d" id="urn:uuid:8813af70-bc2b-49b4-93c0-81d9740a0c9d" sourceObject="urn:oasis:names:tc:ebxml-regrep:Service:CanonicalXMLFilteringService" targetObject="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:ExtrinsicObject:XML"/>

                <!-- The default ACP for the Registry -->
                <rim:RegistryObject xsi:type="rim:ExtrinsicObjectType" lid="urn:oasis:names:tc:ebxml-regrep:acp:defaultACP" id="urn:oasis:names:tc:ebxml-regrep:acp:defaultACP" mimeType="text/xml" objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:ExtrinsicObject:XML:XACML:PolicySet">
                    <!-- Add a Slot with value for each composed policy. This will be automated in future via cataloging of PolicySets -->
                    <rim:Slot name="ComposedPolicies">
                        <rim:SlotValue xsi:type="rim:CollectionValueType">
                            <rim:Element xsi:type="rim:StringValueType">
                                <rim:Value>urn:oasis:names:tc:ebxml-regrep:3.0:rim:acp:policy:policyid:permit-anyone-to-read</rim:Value>
                            </rim:Element>
                            <rim:Element xsi:type="rim:StringValueType">
                                <rim:Value>urn:oasis:names:tc:ebxml-regrep:3.0:rim:acp:policy:policyid:permit-anyone-to-reference</rim:Value>
                            </rim:Element>
                            <rim:Element xsi:type="rim:StringValueType">
                                <rim:Value>urn:oasis:names:tc:ebxml-regrep:3.0:rim:acp:policy:policyid:permit-owner-all</rim:Value>
                            </rim:Element>
                            <rim:Element xsi:type="rim:StringValueType">
                                <rim:Value>urn:oasis:names:tc:ebxml-regrep:3.0:rim:acp:policy:policyid:permit-registryadministrator-all</rim:Value>
                            </rim:Element>
                        </rim:SlotValue>
                    </rim:Slot>
                    <rim:Name>
                        <rim:LocalizedString value="defaultACP"/>
                    </rim:Name>
                    <rim:Description>
                        <rim:LocalizedString value="defaultACP.desc"/>
                    </rim:Description>

                    <!--import role implies that registry MUST import the referenced repositoryItem as a native RepositoryItem-->
                    <rim:RepositoryItemRef xlink:role="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:ExtrinsicObject:import" xlink:href="./acp/defaultACP.xml"/>
                </rim:RegistryObject>

                <rim:RegistryObject xsi:type="rim:RegistryPackageType" lid="urn:oasis:names:tc:ebxml-regrep:RegistryPackage:userData" id="urn:oasis:names:tc:ebxml-regrep:RegistryPackage:userData">
                    <rim:Name>
                        <rim:LocalizedString value="userData"/>
                    </rim:Name>
                    <rim:Description>
                        <rim:LocalizedString value="userData.desc"/>
                    </rim:Description>
                </rim:RegistryObject>
            </rim:RegistryObjectList>
        </rim:RegistryObject>        
    </rim:RegistryObjectList>
</SubmitObjectsRequest>
