Merged CMIS063 to HEAD

15843: Java tests harness: next  portion of v0.62
  15918: CMIS Test Harness update.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@17235 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
David Caruana
2009-10-29 17:01:43 +00:00
parent 689da0821f
commit 0e526dc4d1
33 changed files with 13212 additions and 3493 deletions

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<classpath> <classpath>
<classpathentry kind="src" path="src"/> <classpathentry kind="src" path="src"/>
<classpathentry kind="lib" path="lib/cmis-types.jar"/>
<classpathentry kind="lib" path="lib/commons-logging-1.1.1.jar"/> <classpathentry kind="lib" path="lib/commons-logging-1.1.1.jar"/>
<classpathentry kind="lib" path="lib/cxf-2.1.2.jar"/> <classpathentry kind="lib" path="lib/cxf-2.1.2.jar"/>
<classpathentry kind="lib" path="lib/FastInfoset-1.2.2.jar"/> <classpathentry kind="lib" path="lib/FastInfoset-1.2.2.jar"/>
@@ -33,6 +34,6 @@
<classpathentry kind="lib" path="lib/XmlSchema-1.4.2.jar"/> <classpathentry kind="lib" path="lib/XmlSchema-1.4.2.jar"/>
<classpathentry kind="lib" path="lib/xmlsec-1.3.0.jar"/> <classpathentry kind="lib" path="lib/xmlsec-1.3.0.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="lib/cmis-types.jar"/> <classpathentry kind="lib" path="lib/opensaml-1.0.1.jar"/>
<classpathentry kind="output" path="build"/> <classpathentry kind="output" path="build"/>
</classpath> </classpath>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<projectDescription> <projectDescription>
<name>SimpleAlfrescoCmisServicesUsing</name> <name>Simple-CMIS-Client</name>
<comment></comment> <comment></comment>
<projects> <projects>
</projects> </projects>

View File

@@ -3,4 +3,4 @@
set CLASSPATH=cmis-test-client.jar set CLASSPATH=cmis-test-client.jar
for %%i in (./lib/*.jar) do call set CLASSPATH=./lib/%%~i;%%CLASSPATH%% for %%i in (./lib/*.jar) do call set CLASSPATH=./lib/%%~i;%%CLASSPATH%%
java org.alfresco.cmis.ws.example.SimpleExecutableCmisServicesUtilizer %1 %2 %3 java org.alfresco.cmis.ws.example.CmisSampleClient %1 %2 %3

View File

@@ -3,4 +3,4 @@
export CLASSPATH=./cmis-test-client.jar export CLASSPATH=./cmis-test-client.jar
for jar in ./lib/*.jar; do export CLASSPATH=$CLASSPATH:$jar; done for jar in ./lib/*.jar; do export CLASSPATH=$CLASSPATH:$jar; done
java org.alfresco.cmis.ws.example.SimpleExecutableCmisServicesUtilizer $1 $2 $3 java org.alfresco.cmis.ws.example.CmisSampleClient $1 $2 $3

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2005-2008 Alfresco Software Limited. * Copyright (C) 2005-2009 Alfresco Software Limited.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License * modify it under the terms of the GNU General Public License
@@ -29,30 +29,29 @@ import java.util.List;
import org.alfresco.repo.cmis.ws.CmisObjectType; import org.alfresco.repo.cmis.ws.CmisObjectType;
import org.alfresco.repo.cmis.ws.CmisPropertiesType; import org.alfresco.repo.cmis.ws.CmisPropertiesType;
import org.alfresco.repo.cmis.ws.CmisProperty; import org.alfresco.repo.cmis.ws.CmisProperty;
import org.alfresco.repo.cmis.ws.CmisPropertyId;
import org.alfresco.repo.cmis.ws.CmisPropertyString; import org.alfresco.repo.cmis.ws.CmisPropertyString;
/** /**
* This class executes simple processing for prompting server address and user name and password for authentication this user on specified server. After successful connection this
* class print contents of Company Home.<br />
* <br />
* This class expects next command-line parameters:<nobr /> * This class expects next command-line parameters:<nobr />
* <ul> * <ul>
* <li><b>Server Address</b> - with form: (IP_ADDRESS|DOMAIN_NAME):PORT;</li> * <li><b>Server Address</b> - with form: (IP_ADDRESS|DOMAIN_NAME):PORT;</li>
* <li><b>Username</b> - login name of the existent user;</li> * <li><b>Username</b> - login name of the existent user;</li>
* <li><b>Password</b> - appropriate password for specified user.</li> * <li><b>Password</b> - appropriate password for specified user.</li>
* </ul> * </ul>
* <b>Example: <font color=green>192.168.0.1:8080 admin admin</font></b> - authenticate an user as admin on <font color=gray><b>http://192.168.0.1:8080/alfresco/</b></font> * <b>Example: <font color=green>192.168.0.1:8080 admin admin</font></b> - authenticate an user as admin on <font color=gray><b>http://192.168.0.1:8080/alfresco/</b></font> server
* server
* *
* @author Dmitry Velichkevich * @author Dmitry Velichkevich
*/ */
public class SimpleExecutableCmisServicesUtilizer public class CmisSampleClient
{ {
private static final String NAME_PROPERTY = "cmis:Name";
private static final String BASE_TYPE_ID_PROPERTY = "cmis:BaseTypeId";
/** /**
* Executable entry point - represents main life cycle * Executable entry point - represents main life-cycle
* *
* @param args - not used * @param args - <b>String[]</b> array that contains command line arguments
* @see SimpleCmisWsTest description
*/ */
public static void main(String[] args) public static void main(String[] args)
{ {
@@ -73,15 +72,15 @@ public class SimpleExecutableCmisServicesUtilizer
password = args[2]; password = args[2];
} }
ExecutableServicesHelper servicesHelper; CmisUtils servicesHelper;
try try
{ {
servicesHelper = new ExecutableServicesHelper(username, password, serverUrl); servicesHelper = new CmisUtils(username, password, serverUrl);
} }
catch (Exception e) catch (Exception e)
{ {
System.out.println("Can't connect to specified server. Message: " + e.getMessage()); System.out.println("Can't connect to specified server. Cause error message: " + e.getMessage());
return; return;
} }
@@ -89,7 +88,7 @@ public class SimpleExecutableCmisServicesUtilizer
try try
{ {
response = servicesHelper.receiveSpaceContent(servicesHelper.receiveAuthorizedNavigationServicePort()); response = servicesHelper.receiveFolderEntry(servicesHelper.getRootFolderId());
} }
catch (Exception e) catch (Exception e)
{ {
@@ -101,8 +100,8 @@ public class SimpleExecutableCmisServicesUtilizer
System.out.println("Outing Company Home contents:"); System.out.println("Outing Company Home contents:");
for (CmisObjectType item : response) for (CmisObjectType item : response)
{ {
boolean thisIsFolder = ((CmisPropertyString) getCmisProperty(item.getProperties(), "BaseType")).getValue().contains("folder"); boolean thisIsFolder = ((CmisPropertyId) getCmisProperty(item.getProperties(), BASE_TYPE_ID_PROPERTY)).getValue().get(0).contains("folder");
String itemName = ((CmisPropertyString) getCmisProperty(item.getProperties(), "Name")).getValue().get(0); String itemName = ((CmisPropertyString) getCmisProperty(item.getProperties(), NAME_PROPERTY)).getValue().get(0);
System.out.println(((thisIsFolder) ? ("[") : ("")) + itemName + ((thisIsFolder) ? ("]") : (""))); System.out.println(((thisIsFolder) ? ("[") : ("")) + itemName + ((thisIsFolder) ? ("]") : ("")));
} }
@@ -112,7 +111,7 @@ public class SimpleExecutableCmisServicesUtilizer
{ {
for (CmisProperty cmisProperty : properties.getProperty()) for (CmisProperty cmisProperty : properties.getProperty())
{ {
if (cmisProperty.getName().equalsIgnoreCase(cmisPropertyName)) if (cmisPropertyName.equals(getPropertyName(cmisProperty)))
{ {
return cmisProperty; return cmisProperty;
} }
@@ -120,4 +119,15 @@ public class SimpleExecutableCmisServicesUtilizer
return null; return null;
} }
private static String getPropertyName(CmisProperty property)
{
String result = null;
if (null != property)
{
result = (null != property.getPdid()) ? (property.getPdid()):(property.getLocalname());
result = (null != result) ? (result) : (property.getDisplayname());
}
return result;
}
} }

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2005-2008 Alfresco Software Limited. * Copyright (C) 2005-2009 Alfresco Software Limited.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License * modify it under the terms of the GNU General Public License
@@ -29,6 +29,7 @@ import java.math.BigInteger;
import java.net.MalformedURLException; import java.net.MalformedURLException;
import java.net.URL; import java.net.URL;
import java.util.HashMap; import java.util.HashMap;
import java.util.LinkedList;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
@@ -36,17 +37,13 @@ import javax.security.auth.callback.Callback;
import javax.security.auth.callback.CallbackHandler; import javax.security.auth.callback.CallbackHandler;
import javax.security.auth.callback.UnsupportedCallbackException; import javax.security.auth.callback.UnsupportedCallbackException;
import javax.xml.namespace.QName; import javax.xml.namespace.QName;
import javax.xml.ws.Holder;
import javax.xml.ws.Service; import javax.xml.ws.Service;
import org.alfresco.repo.cmis.ws.CmisObjectType; import org.alfresco.repo.cmis.ws.CmisObjectType;
import org.alfresco.repo.cmis.ws.EnumTypesOfFileableObjects; import org.alfresco.repo.cmis.ws.EnumIncludeRelationships;
import org.alfresco.repo.cmis.ws.GetChildren;
import org.alfresco.repo.cmis.ws.GetChildrenResponse;
import org.alfresco.repo.cmis.ws.NavigationServicePort; import org.alfresco.repo.cmis.ws.NavigationServicePort;
import org.alfresco.repo.cmis.ws.ObjectFactory;
import org.alfresco.repo.cmis.ws.RepositoryServicePort; import org.alfresco.repo.cmis.ws.RepositoryServicePort;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor; import org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor;
import org.apache.cxf.endpoint.Client; import org.apache.cxf.endpoint.Client;
import org.apache.cxf.frontend.ClientProxy; import org.apache.cxf.frontend.ClientProxy;
@@ -60,7 +57,7 @@ import org.apache.ws.security.handler.WSHandlerConstants;
* *
* @author Dmitry Velichkevich * @author Dmitry Velichkevich
*/ */
public class ExecutableServicesHelper public class CmisUtils
{ {
private static final QName NAVIGATION_SERVICE_NAME = new QName("http://docs.oasis-open.org/ns/cmis/ws/200901", "NavigationService"); private static final QName NAVIGATION_SERVICE_NAME = new QName("http://docs.oasis-open.org/ns/cmis/ws/200901", "NavigationService");
private static final QName REPOSITORY_SERVICE_NAME = new QName("http://docs.oasis-open.org/ns/cmis/ws/200901", "RepositoryService"); private static final QName REPOSITORY_SERVICE_NAME = new QName("http://docs.oasis-open.org/ns/cmis/ws/200901", "RepositoryService");
@@ -68,21 +65,24 @@ public class ExecutableServicesHelper
private static final String NAVIGATION_SERVER_URL_POSTFIX = "/alfresco/cmis/NavigationService?wsdl"; private static final String NAVIGATION_SERVER_URL_POSTFIX = "/alfresco/cmis/NavigationService?wsdl";
private static final String REPOSITORY_SERVER_URL_POSTFIX = "/alfresco/cmis/RepositoryService?wsdl"; private static final String REPOSITORY_SERVER_URL_POSTFIX = "/alfresco/cmis/RepositoryService?wsdl";
@SuppressWarnings("unused")
private static final Log LOGGER = LogFactory.getLog(ExecutableServicesHelper.class);
private String username; private String username;
private String password; private String password;
private Service navigationServicesFactory; private Service navigationServicesFactory;
private Service repositoryServicesFactory; private Service repositoryServicesFactory;
private RepositoryServicePort repositoryService;
private NavigationServicePort navigationService;
private String repositoryId;
private String rootFolderId;
/** /**
* @param username - an existent authentication user name * @param username - an existent authentication user name
* @param password - appropriate password for specified user name * @param password - appropriate password for specified user name
* @param serverAddress - IP address (or domain name) and port for the server to connect * @param serverAddress - IP address (or domain name) and port for the server to connect
* @throws Exception - an caught <b>MalformedURLException</b> in time of server connect <b>URL</b> creation * @throws Exception - an caught <b>MalformedURLException</b> in time of server connect <b>URL</b> creation
*/ */
public ExecutableServicesHelper(String username, String password, String serverAddress) throws Exception public CmisUtils(String username, String password, String serverAddress)
{ {
this.username = username; this.username = username;
this.password = password; this.password = password;
@@ -94,55 +94,56 @@ public class ExecutableServicesHelper
} }
catch (MalformedURLException e) catch (MalformedURLException e)
{ {
throw new Exception("Field to connect to specified URL. Exception Message: " + e.getMessage()); throw new RuntimeException("Field to connect to specified URL. Exception Message: " + e.getMessage());
} }
} }
/** /**
* This method simplify <b>RepositoryServicePort</b> instance creation * This method simplify receiving of Root Folder Id
* *
* @return an instance of <b>RepositoryServicePort</b> * @return <b>String</b> representation of <b>Object Identificator</b>
* @throws RuntimeException This exception will be thrown when any <b>CMIS Services</b> operation fail
*/ */
public RepositoryServicePort receiveAuthorizedRepositoryServicePort() public String getRootFolderId()
{ {
RepositoryServicePort result = repositoryServicesFactory.getPort(RepositoryServicePort.class); if (null == rootFolderId)
createAuthorizationClient(result);
return result;
}
/**
* This method simplify <b>NavigationServicePort</b> instance creation
*
* @return an instance of <b>NavigationServicePort</b>
*/
public NavigationServicePort receiveAuthorizedNavigationServicePort()
{
NavigationServicePort result = navigationServicesFactory.getPort(NavigationServicePort.class);
createAuthorizationClient(result);
return result;
}
/**
* This method simplify configuring of <b>GetChildren CMIS Service</b> query with "ANY" filter, <b>Company Home Object Identificator</b> and <b>FOLDERS_AND_DOCUMENTS</b>
* entity types.
*
* @param servicesPort - <b>NavigationServicePort</b> configured with <b>WSS4J Client</b> instance
* @return <b>List< DocumentOrFolderObjectType></b> - list of all children elements of <b>Company Home</b> folder
* @throws Exception This exception throws when any <b>CMIS Services</b> operations was failed
*/
public List<CmisObjectType> receiveSpaceContent(NavigationServicePort servicesPort) throws Exception
{
GetChildrenResponse response;
response = servicesPort.getChildren(configureGetChildrenServiceQuery());
if ((response != null) && (response.getObject() != null))
{ {
return response.getObject(); try
{
rootFolderId = getRepositoryService().getRepositoryInfo(getRepositoryId()).getRootFolderId();
}
catch (Exception e)
{
throw new RuntimeException("Can't receive Root Folder Id. Cause error message: " + e.toString());
}
}
return rootFolderId;
}
/**
* This method simplify receiving children objects of specified folder
*
* @param folderId - <b>String</b> value that represents parent folder id
* @return <b>List&lt;CmisObjectType&gt;</b> - list of all children elements of specified folder
* @throws RuntimeException This exception will be thrown when any <b>CMIS Services</b> operation fail
*/
public List<CmisObjectType> receiveFolderEntry(String folderId)
{
Holder<List<CmisObjectType>> resultHolder = new Holder<List<CmisObjectType>>();
resultHolder.value = new LinkedList<CmisObjectType>();
Holder<Boolean> hasMoreItems = new Holder<Boolean>(false);
try
{
getNavigationService().getChildren(getRepositoryId(), folderId, "*", false, EnumIncludeRelationships.NONE, false, false, BigInteger.ZERO, BigInteger.ZERO, null,
resultHolder, hasMoreItems);
}
catch (Exception e)
{
throw new RuntimeException("Can't receive Children of specified folder with Id=" + folderId + ". Cause error message: " + e.toString());
}
if ((null != resultHolder) && (resultHolder.value != null))
{
return resultHolder.value;
} }
else else
{ {
@@ -150,58 +151,53 @@ public class ExecutableServicesHelper
} }
} }
/** private String getRepositoryId()
* This method simplify receiving of Object Identificator for Company Home Root Folder
*
* @param servicesPort - <b>RepositoryServicePort</b> instance that configured with WSS4J Client
* @return <b>String</b> representation of <b>Object Identificator</b>
* @throws Exception This exception throws when any <b>CMIS Services</b> operations was failed
*/
public String receiveCompanyHomeObjectId(RepositoryServicePort servicesPort) throws Exception
{ {
return servicesPort.getRepositoryInfo(servicesPort.getRepositories().get(0).getRepositoryId()).getRootFolderId(); if (null == repositoryId)
{
try
{
return getRepositoryService().getRepositories().get(0).getId();
}
catch (Exception e)
{
throw new RuntimeException("Can't receive Repository Id. Cause error message: " + e.toString());
}
}
return repositoryId;
} }
/** /**
* This method simplify creation of authorized Client instance with specified user name and appropriate password * This method simplify <b>RepositoryServicePort</b> instance creation
* *
* @return - an instance of authorized <b>CMIS Client</b> * @return an instance of <b>RepositoryServicePort</b>
*/ */
protected Client createAuthorizationClient(Object servicePortInstance) private RepositoryServicePort getRepositoryService()
{ {
Map<String, Object> outInterceptorProperties = configureWss4jProperties(); if (null == repositoryService)
{
repositoryService = configureWss4jClient(repositoryServicesFactory.getPort(RepositoryServicePort.class));
}
WSS4JOutInterceptor outInterceptor = new WSS4JOutInterceptor(outInterceptorProperties); return repositoryService;
return createAndConfigureClientInstance(servicePortInstance, outInterceptor);
} }
private GetChildren configureGetChildrenServiceQuery() throws Exception /**
* This method simplify <b>NavigationServicePort</b> instance creation
*
* @return an instance of <b>NavigationServicePort</b>
*/
private NavigationServicePort getNavigationService()
{ {
ObjectFactory objectFactory = new ObjectFactory(); if (null == navigationService)
{
navigationService = configureWss4jClient(navigationServicesFactory.getPort(NavigationServicePort.class));
}
RepositoryServicePort authorizedRepositoryServicePort = receiveAuthorizedRepositoryServicePort(); return navigationService;
GetChildren requestParameters = objectFactory.createGetChildren();
requestParameters.setRepositoryId(authorizedRepositoryServicePort.getRepositories().get(0).getRepositoryId());
requestParameters.setFilter(objectFactory.createGetChildrenFilter("*"));
requestParameters.setMaxItems(objectFactory.createGetChildrenMaxItems(BigInteger.valueOf(Long.MAX_VALUE)));
requestParameters.setFolderId(receiveCompanyHomeObjectId(authorizedRepositoryServicePort));
requestParameters.setType(objectFactory.createGetChildrenType(EnumTypesOfFileableObjects.ANY));
return requestParameters;
} }
private Client createAndConfigureClientInstance(Object servicePortInstance, WSS4JOutInterceptor outInterceptor) private <ResultType> ResultType configureWss4jClient(ResultType servicePort)
{
Client client = ClientProxy.getClient(servicePortInstance);
client.getEndpoint().getOutInterceptors().add(new SAAJOutInterceptor());
client.getEndpoint().getOutInterceptors().add(outInterceptor);
return client;
}
private Map<String, Object> configureWss4jProperties()
{ {
Map<String, Object> outInterceptorProperties = new HashMap<String, Object>(); Map<String, Object> outInterceptorProperties = new HashMap<String, Object>();
outInterceptorProperties.put(WSHandlerConstants.ACTION, WSHandlerConstants.USERNAME_TOKEN + " " + WSHandlerConstants.TIMESTAMP); outInterceptorProperties.put(WSHandlerConstants.ACTION, WSHandlerConstants.USERNAME_TOKEN + " " + WSHandlerConstants.TIMESTAMP);
@@ -216,6 +212,11 @@ public class ExecutableServicesHelper
} }
}); });
return outInterceptorProperties; WSS4JOutInterceptor outInterceptor = new WSS4JOutInterceptor(outInterceptorProperties);
Client client = ClientProxy.getClient(servicePort);
client.getEndpoint().getOutInterceptors().add(new SAAJOutInterceptor());
client.getEndpoint().getOutInterceptors().add(outInterceptor);
return servicePort;
} }
} }

View File

@@ -2,37 +2,34 @@
<configuration> <configuration>
<system.serviceModel> <system.serviceModel>
<bindings> <bindings>
<basicHttpBinding> <basicHttpBinding>
<binding name="RepositoryServiceSoapBinding" messageEncoding="Text"> <binding name="RepositoryServiceSoapBinding" messageEncoding="Text">
<security mode="TransportWithMessageCredential"> <security mode="TransportWithMessageCredential">
<transport /> <message clientCredentialType="UserName" />
<message clientCredentialType="UserName" /> </security>
</security> </binding>
</binding> <binding name="NavigationServiceSoapBinding" messageEncoding="Text" maxReceivedMessageSize="1000000000">
<binding name="NavigationServiceSoapBinding" messageEncoding="Text"> <security mode="TransportWithMessageCredential">
<security mode="TransportWithMessageCredential"> <message clientCredentialType="UserName" />
<transport /> </security>
<message clientCredentialType="UserName" /> </binding>
</security> <binding name="ObjectServiceSoapBinding" messageEncoding="Mtom">
</binding> <security mode="TransportWithMessageCredential">
<binding name="ObjectServiceSoapBinding" messageEncoding="Mtom"> <message clientCredentialType="UserName" />
<security mode="TransportWithMessageCredential"> </security>
<transport /> </binding>
<message clientCredentialType="UserName" /> </basicHttpBinding>
</security>
</binding>
</basicHttpBinding>
</bindings> </bindings>
<client> <client>
<endpoint address="https://localhost:8443/alfresco/cmis/RepositoryService" <endpoint address="https://localhost:8443/alfresco/cmis/RepositoryService"
binding="basicHttpBinding" bindingConfiguration="RepositoryServiceSoapBinding" binding="basicHttpBinding" bindingConfiguration="RepositoryServiceSoapBinding"
contract="RepositoryServicePort" name="RepositoryServicePort" /> contract="CmisServices.RepositoryServicePort" name="RepositoryServicePort" />
<endpoint address="https://localhost:8443/alfresco/cmis/NavigationService" <endpoint address="https://localhost:8443/alfresco/cmis/NavigationService"
binding="basicHttpBinding" bindingConfiguration="NavigationServiceSoapBinding" binding="basicHttpBinding" bindingConfiguration="NavigationServiceSoapBinding"
contract="NavigationServicePort" name="NavigationServicePort" /> contract="CmisServices.NavigationServicePort" name="NavigationServicePort" />
<endpoint address="https://localhost:8443/alfresco/cmis/ObjectService" <endpoint address="https://localhost:8443/alfresco/cmis/ObjectService"
binding="basicHttpBinding" bindingConfiguration="ObjectServiceSoapBinding" binding="basicHttpBinding" bindingConfiguration="ObjectServiceSoapBinding"
contract="ObjectServicePort" name="ObjectServicePort" /> contract="CmisServices.ObjectServicePort" name="ObjectServicePort" />
</client> </client>
</system.serviceModel> </system.serviceModel>
</configuration> </configuration>

View File

@@ -3,7 +3,7 @@
<PropertyGroup> <PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.21022</ProductVersion> <ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion> <SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{AA3B7140-D34D-430B-BAF8-29E8220263CA}</ProjectGuid> <ProjectGuid>{AA3B7140-D34D-430B-BAF8-29E8220263CA}</ProjectGuid>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
@@ -72,17 +72,23 @@
<Reference Include="System.Xml" /> <Reference Include="System.Xml" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="NavigationService.cs" />
<Compile Include="ObjectService.cs" />
<Compile Include="Program.cs" /> <Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="RepositoryService.cs" /> <Compile Include="Service References\CmisServices\Reference.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Reference.svcmap</DependentUpon>
</Compile>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<WCFMetadata Include="Service References\" /> <WCFMetadata Include="Service References\" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="app.config" /> <None Include="app.config" />
<None Include="Service References\CmisServices\CMIS-Core.xsd" />
<None Include="Service References\CmisServices\CMIS-Messaging.xsd" />
<None Include="Service References\CmisServices\CMISWebServices.wsdl" />
<None Include="Service References\CmisServices\xml.xsd" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<BootstrapperPackage Include="Microsoft.Net.Framework.2.0"> <BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
@@ -106,6 +112,48 @@
<Install>true</Install> <Install>true</Install>
</BootstrapperPackage> </BootstrapperPackage>
</ItemGroup> </ItemGroup>
<ItemGroup>
<WCFMetadataStorage Include="Service References\CmisServices\" />
</ItemGroup>
<ItemGroup>
<None Include="Service References\CmisServices\configuration91.svcinfo" />
</ItemGroup>
<ItemGroup>
<None Include="Service References\CmisServices\configuration.svcinfo" />
</ItemGroup>
<ItemGroup>
<None Include="Service References\CmisServices\CmisTest.CmisServices.cmisAccessControlListType.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Service References\CmisServices\CmisTest.CmisServices.cmisAllowableActionsType.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Service References\CmisServices\CmisTest.CmisServices.cmisContentStreamType.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Service References\CmisServices\CmisTest.CmisServices.cmisObjectType.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Service References\CmisServices\CmisTest.CmisServices.cmisRenditionType.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Service References\CmisServices\CmisTest.CmisServices.cmisRepositoryEntryType.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Service References\CmisServices\CmisTest.CmisServices.cmisRepositoryInfoType.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Service References\CmisServices\CmisTest.CmisServices.cmisTypeContainer.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Service References\CmisServices\CmisTest.CmisServices.cmisTypeDefinitionType.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Service References\CmisServices\Reference.svcmap">
<Generator>WCF Proxy Generator</Generator>
<LastGenOutput>Reference.cs</LastGenOutput>
</None>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets. Other similar extension points exist, see Microsoft.Common.targets.

View File

@@ -0,0 +1,20 @@

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual C# Express 2008
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CmisTest", "CmisTest.csproj", "{AA3B7140-D34D-430B-BAF8-29E8220263CA}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{AA3B7140-D34D-430B-BAF8-29E8220263CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AA3B7140-D34D-430B-BAF8-29E8220263CA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AA3B7140-D34D-430B-BAF8-29E8220263CA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AA3B7140-D34D-430B-BAF8-29E8220263CA}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@@ -1,581 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.1433
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
[assembly: System.Runtime.Serialization.ContractNamespaceAttribute("http://www.cmis.org/ns/1.0", ClrNamespace="www.cmis.org.ns._1._01")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(Namespace="http://www.cmis.org/ns/1.0", ConfigurationName="NavigationServicePort")]
public interface NavigationServicePort
{
// CODEGEN: Parameter 'documentAndFolderCollection' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'System.Xml.Serialization.XmlArrayItemAttribute'.
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="InvalidArgumentException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="FilterNotValidException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="RuntimeException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="PermissionDeniedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="OperationNotSupportedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="ConcurrencyException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="FolderNotValidException")]
[System.ServiceModel.XmlSerializerFormatAttribute()]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(repositoryInfoType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(objectTypeDefinitionType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(objectTypeBase))]
[return: System.ServiceModel.MessageParameterAttribute(Name="documentAndFolderCollection")]
getDescendantsResponse getDescendants(getDescendants request);
// CODEGEN: Parameter 'documentCollection' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'System.Xml.Serialization.XmlArrayItemAttribute'.
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="InvalidArgumentException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="FilterNotValidException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="RuntimeException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="PermissionDeniedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="OperationNotSupportedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="ConcurrencyException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="FolderNotValidException")]
[System.ServiceModel.XmlSerializerFormatAttribute()]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(repositoryInfoType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(objectTypeDefinitionType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(objectTypeBase))]
[return: System.ServiceModel.MessageParameterAttribute(Name="documentCollection")]
getCheckedoutDocsResponse getCheckedoutDocs(getCheckedoutDocs request);
// CODEGEN: Parameter 'folderCollection' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'System.Xml.Serialization.XmlArrayItemAttribute'.
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="InvalidArgumentException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="FilterNotValidException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="RuntimeException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="ObjectNotFoundException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="PermissionDeniedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="OperationNotSupportedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="ConcurrencyException")]
[System.ServiceModel.XmlSerializerFormatAttribute()]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(repositoryInfoType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(objectTypeDefinitionType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(objectTypeBase))]
[return: System.ServiceModel.MessageParameterAttribute(Name="folderCollection")]
getDocumentParentsResponse getDocumentParents(getDocumentParents request);
// CODEGEN: Parameter 'documentAndFolderCollection' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'System.Xml.Serialization.XmlArrayItemAttribute'.
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="InvalidArgumentException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="FilterNotValidException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="RuntimeException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="PermissionDeniedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="OperationNotSupportedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="ConcurrencyException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="FolderNotValidException")]
[System.ServiceModel.XmlSerializerFormatAttribute()]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(repositoryInfoType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(objectTypeDefinitionType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(objectTypeBase))]
[return: System.ServiceModel.MessageParameterAttribute(Name="documentAndFolderCollection")]
getChildrenResponse getChildren(getChildren request);
// CODEGEN: Parameter 'folderCollection' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'System.Xml.Serialization.XmlArrayItemAttribute'.
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="InvalidArgumentException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="FilterNotValidException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="RuntimeException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="PermissionDeniedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="OperationNotSupportedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="ConcurrencyException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="FolderNotValidException")]
[System.ServiceModel.XmlSerializerFormatAttribute()]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(repositoryInfoType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(objectTypeDefinitionType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(objectTypeBase))]
[return: System.ServiceModel.MessageParameterAttribute(Name="folderCollection")]
getFolderParentResponse getFolderParent(getFolderParent request);
// CODEGEN: Parameter 'documentCollection' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'System.Xml.Serialization.XmlArrayItemAttribute'.
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="InvalidArgumentException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="FilterNotValidException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="RuntimeException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="PermissionDeniedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="OperationNotSupportedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="ConcurrencyException")]
[System.ServiceModel.XmlSerializerFormatAttribute()]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(repositoryInfoType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(objectTypeDefinitionType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(objectTypeBase))]
[return: System.ServiceModel.MessageParameterAttribute(Name="documentCollection")]
getUnfiledDocsResponse getUnfiledDocs(getUnfiledDocs request);
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.648")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.cmis.org/ns/1.0")]
public enum typesOfObjectsEnum
{
/// <remarks/>
FoldersAndDocumets,
/// <remarks/>
Folders,
/// <remarks/>
Documents,
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.MessageContractAttribute(WrapperName="getDescendants", WrapperNamespace="http://www.cmis.org/ns/1.0", IsWrapped=true)]
public partial class getDescendants
{
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=0)]
public string folderId;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=1)]
public typesOfObjectsEnum type;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=2)]
public object depth;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=3)]
public string filter;
public getDescendants()
{
}
public getDescendants(string folderId, typesOfObjectsEnum type, object depth, string filter)
{
this.folderId = folderId;
this.type = type;
this.depth = depth;
this.filter = filter;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.MessageContractAttribute(WrapperName="getDescendantsResponse", WrapperNamespace="http://www.cmis.org/ns/1.0", IsWrapped=true)]
public partial class getDescendantsResponse
{
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=0)]
[System.Xml.Serialization.XmlArrayItemAttribute("object", IsNullable=false)]
public documentOrFolderObjectType[] documentAndFolderCollection;
public getDescendantsResponse()
{
}
public getDescendantsResponse(documentOrFolderObjectType[] documentAndFolderCollection)
{
this.documentAndFolderCollection = documentAndFolderCollection;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.MessageContractAttribute(WrapperName="getCheckedoutDocs", WrapperNamespace="http://www.cmis.org/ns/1.0", IsWrapped=true)]
public partial class getCheckedoutDocs
{
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=0)]
public string filter;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=1)]
[System.Xml.Serialization.XmlElementAttribute(DataType="integer")]
public string maxItems;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=2)]
[System.Xml.Serialization.XmlElementAttribute(DataType="integer")]
public string skipCount;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=3)]
public string folderID;
public getCheckedoutDocs()
{
}
public getCheckedoutDocs(string filter, string maxItems, string skipCount, string folderID)
{
this.filter = filter;
this.maxItems = maxItems;
this.skipCount = skipCount;
this.folderID = folderID;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.MessageContractAttribute(WrapperName="getCheckedoutDocsResponse", WrapperNamespace="http://www.cmis.org/ns/1.0", IsWrapped=true)]
public partial class getCheckedoutDocsResponse
{
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=0)]
[System.Xml.Serialization.XmlArrayItemAttribute("object", IsNullable=false)]
public documentObjectType[] documentCollection;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=1)]
public bool hasMoreItems;
public getCheckedoutDocsResponse()
{
}
public getCheckedoutDocsResponse(documentObjectType[] documentCollection, bool hasMoreItems)
{
this.documentCollection = documentCollection;
this.hasMoreItems = hasMoreItems;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.MessageContractAttribute(WrapperName="getDocumentParents", WrapperNamespace="http://www.cmis.org/ns/1.0", IsWrapped=true)]
public partial class getDocumentParents
{
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=0)]
public string documentId;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=1)]
public string filter;
public getDocumentParents()
{
}
public getDocumentParents(string documentId, string filter)
{
this.documentId = documentId;
this.filter = filter;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.MessageContractAttribute(WrapperName="getDocumentParentsResponse", WrapperNamespace="http://www.cmis.org/ns/1.0", IsWrapped=true)]
public partial class getDocumentParentsResponse
{
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=0)]
[System.Xml.Serialization.XmlArrayItemAttribute("object", IsNullable=false)]
public folderObjectType[] folderCollection;
public getDocumentParentsResponse()
{
}
public getDocumentParentsResponse(folderObjectType[] folderCollection)
{
this.folderCollection = folderCollection;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.MessageContractAttribute(WrapperName="getChildren", WrapperNamespace="http://www.cmis.org/ns/1.0", IsWrapped=true)]
public partial class getChildren
{
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=0)]
public string folderId;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=1)]
public typesOfObjectsEnum type;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=2)]
public string filter;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=3)]
[System.Xml.Serialization.XmlElementAttribute(DataType="integer")]
public string maxItems;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=4)]
[System.Xml.Serialization.XmlElementAttribute(DataType="integer")]
public string skipCount;
public getChildren()
{
}
public getChildren(string folderId, typesOfObjectsEnum type, string filter, string maxItems, string skipCount)
{
this.folderId = folderId;
this.type = type;
this.filter = filter;
this.maxItems = maxItems;
this.skipCount = skipCount;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.MessageContractAttribute(WrapperName="getChildrenResponse", WrapperNamespace="http://www.cmis.org/ns/1.0", IsWrapped=true)]
public partial class getChildrenResponse
{
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=0)]
[System.Xml.Serialization.XmlArrayItemAttribute("object", IsNullable=false)]
public documentOrFolderObjectType[] documentAndFolderCollection;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=1)]
public bool hasMoreItems;
public getChildrenResponse()
{
}
public getChildrenResponse(documentOrFolderObjectType[] documentAndFolderCollection, bool hasMoreItems)
{
this.documentAndFolderCollection = documentAndFolderCollection;
this.hasMoreItems = hasMoreItems;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.MessageContractAttribute(WrapperName="getFolderParent", WrapperNamespace="http://www.cmis.org/ns/1.0", IsWrapped=true)]
public partial class getFolderParent
{
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=0)]
public string folderId;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=1)]
public string filter;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=2)]
public bool returnToRoot;
public getFolderParent()
{
}
public getFolderParent(string folderId, string filter, bool returnToRoot)
{
this.folderId = folderId;
this.filter = filter;
this.returnToRoot = returnToRoot;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.MessageContractAttribute(WrapperName="getFolderParentResponse", WrapperNamespace="http://www.cmis.org/ns/1.0", IsWrapped=true)]
public partial class getFolderParentResponse
{
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=0)]
[System.Xml.Serialization.XmlArrayItemAttribute("object", IsNullable=false)]
public folderObjectType[] folderCollection;
public getFolderParentResponse()
{
}
public getFolderParentResponse(folderObjectType[] folderCollection)
{
this.folderCollection = folderCollection;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.MessageContractAttribute(WrapperName="getUnfiledDocs", WrapperNamespace="http://www.cmis.org/ns/1.0", IsWrapped=true)]
public partial class getUnfiledDocs
{
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=0)]
public string filter;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=1)]
[System.Xml.Serialization.XmlElementAttribute(DataType="integer")]
public string maxDocuments;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=2)]
[System.Xml.Serialization.XmlElementAttribute(DataType="integer")]
public string skipCount;
public getUnfiledDocs()
{
}
public getUnfiledDocs(string filter, string maxDocuments, string skipCount)
{
this.filter = filter;
this.maxDocuments = maxDocuments;
this.skipCount = skipCount;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.MessageContractAttribute(WrapperName="getUnfiledDocsResponse", WrapperNamespace="http://www.cmis.org/ns/1.0", IsWrapped=true)]
public partial class getUnfiledDocsResponse
{
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=0)]
[System.Xml.Serialization.XmlArrayItemAttribute("object", IsNullable=false)]
public documentObjectType[] documentCollection;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=1)]
public bool hasMoreItems;
public getUnfiledDocsResponse()
{
}
public getUnfiledDocsResponse(documentObjectType[] documentCollection, bool hasMoreItems)
{
this.documentCollection = documentCollection;
this.hasMoreItems = hasMoreItems;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
public interface NavigationServicePortChannel : NavigationServicePort, System.ServiceModel.IClientChannel
{
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
public partial class NavigationServicePortClient : System.ServiceModel.ClientBase<NavigationServicePort>, NavigationServicePort
{
public NavigationServicePortClient()
{
}
public NavigationServicePortClient(string endpointConfigurationName) :
base(endpointConfigurationName)
{
}
public NavigationServicePortClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public NavigationServicePortClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public NavigationServicePortClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress)
{
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
getDescendantsResponse NavigationServicePort.getDescendants(getDescendants request)
{
return base.Channel.getDescendants(request);
}
public documentOrFolderObjectType[] getDescendants(string folderId, typesOfObjectsEnum type, object depth, string filter)
{
getDescendants inValue = new getDescendants();
inValue.folderId = folderId;
inValue.type = type;
inValue.depth = depth;
inValue.filter = filter;
getDescendantsResponse retVal = ((NavigationServicePort)(this)).getDescendants(inValue);
return retVal.documentAndFolderCollection;
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
getCheckedoutDocsResponse NavigationServicePort.getCheckedoutDocs(getCheckedoutDocs request)
{
return base.Channel.getCheckedoutDocs(request);
}
public documentObjectType[] getCheckedoutDocs(string filter, string maxItems, string skipCount, string folderID, out bool hasMoreItems)
{
getCheckedoutDocs inValue = new getCheckedoutDocs();
inValue.filter = filter;
inValue.maxItems = maxItems;
inValue.skipCount = skipCount;
inValue.folderID = folderID;
getCheckedoutDocsResponse retVal = ((NavigationServicePort)(this)).getCheckedoutDocs(inValue);
hasMoreItems = retVal.hasMoreItems;
return retVal.documentCollection;
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
getDocumentParentsResponse NavigationServicePort.getDocumentParents(getDocumentParents request)
{
return base.Channel.getDocumentParents(request);
}
public folderObjectType[] getDocumentParents(string documentId, string filter)
{
getDocumentParents inValue = new getDocumentParents();
inValue.documentId = documentId;
inValue.filter = filter;
getDocumentParentsResponse retVal = ((NavigationServicePort)(this)).getDocumentParents(inValue);
return retVal.folderCollection;
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
getChildrenResponse NavigationServicePort.getChildren(getChildren request)
{
return base.Channel.getChildren(request);
}
public documentOrFolderObjectType[] getChildren(string folderId, typesOfObjectsEnum type, string filter, string maxItems, string skipCount, out bool hasMoreItems)
{
getChildren inValue = new getChildren();
inValue.folderId = folderId;
inValue.type = type;
inValue.filter = filter;
inValue.maxItems = maxItems;
inValue.skipCount = skipCount;
getChildrenResponse retVal = ((NavigationServicePort)(this)).getChildren(inValue);
hasMoreItems = retVal.hasMoreItems;
return retVal.documentAndFolderCollection;
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
getFolderParentResponse NavigationServicePort.getFolderParent(getFolderParent request)
{
return base.Channel.getFolderParent(request);
}
public folderObjectType[] getFolderParent(string folderId, string filter, bool returnToRoot)
{
getFolderParent inValue = new getFolderParent();
inValue.folderId = folderId;
inValue.filter = filter;
inValue.returnToRoot = returnToRoot;
getFolderParentResponse retVal = ((NavigationServicePort)(this)).getFolderParent(inValue);
return retVal.folderCollection;
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
getUnfiledDocsResponse NavigationServicePort.getUnfiledDocs(getUnfiledDocs request)
{
return base.Channel.getUnfiledDocs(request);
}
public documentObjectType[] getUnfiledDocs(string filter, string maxDocuments, string skipCount, out bool hasMoreItems)
{
getUnfiledDocs inValue = new getUnfiledDocs();
inValue.filter = filter;
inValue.maxDocuments = maxDocuments;
inValue.skipCount = skipCount;
getUnfiledDocsResponse retVal = ((NavigationServicePort)(this)).getUnfiledDocs(inValue);
hasMoreItems = retVal.hasMoreItems;
return retVal.documentCollection;
}
}

View File

@@ -1,643 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.1433
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
[assembly: System.Runtime.Serialization.ContractNamespaceAttribute("http://www.cmis.org/ns/1.0", ClrNamespace="www.cmis.org.ns._1._01")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(Namespace="http://www.cmis.org/ns/1.0", ConfigurationName="ObjectServicePort")]
public interface ObjectServicePort
{
// CODEGEN: Parameter 'failedToDelete' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'System.Xml.Serialization.XmlArrayItemAttribute'.
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="InvalidArgumentException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="RuntimeException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="PermissionDeniedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="OperationNotSupportedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="ConcurrencyException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="FolderNotValidException")]
[System.ServiceModel.XmlSerializerFormatAttribute()]
[return: System.ServiceModel.MessageParameterAttribute(Name="failedToDelete")]
deleteTreeResponse deleteTree(deleteTree request);
// CODEGEN: Parameter 'allowableActionCollection' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'System.Xml.Serialization.XmlArrayItemAttribute'.
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="InvalidArgumentException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="RuntimeException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="ObjectNotFoundException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="PermissionDeniedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="OperationNotSupportedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="ConcurrencyException")]
[System.ServiceModel.XmlSerializerFormatAttribute()]
[return: System.ServiceModel.MessageParameterAttribute(Name="allowableActionCollection")]
getAllowableActionsResponse getAllowableActions(getAllowableActions request);
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="InvalidArgumentException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="ConstraintViolationException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="RuntimeException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="ObjectNotFoundException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="PermissionDeniedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="OperationNotSupportedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="NotInFolderException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="ConcurrencyException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="FolderNotValidException")]
[System.ServiceModel.XmlSerializerFormatAttribute()]
void moveObject(string objectId, string folderId, string sourceFolderId);
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="StorageException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="InvalidArgumentException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="ConstraintViolationException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="RuntimeException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="StreamNotSupportedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="ObjectNotFoundException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="PermissionDeniedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="OperationNotSupportedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="ConcurrencyException")]
[System.ServiceModel.XmlSerializerFormatAttribute()]
void deleteContentStream(string documentId);
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="InvalidArgumentException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="ConstraintViolationException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="RuntimeException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="PermissionDeniedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="OperationNotSupportedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="TypeNotFoundException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="ConcurrencyException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="FolderNotValidException")]
[System.ServiceModel.XmlSerializerFormatAttribute()]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(objectTypeBase))]
[return: System.ServiceModel.MessageParameterAttribute(Name="objectId")]
string createFolder(string typeId, folderObjectType propertyCollection, string folderId);
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="InvalidArgumentException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="RuntimeException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="ObjectNotFoundException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="PermissionDeniedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="OperationNotSupportedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="ConcurrencyException")]
[System.ServiceModel.XmlSerializerFormatAttribute()]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(objectTypeBase))]
void updateProperties(string objectId, string changeToken, documentFolderOrRelationshipObjectType @object);
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="StorageException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="InvalidArgumentException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="ConstraintViolationException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="RuntimeException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="StreamNotSupportedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="PermissionDeniedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="OperationNotSupportedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="TypeNotFoundException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="ConcurrencyException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="FolderNotValidException")]
[System.ServiceModel.XmlSerializerFormatAttribute()]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(objectTypeBase))]
[return: System.ServiceModel.MessageParameterAttribute(Name="objectId")]
string createDocument(string typeId, documentObjectType propertyCollection, string folderId, contentStream contentStream, versioningStateEnum versioningState);
// CODEGEN: Parameter 'stream' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'System.Xml.Serialization.XmlElementAttribute'.
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="StorageException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="InvalidArgumentException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="RuntimeException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="StreamNotSupportedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="ObjectNotFoundException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="PermissionDeniedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="OperationNotSupportedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="OffsetException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="ConcurrencyException")]
[System.ServiceModel.XmlSerializerFormatAttribute()]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(objectTypeBase))]
[return: System.ServiceModel.MessageParameterAttribute(Name="stream")]
getContentStreamResponse getContentStream(getContentStream request);
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="InvalidArgumentException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="ConstraintViolationException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="RuntimeException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="ObjectNotFoundException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="PermissionDeniedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="OperationNotSupportedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="TypeNotFoundException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="ConcurrencyException")]
[System.ServiceModel.XmlSerializerFormatAttribute()]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(objectTypeBase))]
[return: System.ServiceModel.MessageParameterAttribute(Name="objectId")]
string createRelationship(string typeId, relationshipObjectType propertyCollection, string sourceObjectId, string targetObjectId);
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="StorageException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="InvalidArgumentException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="ConstraintViolationException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="RuntimeException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="StreamNotSupportedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="ObjectNotFoundException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="AlreadyExistsException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="PermissionDeniedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="OperationNotSupportedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="ConcurrencyException")]
[System.ServiceModel.XmlSerializerFormatAttribute()]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(objectTypeBase))]
void setContentStream(string documentId, bool overwriteFlag, contentStream contentStream);
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="InvalidArgumentException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="ConstraintViolationException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="RuntimeException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="ObjectNotFoundException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="PermissionDeniedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="OperationNotSupportedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="ConcurrencyException")]
[System.ServiceModel.XmlSerializerFormatAttribute()]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(objectTypeBase))]
void deleteObject(string objectId);
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="InvalidArgumentException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="FilterNotValidException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="RuntimeException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="ObjectNotFoundException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="PermissionDeniedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="OperationNotSupportedException")]
[System.ServiceModel.FaultContractAttribute(typeof(object), Action="", Name="ConcurrencyException")]
[System.ServiceModel.XmlSerializerFormatAttribute()]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(objectTypeBase))]
[return: System.ServiceModel.MessageParameterAttribute(Name="object")]
documentFolderOrRelationshipObjectType getProperties(string objectId, versionEnum returnVersion, string filter);
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.648")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.cmis.org/ns/1.0")]
public enum deleteWithMultiFilingEnum
{
/// <remarks/>
unfile,
/// <remarks/>
deleteSingleFiledDocs,
/// <remarks/>
delete,
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.MessageContractAttribute(WrapperName="deleteTree", WrapperNamespace="http://www.cmis.org/ns/1.0", IsWrapped=true)]
public partial class deleteTree
{
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=0)]
public string folderId;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=1)]
public deleteWithMultiFilingEnum unfileMultiFiledDocuments;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=2)]
public bool continueOnFailure;
public deleteTree()
{
}
public deleteTree(string folderId, deleteWithMultiFilingEnum unfileMultiFiledDocuments, bool continueOnFailure)
{
this.folderId = folderId;
this.unfileMultiFiledDocuments = unfileMultiFiledDocuments;
this.continueOnFailure = continueOnFailure;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.MessageContractAttribute(WrapperName="deleteTreeResponse", WrapperNamespace="http://www.cmis.org/ns/1.0", IsWrapped=true)]
public partial class deleteTreeResponse
{
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=0)]
[System.Xml.Serialization.XmlArrayItemAttribute("objectId", IsNullable=false)]
public string[] failedToDelete;
public deleteTreeResponse()
{
}
public deleteTreeResponse(string[] failedToDelete)
{
this.failedToDelete = failedToDelete;
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.648")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.cmis.org/ns/1.0")]
public enum allowableActionsEnum
{
/// <remarks/>
viewContent,
/// <remarks/>
updateProperties,
/// <remarks/>
setContent,
/// <remarks/>
removeFromFolder,
/// <remarks/>
move,
/// <remarks/>
getRelationships,
/// <remarks/>
getProperties,
/// <remarks/>
getParents,
/// <remarks/>
getChilderen,
/// <remarks/>
getAllVersions,
/// <remarks/>
deleteVersion,
/// <remarks/>
deleteContent,
/// <remarks/>
delete,
/// <remarks/>
checkOut,
/// <remarks/>
checkIn,
/// <remarks/>
cancelCheckOut,
/// <remarks/>
addToFolder,
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.MessageContractAttribute(WrapperName="getAllowableActions", WrapperNamespace="http://www.cmis.org/ns/1.0", IsWrapped=true)]
public partial class getAllowableActions
{
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=0)]
public string objectId;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=1)]
public string asUser;
public getAllowableActions()
{
}
public getAllowableActions(string objectId, string asUser)
{
this.objectId = objectId;
this.asUser = asUser;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.MessageContractAttribute(WrapperName="getAllowableActionsResponse", WrapperNamespace="http://www.cmis.org/ns/1.0", IsWrapped=true)]
public partial class getAllowableActionsResponse
{
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=0)]
[System.Xml.Serialization.XmlArrayItemAttribute("action", IsNullable=false)]
public allowableActionsEnum[] allowableActionCollection;
public getAllowableActionsResponse()
{
}
public getAllowableActionsResponse(allowableActionsEnum[] allowableActionCollection)
{
this.allowableActionCollection = allowableActionCollection;
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.648")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.cmis.org/ns/1.0")]
public partial class contentStream
{
private string mimeTypeField;
private string nameField;
private string uriField;
private byte[] streamField;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public string mimeType
{
get
{
return this.mimeTypeField;
}
set
{
this.mimeTypeField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
public string name
{
get
{
return this.nameField;
}
set
{
this.nameField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Order=2)]
public string uri
{
get
{
return this.uriField;
}
set
{
this.uriField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=3)]
public byte[] stream
{
get
{
return this.streamField;
}
set
{
this.streamField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.648")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.cmis.org/ns/1.0")]
public enum versioningStateEnum
{
/// <remarks/>
checkedOut,
/// <remarks/>
checkedInMinor,
/// <remarks/>
checkedInMajor,
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.MessageContractAttribute(WrapperName="getContentStream", WrapperNamespace="http://www.cmis.org/ns/1.0", IsWrapped=true)]
public partial class getContentStream
{
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=0)]
public string documentId;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=1)]
[System.Xml.Serialization.XmlElementAttribute(DataType="integer")]
public string offset;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=2)]
[System.Xml.Serialization.XmlElementAttribute(DataType="integer")]
public string length;
public getContentStream()
{
}
public getContentStream(string documentId, string offset, string length)
{
this.documentId = documentId;
this.offset = offset;
this.length = length;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.MessageContractAttribute(WrapperName="getContentStreamResponse", WrapperNamespace="http://www.cmis.org/ns/1.0", IsWrapped=true)]
public partial class getContentStreamResponse
{
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.cmis.org/ns/1.0", Order=0)]
[System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")]
public byte[] stream;
public getContentStreamResponse()
{
}
public getContentStreamResponse(byte[] stream)
{
this.stream = stream;
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.648")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.cmis.org/ns/1.0")]
public enum versionEnum
{
/// <remarks/>
@this,
/// <remarks/>
latestMajor,
/// <remarks/>
latest,
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
public interface ObjectServicePortChannel : ObjectServicePort, System.ServiceModel.IClientChannel
{
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
public partial class ObjectServicePortClient : System.ServiceModel.ClientBase<ObjectServicePort>, ObjectServicePort
{
public ObjectServicePortClient()
{
}
public ObjectServicePortClient(string endpointConfigurationName) :
base(endpointConfigurationName)
{
}
public ObjectServicePortClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public ObjectServicePortClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public ObjectServicePortClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress)
{
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
deleteTreeResponse ObjectServicePort.deleteTree(deleteTree request)
{
return base.Channel.deleteTree(request);
}
public string[] deleteTree(string folderId, deleteWithMultiFilingEnum unfileMultiFiledDocuments, bool continueOnFailure)
{
deleteTree inValue = new deleteTree();
inValue.folderId = folderId;
inValue.unfileMultiFiledDocuments = unfileMultiFiledDocuments;
inValue.continueOnFailure = continueOnFailure;
deleteTreeResponse retVal = ((ObjectServicePort)(this)).deleteTree(inValue);
return retVal.failedToDelete;
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
getAllowableActionsResponse ObjectServicePort.getAllowableActions(getAllowableActions request)
{
return base.Channel.getAllowableActions(request);
}
public allowableActionsEnum[] getAllowableActions(string objectId, string asUser)
{
getAllowableActions inValue = new getAllowableActions();
inValue.objectId = objectId;
inValue.asUser = asUser;
getAllowableActionsResponse retVal = ((ObjectServicePort)(this)).getAllowableActions(inValue);
return retVal.allowableActionCollection;
}
public void moveObject(string objectId, string folderId, string sourceFolderId)
{
base.Channel.moveObject(objectId, folderId, sourceFolderId);
}
public void deleteContentStream(string documentId)
{
base.Channel.deleteContentStream(documentId);
}
public string createFolder(string typeId, folderObjectType propertyCollection, string folderId)
{
return base.Channel.createFolder(typeId, propertyCollection, folderId);
}
public void updateProperties(string objectId, string changeToken, documentFolderOrRelationshipObjectType @object)
{
base.Channel.updateProperties(objectId, changeToken, @object);
}
public string createDocument(string typeId, documentObjectType propertyCollection, string folderId, contentStream contentStream, versioningStateEnum versioningState)
{
return base.Channel.createDocument(typeId, propertyCollection, folderId, contentStream, versioningState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
getContentStreamResponse ObjectServicePort.getContentStream(getContentStream request)
{
return base.Channel.getContentStream(request);
}
public byte[] getContentStream(string documentId, string offset, string length)
{
getContentStream inValue = new getContentStream();
inValue.documentId = documentId;
inValue.offset = offset;
inValue.length = length;
getContentStreamResponse retVal = ((ObjectServicePort)(this)).getContentStream(inValue);
return retVal.stream;
}
public string createRelationship(string typeId, relationshipObjectType propertyCollection, string sourceObjectId, string targetObjectId)
{
return base.Channel.createRelationship(typeId, propertyCollection, sourceObjectId, targetObjectId);
}
public void setContentStream(string documentId, bool overwriteFlag, contentStream contentStream)
{
base.Channel.setContentStream(documentId, overwriteFlag, contentStream);
}
public void deleteObject(string objectId)
{
base.Channel.deleteObject(objectId);
}
public documentFolderOrRelationshipObjectType getProperties(string objectId, versionEnum returnVersion, string filter)
{
return base.Channel.getProperties(objectId, returnVersion, filter);
}
}
namespace www.cmis.org.ns._1._01
{
using System.Runtime.Serialization;
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
[System.Runtime.Serialization.CollectionDataContractAttribute(Name="failedToDelete", Namespace="http://www.cmis.org/ns/1.0", ItemName="objectId")]
public class failedToDelete : System.Collections.Generic.List<string>
{
}
}

View File

@@ -1,118 +1,152 @@
using System; /*
using System.Collections.Generic; * Copyright (C) 2005-2007 Alfresco Software Limited.
using System.Linq; *
using System.Text; * This program is free software; you can redistribute it and/or
using System.Web.Services; * modify it under the terms of the GNU General Public License
using System.Web.Services.Protocols; * as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* As a special exception to the terms and conditions of version 2.0 of
* the GPL, you may redistribute this Program in connection with Free/Libre
* and Open Source Software ("FLOSS") applications as described in Alfresco's
* FLOSS exception. You should have recieved a copy of the text describing
* the FLOSS exception, and it is also available here:
* http://www.alfresco.com/legal/licensing"
*/
using System;
using System.Net; using System.Net;
using System.ServiceModel;
using System.ServiceModel.Security;
using System.ServiceModel.Security.Tokens;
using System.Security.Cryptography.X509Certificates;
using System.Net.Security; using System.Net.Security;
using System.ServiceModel.Channels; using System.Security.Cryptography.X509Certificates;
using www.cmis.org.ns._1._01; using System.ServiceModel;
using WcfCmisWSTests.CmisServices;
using System.Reflection;
namespace CmisTest namespace CmisTest
{ {
class Program public class Program
{ {
private const string INVALID_REACTION_MESSAGE = "Invalid Reaction! Exception should be thrown";
static void Main(string[] args) private static RepositoryServicePortClient repositoryService = null;
private static NavigationServicePortClient navigationService = null;
private static ObjectServicePortClient objectService = null;
public static void Main(string[] args)
{ {
initialize();
cmisRepositoryEntryType[] repositories = repositoryService.getRepositories();
string repositoryId = repositories[0].id;
Console.WriteLine("Repositories description were received. Repositories amount: '" + repositories.Length + "'. First Repository Id='" + repositoryId + "'.");
string rootFolder = repositoryService.getRepositoryInfo(repositoryId).rootFolderId;
Console.WriteLine("Root folder Id='" + rootFolder + "'.\n");
try
{
Console.WriteLine("Actual Reaction of RepositoryService.getRepositoryInfo() service method with invalid Repository Id:");
repositoryService.getRepositoryInfo("Invalid Repository Id");
Console.WriteLine(INVALID_REACTION_MESSAGE);
}
catch (FaultException<cmisFaultType> e)
{
Console.WriteLine(" " + e.Message);
}
try
{
Console.WriteLine("Actual Reaction of ObjectService.getProperties() service method with invalid Object Id:");
objectService.getProperties(repositoryId, ("Invalid Object Id"), "*", false, null, false);
Console.WriteLine(INVALID_REACTION_MESSAGE);
}
catch (FaultException<cmisFaultType> e)
{
Console.WriteLine(" " + e.Message + "\n");
}
cmisObjectType[] childrenResponse = null;
try
{
bool hasMoreItems;
Console.WriteLine("Trying to receive Children Objects of Root Folder...");
childrenResponse = navigationService.getChildren(repositoryId, rootFolder, "*", false, null, false, false, "0", "0", null, out hasMoreItems);
Console.WriteLine("Children of Root Folder were received. Elements amount: '" + childrenResponse.Length + "'. Has More Items='" + hasMoreItems + "' (how it WAS " + ((hasMoreItems) ? ("NOT ") : ("")) + "expected).");
} catch (FaultException<cmisFaultType> e) {
Console.WriteLine("Can't receive Children of Root Folder. Cause error message: " + e.Message);
}
if (null != childrenResponse) {
Console.WriteLine("Root folder listing: ");
foreach (cmisObjectType cmisObject in childrenResponse) {
if (null != cmisObject) {
cmisProperty nameProperty = searchForProperty(cmisObject.properties, "cmis:Name");
cmisProperty baseTypeProperty = searchForProperty(cmisObject.properties, "cmis:BaseTypeId");
Console.WriteLine((("cmis:folder".Equals(getPropertyValue(baseTypeProperty))) ? ("Folder") : ("Document")) + " Child with Name='" + getPropertyValue(nameProperty) + "'");
}
}
}
}
private static void initialize() {
ServicePointManager.ServerCertificateValidationCallback = delegate(object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors) ServicePointManager.ServerCertificateValidationCallback = delegate(object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors)
{ {
return true; return true;
}; };
RepositoryServicePortClient repositoryService = new RepositoryServicePortClient(); repositoryService = new RepositoryServicePortClient();
repositoryService.ClientCredentials.UserName.UserName = "admin"; repositoryService.ClientCredentials.UserName.UserName = "admin";
repositoryService.ClientCredentials.UserName.Password = "admin"; repositoryService.ClientCredentials.UserName.Password = "admin";
navigationService = new NavigationServicePortClient();
NavigationServicePortClient navigationService = new NavigationServicePortClient();
navigationService.ClientCredentials.UserName.UserName = "admin"; navigationService.ClientCredentials.UserName.UserName = "admin";
navigationService.ClientCredentials.UserName.Password = "admin"; navigationService.ClientCredentials.UserName.Password = "admin";
objectService = new ObjectServicePortClient();
ObjectServicePortClient objectService = new ObjectServicePortClient();
objectService.ClientCredentials.UserName.UserName = "admin"; objectService.ClientCredentials.UserName.UserName = "admin";
objectService.ClientCredentials.UserName.Password = "admin"; objectService.ClientCredentials.UserName.Password = "admin";
}
folderObjectType rootFolder = repositoryService.getRootFolder("*"); private static string getPropertyName(cmisProperty property)
Console.WriteLine("Root folder OID = {0}\n", rootFolder.objectID); {
string result = null;
try if (null != property) {
{ result = (null != property.pdid) ? (property.pdid):(property.localname);
repositoryService.getRootFolder("a"); result = (null != result) ? (result):(property.displayname);
}
catch (FaultException<basicFault> e)
{
Console.WriteLine(e.Message);
} }
return result;
}
private static object getPropertyValue(cmisProperty property) {
try if (null != property) {
{ Type propertyType = property.GetType();
objectService.getProperties(rootFolder + "1", versionEnum.@this, "*"); PropertyInfo valueProperty = propertyType.GetProperty("value");
} if ((null != valueProperty) && valueProperty.CanRead) {
catch (FaultException e) object[] values = (object[])valueProperty.GetValue(property, null);
{ if ((null != values) && (values.Length > 0)) {
Console.WriteLine(e.Message); return values[0];
}
bool hasMoreItems;
documentOrFolderObjectType[] rootFolderListing = navigationService.getChildren(rootFolder.objectID, typesOfObjectsEnum.FoldersAndDocumets, "*", null, null,
out hasMoreItems);
string guestFolderOID = null;
Console.WriteLine("Root folder listing: ");
foreach (documentOrFolderObjectType docFolder in rootFolderListing)
{
if (docFolder.name == "Guest Home")
{
guestFolderOID = docFolder.objectID;
}
Console.WriteLine(docFolder.name);
}
if (guestFolderOID != null)
{
Console.Write("\nGet children for bad OID, error : ");
try
{
navigationService.getChildren(guestFolderOID + 1, typesOfObjectsEnum.FoldersAndDocumets, "*", null, null,
out hasMoreItems);
}
catch (FaultException e)
{
Console.WriteLine(e.Message);
}
documentOrFolderObjectType[] guestFolderListing =
navigationService.getChildren(guestFolderOID, typesOfObjectsEnum.FoldersAndDocumets, "*", null, null,
out hasMoreItems);
string alfrescoTutOID = null;
Console.WriteLine("\nGuest folder listing: ");
foreach (documentOrFolderObjectType docFolder in guestFolderListing)
{
if (docFolder.name == "Alfresco-Tutorial.pdf")
{
alfrescoTutOID = docFolder.objectID;
} }
Console.WriteLine(docFolder.name);
}
if (alfrescoTutOID != null)
{
byte[] bytes = objectService.getContentStream(alfrescoTutOID, null, "100");
Console.WriteLine("\nAlfresco-Tutorial.pdf retrieved");
} }
} }
return null;
}
private static cmisProperty searchForProperty(cmisPropertiesType properties, string propertyName) {
if((null != properties) && (null != properties.Items) && (properties.Items.Length > 0) && (null != propertyName) && !"".Equals(propertyName)) {
foreach(cmisProperty property in properties.Items) {
string name = getPropertyName(property);
if((null != name) && name.Equals(propertyName)) {
return property;
}
}
}
return null;
}
}
} }
} }

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,915 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200901" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" elementFormDefault="qualified" targetNamespace="http://docs.oasis-open.org/ns/cmis/core/200901" version="0.62f" jaxb:extensionBindingPrefixes="xjc" jaxb:version="2.1" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import schemaLocation="xml.xsd" namespace="http://www.w3.org/XML/1998/namespace" />
<xs:simpleType name="enumDecimalPrecision">
<xs:restriction base="xs:integer">
<xs:enumeration value="32" />
<xs:enumeration value="64" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="enumContentStreamAllowed">
<xs:restriction base="xs:string">
<xs:enumeration value="notallowed" />
<xs:enumeration value="allowed" />
<xs:enumeration value="required" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="enumCardinality">
<xs:restriction base="xs:string">
<xs:enumeration value="single" />
<xs:enumeration value="multi" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="enumUpdatability">
<xs:restriction base="xs:string">
<xs:enumeration value="readonly" />
<xs:enumeration value="readwrite" />
<xs:enumeration value="whencheckedout" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="enumPropertyType">
<xs:restriction base="xs:string">
<xs:enumeration value="boolean" />
<xs:enumeration value="id" />
<xs:enumeration value="integer" />
<xs:enumeration value="datetime" />
<xs:enumeration value="decimal" />
<xs:enumeration value="html" />
<xs:enumeration value="xhtml" />
<xs:enumeration value="string" />
<xs:enumeration value="uri" />
<xs:enumeration value="xml" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="enumBaseObjectTypeIds">
<xs:restriction base="xs:string">
<xs:enumeration value="cmis:document" />
<xs:enumeration value="cmis:folder" />
<xs:enumeration value="cmis:relationship" />
<xs:enumeration value="cmis:policy" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="enumCapabilityQuery">
<xs:restriction base="xs:string">
<xs:enumeration value="none" />
<xs:enumeration value="metadataonly" />
<xs:enumeration value="fulltextonly" />
<xs:enumeration value="bothseparate" />
<xs:enumeration value="bothcombined" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="enumCapabilityJoin">
<xs:restriction base="xs:string">
<xs:enumeration value="none" />
<xs:enumeration value="inneronly" />
<xs:enumeration value="innerandouter" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="enumCapabilityContentStreamUpdates">
<xs:restriction base="xs:string">
<xs:enumeration value="anytime" />
<xs:enumeration value="pwc-only" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="enumRepositoryRelationship">
<xs:restriction base="xs:string">
<xs:enumeration value="self" />
<xs:enumeration value="replica" />
<xs:enumeration value="peer" />
<xs:enumeration value="parent" />
<xs:enumeration value="child" />
<xs:enumeration value="archive" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="enumVersioningState">
<xs:restriction base="xs:string">
<xs:enumeration value="checkedout" />
<xs:enumeration value="minor" />
<xs:enumeration value="major" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="enumReturnVersion">
<xs:restriction base="xs:string">
<xs:enumeration value="this" />
<xs:enumeration value="latest" />
<xs:enumeration value="latestmajor" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="enumUnfileObject">
<xs:restriction base="xs:string">
<xs:enumeration value="unfile" />
<xs:enumeration value="deletesinglefiled" />
<xs:enumeration value="delete" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="enumRelationshipDirection">
<xs:restriction base="xs:string">
<xs:enumeration value="source" />
<xs:enumeration value="target" />
<xs:enumeration value="either" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="enumIncludeRelationships">
<xs:restriction base="xs:string">
<xs:enumeration value="none" />
<xs:enumeration value="source" />
<xs:enumeration value="target" />
<xs:enumeration value="both" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="enumPropertiesBase">
<xs:restriction base="xs:string">
<xs:enumeration value="cmis:Name" />
<xs:enumeration value="cmis:ObjectId" />
<xs:enumeration value="cmis:ObjectTypeId" />
<xs:enumeration value="cmis:BaseTypeId" />
<xs:enumeration value="cmis:CreatedBy" />
<xs:enumeration value="cmis:CreationDate" />
<xs:enumeration value="cmis:LastModifiedBy" />
<xs:enumeration value="cmis:LastModificationDate" />
<xs:enumeration value="cmis:ChangeToken" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="enumPropertiesDocument">
<xs:restriction base="xs:string">
<xs:enumeration value="cmis:IsImmutable" />
<xs:enumeration value="cmis:IsLatestVersion" />
<xs:enumeration value="cmis:IsMajorVersion" />
<xs:enumeration value="cmis:IsLatestMajorVersion" />
<xs:enumeration value="cmis:VersionLabel" />
<xs:enumeration value="cmis:VersionSeriesId" />
<xs:enumeration value="cmis:IsVersionSeriesCheckedOut" />
<xs:enumeration value="cmis:VersionSeriesCheckedOutBy" />
<xs:enumeration value="cmis:VersionSeriesCheckedOutId" />
<xs:enumeration value="cmis:CheckinComment" />
<xs:enumeration value="cmis:ContentStreamLength" />
<xs:enumeration value="cmis:ContentStreamMimeType" />
<xs:enumeration value="cmis:ContentStreamFileName" />
<xs:enumeration value="cmis:ContentStreamId" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="enumPropertiesFolder">
<xs:restriction base="xs:string">
<xs:enumeration value="cmis:ParentId" />
<xs:enumeration value="cmis:AllowedChildObjectTypeNames" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="enumPropertiesRelationship">
<xs:restriction base="xs:string">
<xs:enumeration value="cmis:SourceId" />
<xs:enumeration value="cmis:TargetId" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="enumPropertiesPolicy">
<xs:restriction base="xs:string">
<xs:enumeration value="cmis:PolicyText" />
</xs:restriction>
</xs:simpleType>
<xs:attributeGroup name="cmisUndefinedAttribute">
<xs:anyAttribute namespace="##other" processContents="lax" />
</xs:attributeGroup>
<xs:attribute name="href" type="xs:anyURI" />
<xs:complexType name="cmisObjectType">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="properties" type="cmis:cmisPropertiesType" />
<xs:element minOccurs="0" maxOccurs="1" ref="cmis:allowableActions" />
<xs:element minOccurs="0" maxOccurs="unbounded" name="relationship" type="cmis:cmisObjectType" />
<xs:element minOccurs="0" maxOccurs="unbounded" name="child" type="cmis:cmisObjectType">
<xs:annotation>
<xs:documentation>
This holds the children objects of this folder. This is used only in
the Web Service binding. In the REST/AtomPub binding, an atom
extension element is used.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="changeEventInfo" type="cmis:cmisChangeEventType" />
<xs:element minOccurs="0" maxOccurs="1" name="acl" type="cmis:cmisAccessControlListType" />
<xs:element minOccurs="0" maxOccurs="1" name="exactACL" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="unbounded" name="rendition" type="cmis:cmisRenditionType" />
<xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax" />
</xs:sequence>
<xs:attributeGroup ref="cmis:cmisUndefinedAttribute" />
</xs:complexType>
<xs:complexType name="cmisAnyXml">
<xs:sequence>
<xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax" />
</xs:sequence>
<xs:attributeGroup ref="cmis:cmisUndefinedAttribute" />
</xs:complexType>
<xs:attribute name="key" type="xs:string" />
<xs:attribute name="index" type="xs:integer" />
<xs:complexType name="cmisPropertiesType">
<xs:sequence>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:appinfo>
<jaxb:property name="property" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" />
</xs:appinfo>
</xs:annotation>
<xs:element name="propertyBoolean" nillable="true" type="cmis:cmisPropertyBoolean" />
<xs:element name="propertyId" nillable="true" type="cmis:cmisPropertyId" />
<xs:element name="propertyInteger" nillable="true" type="cmis:cmisPropertyInteger" />
<xs:element name="propertyDateTime" nillable="true" type="cmis:cmisPropertyDateTime" />
<xs:element name="propertyDecimal" nillable="true" type="cmis:cmisPropertyDecimal" />
<xs:element name="propertyHtml" nillable="true" type="cmis:cmisPropertyHtml" />
<xs:element name="propertyXhtml" nillable="true" type="cmis:cmisPropertyXhtml" />
<xs:element name="propertyString" nillable="true" type="cmis:cmisPropertyString" />
<xs:element name="propertyUri" nillable="true" type="cmis:cmisPropertyUri" />
<xs:element name="propertyXml" nillable="true" type="cmis:cmisPropertyXml" />
</xs:choice>
<xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax" />
</xs:sequence>
<xs:attributeGroup ref="cmis:cmisUndefinedAttribute" />
</xs:complexType>
<xs:complexType name="cmisProperty">
<xs:attribute name="pdid" use="required" />
<xs:attribute name="localname" use="optional" />
<xs:attribute name="displayname" use="optional" />
<xs:attributeGroup ref="cmis:cmisUndefinedAttribute" />
</xs:complexType>
<xs:complexType name="cmisPropertyBoolean">
<xs:complexContent mixed="false">
<xs:extension base="cmis:cmisProperty">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="value" type="xs:boolean" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="cmisPropertyId">
<xs:complexContent mixed="false">
<xs:extension base="cmis:cmisProperty">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="value" type="xs:string" />
</xs:sequence>
<xs:attribute ref="cmis:href" use="optional" />
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="cmisPropertyInteger">
<xs:complexContent mixed="false">
<xs:extension base="cmis:cmisProperty">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="value" type="xs:integer" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="cmisPropertyDateTime">
<xs:complexContent mixed="false">
<xs:extension base="cmis:cmisProperty">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="value" type="xs:dateTime" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="cmisPropertyDecimal">
<xs:complexContent mixed="false">
<xs:extension base="cmis:cmisProperty">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="value" type="xs:decimal" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="cmisPropertyHtml">
<xs:complexContent mixed="false">
<xs:extension base="cmis:cmisProperty">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="value">
<xs:complexType>
<xs:sequence>
<xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="cmisPropertyXhtml">
<xs:complexContent mixed="false">
<xs:extension base="cmis:cmisProperty">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="value">
<xs:complexType>
<xs:sequence>
<xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="cmisPropertyString">
<xs:complexContent mixed="false">
<xs:extension base="cmis:cmisProperty">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="value" type="xs:string" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="cmisPropertyUri">
<xs:complexContent mixed="false">
<xs:extension base="cmis:cmisProperty">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="value" type="xs:anyURI" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="cmisPropertyXml">
<xs:complexContent mixed="false">
<xs:extension base="cmis:cmisProperty">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="value">
<xs:complexType>
<xs:sequence>
<xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="cmisChoice">
<xs:attribute name="displayName" use="required" />
<xs:attributeGroup ref="cmis:cmisUndefinedAttribute" />
</xs:complexType>
<xs:complexType name="cmisChoiceBoolean">
<xs:complexContent mixed="false">
<xs:extension base="cmis:cmisChoice">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="value" type="xs:boolean" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="cmisChoiceId">
<xs:complexContent mixed="false">
<xs:extension base="cmis:cmisChoice">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="value" type="xs:string" />
</xs:sequence>
<xs:attribute ref="cmis:href" use="optional" />
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="cmisChoiceInteger">
<xs:complexContent mixed="false">
<xs:extension base="cmis:cmisChoice">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="value" type="xs:integer" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="cmisChoiceDateTime">
<xs:complexContent mixed="false">
<xs:extension base="cmis:cmisChoice">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="value" type="xs:dateTime" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="cmisChoiceDecimal">
<xs:complexContent mixed="false">
<xs:extension base="cmis:cmisChoice">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="value" type="xs:decimal" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="cmisChoiceHtml">
<xs:complexContent mixed="false">
<xs:extension base="cmis:cmisChoice">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="value">
<xs:complexType>
<xs:sequence>
<xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="cmisChoiceXhtml">
<xs:complexContent mixed="false">
<xs:extension base="cmis:cmisChoice">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="value">
<xs:complexType>
<xs:sequence>
<xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="cmisChoiceString">
<xs:complexContent mixed="false">
<xs:extension base="cmis:cmisChoice">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="value" type="xs:string" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="cmisChoiceUri">
<xs:complexContent mixed="false">
<xs:extension base="cmis:cmisChoice">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="value" type="xs:anyURI" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="cmisChoiceXml">
<xs:complexContent mixed="false">
<xs:extension base="cmis:cmisChoice">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="value">
<xs:complexType>
<xs:sequence>
<xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="cmisAllowableActionsType">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="canDeleteObject" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="canUpdateProperties" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="canGetProperties" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="canGetRelationships" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="canGetObjectParents" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="canGetFolderParent" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="canGetDescendants" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="canMoveObject" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="canDeleteContentStream" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="canCheckOut" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="canCancelCheckOut" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="canCheckIn" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="canSetContentStream" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="canGetAllVersions" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="canAddObjectToFolder" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="canRemoveObjectFromFolder" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="canGetContentStream" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="canApplyPolicy" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="canGetAppliedPolicies" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="canRemovePolicy" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="canGetChildren" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="canCreateDocument" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="canCreateFolder" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="canCreateRelationship" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="canCreatePolicy" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="canDeleteTree" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="canGetRenditions" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="canGetACL" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="canApplyACL" type="xs:boolean" />
<xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax" />
</xs:sequence>
<xs:attributeGroup ref="cmis:cmisUndefinedAttribute" />
</xs:complexType>
<xs:complexType name="cmisPropertyDefinitionType">
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="id" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="localName" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="localNamespace" type="xs:anyURI" />
<xs:element minOccurs="0" maxOccurs="1" name="displayName" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="queryName" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="description" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="propertyType" type="cmis:enumPropertyType" />
<xs:element minOccurs="1" maxOccurs="1" name="cardinality" type="cmis:enumCardinality" />
<xs:element minOccurs="1" maxOccurs="1" name="updatability" type="cmis:enumUpdatability" />
<xs:element minOccurs="0" maxOccurs="1" name="inherited" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="required" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="queryable" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="orderable" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="openChoice" type="xs:boolean" />
<xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax" />
</xs:sequence>
<xs:attributeGroup ref="cmis:cmisUndefinedAttribute" />
</xs:complexType>
<xs:complexType name="cmisPropertyBooleanDefinitionType">
<xs:complexContent mixed="false">
<xs:extension base="cmis:cmisPropertyDefinitionType">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="defaultValue" type="cmis:cmisPropertyBoolean" />
<xs:element minOccurs="0" maxOccurs="unbounded" name="choice" type="cmis:cmisChoiceBoolean" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="cmisPropertyIdDefinitionType">
<xs:complexContent mixed="false">
<xs:extension base="cmis:cmisPropertyDefinitionType">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="defaultValue" type="cmis:cmisPropertyId" />
<xs:element minOccurs="0" maxOccurs="unbounded" name="choice" type="cmis:cmisChoiceId" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="cmisPropertyIntegerDefinitionType">
<xs:complexContent mixed="false">
<xs:extension base="cmis:cmisPropertyDefinitionType">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="defaultValue" type="cmis:cmisPropertyInteger" />
<xs:element minOccurs="0" maxOccurs="1" name="maxValue" type="xs:integer" />
<xs:element minOccurs="0" maxOccurs="1" name="minValue" type="xs:integer" />
<xs:element minOccurs="0" maxOccurs="unbounded" name="choice" type="cmis:cmisChoiceInteger" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="cmisPropertyDateTimeDefinitionType">
<xs:complexContent mixed="false">
<xs:extension base="cmis:cmisPropertyDefinitionType">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="defaultValue" type="cmis:cmisPropertyDateTime" />
<xs:element minOccurs="0" maxOccurs="unbounded" name="choice" type="cmis:cmisChoiceDateTime" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="cmisPropertyDecimalDefinitionType">
<xs:complexContent mixed="false">
<xs:extension base="cmis:cmisPropertyDefinitionType">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="defaultValue" type="cmis:cmisPropertyDecimal" />
<xs:element minOccurs="0" maxOccurs="1" name="maxValue" type="xs:decimal" />
<xs:element minOccurs="0" maxOccurs="1" name="minValue" type="xs:decimal" />
<xs:element minOccurs="0" maxOccurs="1" name="precision" type="cmis:enumDecimalPrecision" />
<xs:element minOccurs="0" maxOccurs="unbounded" name="choice" type="cmis:cmisChoiceDecimal" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="cmisPropertyHtmlDefinitionType">
<xs:complexContent mixed="false">
<xs:extension base="cmis:cmisPropertyDefinitionType">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="defaultValue" type="cmis:cmisPropertyHtml" />
<xs:element minOccurs="0" maxOccurs="unbounded" name="choice" type="cmis:cmisChoiceHtml" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="cmisPropertyXhtmlDefinitionType">
<xs:complexContent mixed="false">
<xs:extension base="cmis:cmisPropertyDefinitionType">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="defaultValue" type="cmis:cmisPropertyXhtml" />
<xs:element minOccurs="0" maxOccurs="unbounded" name="choice" type="cmis:cmisChoiceXhtml" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="cmisPropertyStringDefinitionType">
<xs:complexContent mixed="false">
<xs:extension base="cmis:cmisPropertyDefinitionType">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="defaultValue" type="cmis:cmisPropertyString" />
<xs:element minOccurs="0" maxOccurs="1" name="maxLength" type="xs:integer" />
<xs:element minOccurs="0" maxOccurs="unbounded" name="choice" type="cmis:cmisChoiceString" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="cmisPropertyUriDefinitionType">
<xs:complexContent mixed="false">
<xs:extension base="cmis:cmisPropertyDefinitionType">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="defaultValue" type="cmis:cmisPropertyUri" />
<xs:element minOccurs="0" maxOccurs="unbounded" name="choice" type="cmis:cmisChoiceUri" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="cmisPropertyXmlDefinitionType">
<xs:complexContent mixed="false">
<xs:extension base="cmis:cmisPropertyDefinitionType">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="defaultValue" type="cmis:cmisPropertyXml" />
<xs:element minOccurs="0" maxOccurs="1" name="schemaURI" type="xs:anyURI" />
<xs:element minOccurs="0" maxOccurs="unbounded" name="choice" type="cmis:cmisChoiceXml" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="cmisTypeDefinitionType">
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="id" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="localName" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="localNamespace" type="xs:anyURI" />
<xs:element minOccurs="0" maxOccurs="1" name="displayName" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="queryName" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="description" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="baseTypeId" type="cmis:enumBaseObjectTypeIds" />
<xs:element minOccurs="0" maxOccurs="1" name="parentId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="creatable" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="fileable" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="queryable" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="fulltextindexed" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" default="true" name="includedInSupertypeQuery" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="controllablePolicy" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="controllableACL" type="xs:boolean" />
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:appinfo>
<jaxb:property name="propertyDefinition" />
</xs:appinfo>
</xs:annotation>
<xs:element name="propertyBooleanDefinition" type="cmis:cmisPropertyBooleanDefinitionType" />
<xs:element name="propertyDateTimeDefinition" type="cmis:cmisPropertyDateTimeDefinitionType" />
<xs:element name="propertyDecimalDefinition" type="cmis:cmisPropertyDecimalDefinitionType" />
<xs:element name="propertyIdDefinition" type="cmis:cmisPropertyIdDefinitionType" />
<xs:element name="propertyIntegerDefinition" type="cmis:cmisPropertyIntegerDefinitionType" />
<xs:element name="propertyHtmlDefinition" type="cmis:cmisPropertyHtmlDefinitionType" />
<xs:element name="propertyXhtmlDefinition" type="cmis:cmisPropertyXhtmlDefinitionType" />
<xs:element name="propertyStringDefinition" type="cmis:cmisPropertyStringDefinitionType" />
<xs:element name="propertyXmlDefinition" type="cmis:cmisPropertyXmlDefinitionType" />
<xs:element name="propertyUriDefinition" type="cmis:cmisPropertyUriDefinitionType" />
</xs:choice>
<xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax" />
</xs:sequence>
<xs:attributeGroup ref="cmis:cmisUndefinedAttribute" />
</xs:complexType>
<xs:complexType name="cmisTypeDocumentDefinitionType">
<xs:complexContent mixed="false">
<xs:extension base="cmis:cmisTypeDefinitionType">
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="versionable" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="contentStreamAllowed" type="cmis:enumContentStreamAllowed" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="cmisTypeFolderDefinitionType">
<xs:complexContent mixed="false">
<xs:extension base="cmis:cmisTypeDefinitionType">
<xs:sequence />
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="cmisTypeRelationshipDefinitionType">
<xs:complexContent mixed="false">
<xs:extension base="cmis:cmisTypeDefinitionType">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="allowedSourceTypes" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="unbounded" name="allowedTargetTypes" type="xs:string" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="cmisTypePolicyDefinitionType">
<xs:complexContent mixed="false">
<xs:extension base="cmis:cmisTypeDefinitionType">
<xs:sequence />
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="cmisQueryType">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="statement" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="searchAllVersions" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="maxItems" type="xs:integer" />
<xs:element minOccurs="0" maxOccurs="1" name="skipCount" type="xs:integer" />
<xs:element minOccurs="0" maxOccurs="1" name="includeAllowableActions" nillable="true" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="includeRelationships" nillable="true" type="cmis:enumIncludeRelationships" />
<xs:element minOccurs="0" maxOccurs="1" name="includeRenditions" nillable="true" type="xs:boolean" />
<xs:any minOccurs="1" maxOccurs="unbounded" namespace="##other" processContents="lax" />
</xs:sequence>
<xs:attributeGroup ref="cmis:cmisUndefinedAttribute" />
</xs:complexType>
<xs:complexType name="cmisRepositoryInfoType">
<xs:sequence minOccurs="1">
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="repositoryName" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="repositoryRelationship" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="repositoryDescription" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="vendorName" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="productName" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="productVersion" type="xs:string" />
<xs:element name="rootFolderId" type="xs:string" />
<xs:element name="latestChangeToken" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="capabilities" type="cmis:cmisRepositoryCapabilitiesType" />
<xs:element minOccurs="0" maxOccurs="1" name="aclCapability" type="cmis:cmisACLCapabilityType" />
<xs:element minOccurs="1" maxOccurs="1" name="cmisVersionSupported" type="xs:decimal" />
<xs:element minOccurs="0" maxOccurs="1" name="thinClientURI" type="xs:anyURI" />
<xs:element minOccurs="0" maxOccurs="1" name="changesIncomplete" type="xs:boolean" />
<xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax" />
</xs:sequence>
<xs:attributeGroup ref="cmis:cmisUndefinedAttribute" />
</xs:complexType>
<xs:complexType name="cmisRepositoryCapabilitiesType">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="capabilityACL" type="cmis:enumCapabilityACL" />
<xs:element minOccurs="1" maxOccurs="1" name="capabilityAllVersionsSearchable" type="xs:boolean" />
<xs:element name="capabilityChanges" type="cmis:enumCapabilityChanges" />
<xs:element minOccurs="1" maxOccurs="unbounded" name="capabilityChangesOnType" type="cmis:enumBaseObjectTypeIds" />
<xs:element minOccurs="1" maxOccurs="1" name="capabilityContentStreamUpdatability" type="cmis:enumCapabilityContentStreamUpdates" />
<xs:element minOccurs="1" maxOccurs="1" name="capabilityGetDescendants" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="capabilityMultifiling" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="capabilityPWCSearchable" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="capabilityPWCUpdateable" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="capabilityQuery" type="cmis:enumCapabilityQuery" />
<xs:element minOccurs="1" maxOccurs="1" name="capabilityRenditions" type="cmis:enumCapabilityRendition" />
<xs:element minOccurs="1" maxOccurs="1" name="capabilityUnfiling" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="capabilityVersionSpecificFiling" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="capabilityJoin" type="cmis:enumCapabilityJoin" />
<xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="skip" />
</xs:sequence>
<xs:attributeGroup ref="cmis:cmisUndefinedAttribute" />
</xs:complexType>
<xs:simpleType name="enumTypeOfChanges">
<xs:restriction base="xs:string">
<xs:enumeration value="created" />
<xs:enumeration value="updated" />
<xs:enumeration value="deleted" />
<xs:enumeration value="security" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="enumCapabilityChanges">
<xs:restriction base="xs:string">
<xs:enumeration value="none" />
<xs:enumeration value="objectIdsOnly" />
<xs:enumeration value="properties" />
<xs:enumeration value="all" />
</xs:restriction>
</xs:simpleType>
<xs:complexType name="cmisChangeEventType">
<xs:sequence>
<xs:element name="changeType" type="cmis:enumTypeOfChanges" />
<xs:element name="changeTime" type="xs:dateTime" />
<xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax" />
</xs:sequence>
</xs:complexType>
<xs:simpleType name="enumACLPropagation">
<xs:restriction base="xs:string">
<xs:enumeration value="repository-determined" />
<xs:enumeration value="object-only" />
<xs:enumeration value="propagate" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="enumCapabilityACL">
<xs:restriction base="xs:string">
<xs:enumeration value="none" />
<xs:enumeration value="discover" />
<xs:enumeration value="manage" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="enumBasicPermissions">
<xs:restriction base="xs:string">
<xs:enumeration value="cmis:read" />
<xs:enumeration value="cmis:write" />
<xs:enumeration value="cmis:delete" />
<xs:enumeration value="cmis:all" />
</xs:restriction>
</xs:simpleType>
<xs:complexType name="cmisPermissionDefinition">
<xs:sequence>
<xs:element name="permission" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="description" type="xs:string" />
<xs:any maxOccurs="unbounded" namespace="##other" processContents="lax" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="cmisPermissionMapping">
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="key" type="cmis:enumAllowableActionsKey" />
<xs:element minOccurs="1" maxOccurs="1" name="permission" type="xs:string" />
<xs:any namespace="##other" />
</xs:sequence>
</xs:complexType>
<xs:simpleType name="enumAllowableActionsKey">
<xs:restriction base="xs:string">
<xs:enumeration value="canGetDescendents.Folder" />
<xs:enumeration value="canGetChildren.Folder" />
<xs:enumeration value="canGetParents.Folder" />
<xs:enumeration value="canGetFolderParent.Object" />
<xs:enumeration value="canCreateDocument.Type" />
<xs:enumeration value="canCreateDocument.Folder" />
<xs:enumeration value="canCreateFolder.Type" />
<xs:enumeration value="canCreateFolder.Folder" />
<xs:enumeration value="canCreateRelationship.Type" />
<xs:enumeration value="canCreateRelationship.Source" />
<xs:enumeration value="canCreateRelationship.Target" />
<xs:enumeration value="canCreatePolicy.Type" />
<xs:enumeration value="canGetProperties.Object" />
<xs:enumeration value="canViewContent.Object" />
<xs:enumeration value="canUpdateProperties.Object" />
<xs:enumeration value="canMove.Object" />
<xs:enumeration value="canMove.Target" />
<xs:enumeration value="canMove.Source" />
<xs:enumeration value="canDelete.Object" />
<xs:enumeration value="canDeleteTree.Folder" />
<xs:enumeration value="canSetContent.Document" />
<xs:enumeration value="canDeleteContent.Document" />
<xs:enumeration value="canAddToFolder.Object" />
<xs:enumeration value="canAddToFolder.Folder" />
<xs:enumeration value="canRemoveFromFolder.Object" />
<xs:enumeration value="canRemoveFromFolder.Folder" />
<xs:enumeration value="canCheckout.Document" />
<xs:enumeration value="canCancelCheckout.Document" />
<xs:enumeration value="canCheckin.Document" />
<xs:enumeration value="canGetAllVersions.VersionSeries" />
<xs:enumeration value="canGetRelationship.Object" />
<xs:enumeration value="canAddPolicy.Object" />
<xs:enumeration value="canAddPolicy.Policy" />
<xs:enumeration value="canRemovePolicy.Object" />
<xs:enumeration value="canRemovePolicy.Policy" />
<xs:enumeration value="canGetAppliedPolicies.Object" />
<xs:enumeration value="canGetACL.Object" />
<xs:enumeration value="canApplyACL.Object" />
</xs:restriction>
</xs:simpleType>
<xs:complexType name="cmisAccessControlPrincipalType">
<xs:sequence>
<xs:element name="principalId" type="xs:string" />
<xs:any maxOccurs="unbounded" namespace="##other" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="cmisAccessControlEntryType">
<xs:sequence>
<xs:element name="principal" type="cmis:cmisAccessControlPrincipalType" />
<xs:element name="permission" type="xs:string" />
<xs:element name="direct" type="xs:boolean" />
<xs:any maxOccurs="unbounded" namespace="##other" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="cmisAccessControlListType">
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="unbounded" name="permission" type="cmis:cmisAccessControlEntryType" />
<xs:any maxOccurs="unbounded" namespace="##other" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="cmisACLCapabilityType">
<xs:sequence>
<xs:element name="setType" type="cmis:enumACLPropagation" />
<xs:element minOccurs="1" maxOccurs="unbounded" name="permissions" type="cmis:cmisPermissionDefinition" />
<xs:element minOccurs="0" maxOccurs="unbounded" name="mapping" type="cmis:cmisPermissionMapping" />
</xs:sequence>
</xs:complexType>
<xs:simpleType name="enumCapabilityRendition">
<xs:restriction base="xs:string">
<xs:enumeration value="none" />
<xs:enumeration value="read" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="enumRenditionKind">
<xs:restriction base="xs:string">
<xs:enumeration value="cmis:thumbnail" />
</xs:restriction>
</xs:simpleType>
<xs:complexType name="cmisRenditionType">
<xs:sequence>
<xs:element name="streamId" type="xs:string" />
<xs:element minOccurs="0" name="mimetype" type="xs:string" />
<xs:element minOccurs="0" name="length" type="xs:integer" />
<xs:element minOccurs="0" name="title" type="xs:string" />
<xs:element minOccurs="0" name="kind" type="xs:string" />
<xs:element minOccurs="0" name="height" type="xs:integer" />
<xs:element minOccurs="0" name="width" type="xs:integer" />
<xs:element minOccurs="0" name="renditionDocumentId" type="xs:string" />
<xs:any namespace="##other" />
</xs:sequence>
</xs:complexType>
<xs:element name="allowableActions" type="cmis:cmisAllowableActionsType">
<xs:annotation>
<xs:documentation>
This is the root tag for a CMIS AllowableActions
Document Type
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="query" type="cmis:cmisQueryType">
<xs:annotation>
<xs:documentation>
This is the root tag for a CMIS Query Document Type
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="acl" type="cmis:cmisAccessControlListType">
<xs:annotation>
<xs:documentation>
This is the root tag for a CMIS ACL Document Type
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:schema>

View File

@@ -0,0 +1,782 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200901" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:cmism="http://docs.oasis-open.org/ns/cmis/messaging/200901" elementFormDefault="qualified" targetNamespace="http://docs.oasis-open.org/ns/cmis/messaging/200901" version="0.62g" jaxb:extensionBindingPrefixes="xjc" jaxb:version="2.1" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import schemaLocation="CMIS-Core.xsd" namespace="http://docs.oasis-open.org/ns/cmis/core/200901" />
<xs:complexType name="cmisFaultType">
<xs:sequence>
<xs:element name="type" type="cmism:enumServiceException" />
<xs:element name="code" type="xs:integer" />
<xs:element name="message" type="xs:string" />
<xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other" />
</xs:sequence>
</xs:complexType>
<xs:element name="cmisFault" type="cmism:cmisFaultType" />
<xs:simpleType name="enumServiceException">
<xs:restriction base="xs:string">
<xs:enumeration value="constraint" />
<xs:enumeration value="contentAlreadyExists" />
<xs:enumeration value="filterNotValid" />
<xs:enumeration value="invalidArgument" />
<xs:enumeration value="notSupported" />
<xs:enumeration value="objectNotFound" />
<xs:enumeration value="permissionDenied" />
<xs:enumeration value="runtime" />
<xs:enumeration value="storage" />
<xs:enumeration value="streamNotSupported" />
<xs:enumeration value="type" />
<xs:enumeration value="updateConflict" />
<xs:enumeration value="versioning" />
</xs:restriction>
</xs:simpleType>
<xs:complexType name="cmisTypeContainer">
<xs:sequence>
<xs:element name="type" type="cmis:cmisTypeDefinitionType" />
<xs:element minOccurs="0" maxOccurs="unbounded" name="children" type="cmism:cmisTypeContainer" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="cmisRepositoryEntryType">
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="id" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="name" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="relationship" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="thinClientURI" type="xs:anyURI" />
<xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax" />
</xs:sequence>
<xs:attributeGroup ref="cmis:cmisUndefinedAttribute" />
</xs:complexType>
<xs:complexType name="cmisContentStreamType">
<xs:sequence>
<xs:element name="length" type="xs:integer" />
<xs:element minOccurs="0" name="mimeType" type="xs:string" />
<xs:element minOccurs="0" name="filename" type="xs:string" />
<xs:element minOccurs="0" name="uri" type="xs:anyURI" />
<xs:element xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmime:expectedContentTypes="application/octet-stream" name="stream" type="xs:base64Binary" />
<xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax" />
</xs:sequence>
<xs:attributeGroup ref="cmis:cmisUndefinedAttribute" />
</xs:complexType>
<xs:element name="getRepositories">
<xs:complexType>
<xs:sequence />
</xs:complexType>
</xs:element>
<xs:element name="getRepositoriesResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="repository" nillable="true" type="cmism:cmisRepositoryEntryType" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getRepositoryInfo">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getRepositoryInfoResponse">
<xs:complexType>
<xs:sequence>
<xs:element name="repositoryInfo" type="cmis:cmisRepositoryInfoType" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getTypeChildren">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="typeId" nillable="true" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="includePropertyDefinitions" nillable="true" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="maxItems" nillable="true" type="xs:integer" />
<xs:element minOccurs="0" maxOccurs="1" name="skipCount" nillable="true" type="xs:integer" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getTypeChildrenResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="type" type="cmis:cmisTypeDefinitionType" />
<xs:element minOccurs="1" maxOccurs="1" name="hasMoreItems" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getTypeDescendants">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="typeId" nillable="true" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="depth" nillable="true" type="xs:integer" />
<xs:element minOccurs="0" maxOccurs="1" name="includePropertyDefinitions" nillable="true" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getTypeDescendantsResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="type" type="cmism:cmisTypeContainer" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getTypeDefinition">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="typeId" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getTypeDefinitionResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="type" type="cmis:cmisTypeDefinitionType" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getDescendants">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="folderId" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="depth" nillable="true" type="xs:integer" />
<xs:element minOccurs="0" maxOccurs="1" name="filter" nillable="true" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="includeAllowableActions" nillable="true" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="includeRelationships" nillable="true" type="cmis:enumIncludeRelationships" />
<xs:element minOccurs="0" maxOccurs="1" name="includeRenditions" nillable="true" type="xs:boolean" />
<xs:element minOccurs="0" name="orderBy" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getDescendantsResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="object" type="cmis:cmisObjectType" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getFolderTree">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="folderId" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="filter" nillable="true" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="depth" nillable="true" type="xs:integer" />
<xs:element minOccurs="0" maxOccurs="1" name="includeAllowableActions" nillable="true" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="includeRelationships" nillable="true" type="cmis:enumIncludeRelationships" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getFolderTreeResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="object" type="cmis:cmisObjectType" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getChildren">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="folderId" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="filter" nillable="true" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="includeAllowableActions" nillable="true" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="includeRelationships" nillable="true" type="cmis:enumIncludeRelationships" />
<xs:element minOccurs="0" maxOccurs="1" name="includeRenditions" nillable="true" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="includeACL" nillable="true" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="maxItems" nillable="true" type="xs:integer" />
<xs:element minOccurs="0" maxOccurs="1" name="skipCount" nillable="true" type="xs:integer" />
<xs:element minOccurs="0" name="orderBy" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getChildrenResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="object" type="cmis:cmisObjectType" />
<xs:element minOccurs="1" maxOccurs="1" name="hasMoreItems" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getFolderParent">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="folderId" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="filter" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getFolderParentResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="object" type="cmis:cmisObjectType" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getObjectParents">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="objectId" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="filter" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getObjectParentsResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="object" type="cmis:cmisObjectType" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getRenditions">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="objectId" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="renditionFilter" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="maxItems" nillable="true" type="xs:integer" />
<xs:element minOccurs="0" maxOccurs="1" name="skipCount" nillable="true" type="xs:integer" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getRenditionsResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="rendition" type="cmis:cmisRenditionType" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getCheckedOutDocs">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="folderId" nillable="true" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="filter" nillable="true" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="orderBy" nillable="true" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="includeAllowableActions" nillable="true" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="includeRelationships" nillable="true" type="cmis:enumIncludeRelationships" />
<xs:element minOccurs="0" maxOccurs="1" name="maxItems" nillable="true" type="xs:integer" />
<xs:element minOccurs="0" maxOccurs="1" name="skipCount" nillable="true" type="xs:integer" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getCheckedOutDocsResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="object" type="cmis:cmisObjectType" />
<xs:element minOccurs="1" maxOccurs="1" name="hasMoreItems" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="createDocument">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="properties" type="cmis:cmisPropertiesType" />
<xs:element minOccurs="0" maxOccurs="1" name="folderId" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="contentStream" nillable="true" type="cmism:cmisContentStreamType" />
<xs:element minOccurs="0" maxOccurs="1" name="versioningState" nillable="true" type="cmis:enumVersioningState" />
<xs:element minOccurs="0" maxOccurs="unbounded" name="applyPolicies" nillable="true" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="addACEs" nillable="true" type="cmis:cmisAccessControlListType" />
<xs:element minOccurs="0" maxOccurs="1" name="removeACEs" nillable="true" type="cmis:cmisAccessControlListType" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="createDocumentResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="objectId" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="createFolder">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="properties" type="cmis:cmisPropertiesType" />
<xs:element minOccurs="1" maxOccurs="1" name="folderId" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="unbounded" name="applyPolicies" nillable="true" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="addACEs" nillable="true" type="cmis:cmisAccessControlListType" />
<xs:element minOccurs="0" maxOccurs="1" name="removeACEs" nillable="true" type="cmis:cmisAccessControlListType" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="createFolderResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="objectId" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="createRelationship">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="properties" type="cmis:cmisPropertiesType" />
<xs:element minOccurs="1" maxOccurs="1" name="sourceObjectId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="targetObjectId" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="unbounded" name="applyPolicies" nillable="true" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="addACEs" nillable="true" type="cmis:cmisAccessControlListType" />
<xs:element minOccurs="0" maxOccurs="1" name="removeACEs" nillable="true" type="cmis:cmisAccessControlListType" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="createRelationshipResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="objectId" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="createPolicy">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="properties" type="cmis:cmisPropertiesType" />
<xs:element minOccurs="0" maxOccurs="1" name="folderId" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="createPolicyResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="objectId" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getAllowableActions">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="objectId" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getAllowableActionsResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="allowableActions" type="cmis:cmisAllowableActionsType" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getProperties">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="objectId" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="filter" nillable="true" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="includeAllowableActions" nillable="true" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="includeRelationships" nillable="true" type="cmis:enumIncludeRelationships" />
<xs:element minOccurs="0" maxOccurs="1" name="includeACL" nillable="true" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getPropertiesResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="object" type="cmis:cmisObjectType" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getFolderByPath">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="folderPath" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="filter" nillable="true" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="includeAllowableActions" nillable="true" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="includeRelationships" nillable="true" type="cmis:enumIncludeRelationships" />
<xs:element minOccurs="0" maxOccurs="1" name="includeACL" nillable="true" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getFolderByPathResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="object" type="cmis:cmisObjectType" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getContentStream">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="documentId" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="streamId" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getContentStreamResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="contentStream" type="cmism:cmisContentStreamType" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="updateProperties">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="objectId" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="changeToken" nillable="true" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="properties" type="cmis:cmisPropertiesType" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="updatePropertiesResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="objectId" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="changeToken" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="moveObject">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="objectId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="targetFolderId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="sourceFolderId" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="moveObjectResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="objectId" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteObject">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="objectId" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="allVersions" nillable="true" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteObjectResponse">
<xs:complexType>
<xs:sequence />
</xs:complexType>
</xs:element>
<xs:element name="deleteTree">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="folderId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="unfileObject" type="cmis:enumUnfileObject" />
<xs:element minOccurs="0" maxOccurs="1" name="continueOnFailure" nillable="true" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteTreeResponse">
<xs:complexType>
<xs:sequence>
<xs:element name="failedToDelete">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="objectId" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="setContentStream">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="documentId" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="overwriteFlag" nillable="true" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="changeToken" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="contentStream" type="cmism:cmisContentStreamType" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="setContentStreamResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="documentId" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteContentStream">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="documentId" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="changeToken" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteContentStreamResponse">
<xs:complexType>
<xs:sequence>
<xs:element name="documentId" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="addObjectToFolder">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="objectId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="folderId" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="addObjectToFolderResponse">
<xs:complexType>
<xs:sequence />
</xs:complexType>
</xs:element>
<xs:element name="removeObjectFromFolder">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="objectId" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="folderId" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="removeObjectFromFolderResponse">
<xs:complexType>
<xs:sequence />
</xs:complexType>
</xs:element>
<xs:element name="query">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="statement" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="searchAllVersions" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="maxItems" type="xs:integer" />
<xs:element minOccurs="0" maxOccurs="1" name="skipCount" type="xs:integer" />
<xs:element minOccurs="0" maxOccurs="1" name="includeAllowableActions" nillable="true" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="includeRelationships" nillable="true" type="cmis:enumIncludeRelationships" />
<xs:element minOccurs="0" maxOccurs="1" name="includeRenditions" nillable="true" type="xs:boolean" />
</xs:sequence>
<xs:attributeGroup ref="cmis:cmisUndefinedAttribute" />
</xs:complexType>
</xs:element>
<xs:element name="queryResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="object" type="cmis:cmisObjectType" />
<xs:element minOccurs="1" maxOccurs="1" name="hasMoreItems" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getContentChanges">
<xs:complexType>
<xs:sequence>
<xs:element name="repositoryId" type="xs:string" />
<xs:element minOccurs="0" name="changeToken" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="maxItems" nillable="true" type="xs:integer" />
<xs:element minOccurs="0" maxOccurs="1" name="includeACL" nillable="true" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="includeProperties" nillable="true" type="xs:boolean" />
<xs:element minOccurs="0" name="filter" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getContentChangesResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="changedObject" nillable="true" type="cmis:cmisObjectType" />
<xs:element name="changeToken" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="checkOut">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="documentId" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="checkOutResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="documentId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="contentCopied" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="cancelCheckOut">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="documentId" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="cancelCheckOutResponse">
<xs:complexType>
<xs:sequence />
</xs:complexType>
</xs:element>
<xs:element name="checkIn">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="documentId" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="major" nillable="true" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="properties" nillable="true" type="cmis:cmisPropertiesType" />
<xs:element minOccurs="0" maxOccurs="1" name="contentStream" nillable="true" type="cmism:cmisContentStreamType" />
<xs:element minOccurs="0" maxOccurs="1" name="checkinComment" nillable="true" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="unbounded" name="applyPolicies" nillable="true" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="addACEs" nillable="true" type="cmis:cmisAccessControlListType" />
<xs:element minOccurs="0" maxOccurs="1" name="removeACEs" nillable="true" type="cmis:cmisAccessControlListType" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="checkInResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="documentId" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getPropertiesOfLatestVersion">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="versionSeriesId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="major" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="filter" nillable="true" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="includeACL" nillable="true" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getPropertiesOfLatestVersionResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="object" type="cmis:cmisObjectType" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getAllVersions">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="versionSeriesId" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="filter" nillable="true" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="includeAllowableActions" nillable="true" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="includeRelationships" nillable="true" type="cmis:enumIncludeRelationships" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getAllVersionsResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="object" type="cmis:cmisObjectType" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getRelationships">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="objectId" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="direction" nillable="true" type="cmis:enumRelationshipDirection" />
<xs:element minOccurs="0" maxOccurs="1" name="typeId" nillable="true" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="includeSubRelationshipTypes" nillable="true" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="filter" nillable="true" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="includeAllowableActions" nillable="true" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="includeRelationships" nillable="true" type="cmis:enumIncludeRelationships" />
<xs:element minOccurs="0" maxOccurs="1" name="maxItems" nillable="true" type="xs:integer" />
<xs:element minOccurs="0" maxOccurs="1" name="skipCount" nillable="true" type="xs:integer" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getRelationshipsResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="object" type="cmis:cmisObjectType" />
<xs:element minOccurs="1" maxOccurs="1" name="hasMoreItems" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="applyPolicy">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="policyId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="objectId" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="applyPolicyResponse">
<xs:complexType>
<xs:sequence />
</xs:complexType>
</xs:element>
<xs:element name="removePolicy">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="policyId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="objectId" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="removePolicyResponse">
<xs:complexType>
<xs:sequence />
</xs:complexType>
</xs:element>
<xs:element name="getAppliedPolicies">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="objectId" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="filter" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getAppliedPoliciesResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="object" type="cmis:cmisObjectType" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getACL">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="objectId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="onlyBasicPermissions" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getACLResponse">
<xs:complexType>
<xs:sequence>
<xs:element name="acl" type="cmis:cmisAccessControlListType" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="applyACL">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="repositoryId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="objectId" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="addACEs" type="cmis:cmisAccessControlListType" />
<xs:element minOccurs="1" maxOccurs="1" name="removeACEs" type="cmis:cmisAccessControlListType" />
<xs:element minOccurs="0" maxOccurs="1" name="propogationType" nillable="true" type="cmis:enumACLPropagation" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="applyACLResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="unbounded" name="ACL" type="cmis:cmisAccessControlListType" />
<xs:element name="exact" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="4a3c557b-a8ba-4621-9a5e-c690f67090f4" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap">
<ClientOptions>
<GenerateAsynchronousMethods>false</GenerateAsynchronousMethods>
<EnableDataBinding>true</EnableDataBinding>
<ExcludedTypes />
<ImportXmlTypes>false</ImportXmlTypes>
<GenerateInternalTypes>false</GenerateInternalTypes>
<GenerateMessageContracts>false</GenerateMessageContracts>
<NamespaceMappings />
<CollectionMappings />
<GenerateSerializableTypes>true</GenerateSerializableTypes>
<Serializer>Auto</Serializer>
<ReferenceAllAssemblies>true</ReferenceAllAssemblies>
<ReferencedAssemblies />
<ReferencedDataContractTypes />
<ServiceContractMappings />
</ClientOptions>
<MetadataSources>
<MetadataSource Address="D:\java\eclipse\workspace\WS-Binding-062f\source\wsdl\CMISWS-Service.wsdl" Protocol="file" SourceId="1" />
</MetadataSources>
<Metadata>
<MetadataFile FileName="CMISWebServices.wsdl" MetadataType="Wsdl" ID="f59d91c9-6c5a-4290-b94d-cb2183bbaa6e" SourceId="1" SourceUrl="file:///D:/java/eclipse/workspace/WS-Binding-062f/source/wsdl/CMISWS-Service.wsdl" />
<MetadataFile FileName="CMIS-Core.xsd" MetadataType="Schema" ID="685b1f15-3921-42f6-a839-6c2837ee5213" SourceId="1" SourceUrl="file:///D:/java/eclipse/workspace/WS-Binding-062f/source/wsdl/CMIS-Core.xsd" />
<MetadataFile FileName="xml.xsd" MetadataType="Schema" ID="f913b66c-8e40-4455-8cbe-51370ac16079" SourceId="1" SourceUrl="file:///D:/java/eclipse/workspace/WS-Binding-062f/source/wsdl/xml.xsd" />
<MetadataFile FileName="CMIS-Messaging.xsd" MetadataType="Schema" ID="7fc77d40-3e61-4ce3-97ae-98607c7f656c" SourceId="1" SourceUrl="file:///D:/java/eclipse/workspace/WS-Binding-062f/source/wsdl/CMIS-Messaging.xsd" />
</Metadata>
<Extensions>
<ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" />
<ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" />
</Extensions>
</ReferenceGroup>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is automatically generated by Visual Studio .Net. It is
used to store generic object data source configuration information.
Renaming the file extension or editing the content of this file may
cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="cmisAccessControlListType" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>WcfCmisWSTests.CmisServices.cmisAccessControlListType</TypeInfo>
</GenericObjectDataSource>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is automatically generated by Visual Studio .Net. It is
used to store generic object data source configuration information.
Renaming the file extension or editing the content of this file may
cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="cmisAllowableActionsType" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>WcfCmisWSTests.CmisServices.cmisAllowableActionsType</TypeInfo>
</GenericObjectDataSource>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is automatically generated by Visual Studio .Net. It is
used to store generic object data source configuration information.
Renaming the file extension or editing the content of this file may
cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="cmisContentStreamType" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>WcfCmisWSTests.CmisServices.cmisContentStreamType</TypeInfo>
</GenericObjectDataSource>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is automatically generated by Visual Studio .Net. It is
used to store generic object data source configuration information.
Renaming the file extension or editing the content of this file may
cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="cmisObjectType" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>WcfCmisWSTests.CmisServices.cmisObjectType</TypeInfo>
</GenericObjectDataSource>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is automatically generated by Visual Studio .Net. It is
used to store generic object data source configuration information.
Renaming the file extension or editing the content of this file may
cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="cmisRenditionType" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>WcfCmisWSTests.CmisServices.cmisRenditionType</TypeInfo>
</GenericObjectDataSource>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is automatically generated by Visual Studio .Net. It is
used to store generic object data source configuration information.
Renaming the file extension or editing the content of this file may
cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="cmisRepositoryEntryType" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>WcfCmisWSTests.CmisServices.cmisRepositoryEntryType</TypeInfo>
</GenericObjectDataSource>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is automatically generated by Visual Studio .Net. It is
used to store generic object data source configuration information.
Renaming the file extension or editing the content of this file may
cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="cmisRepositoryInfoType" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>WcfCmisWSTests.CmisServices.cmisRepositoryInfoType</TypeInfo>
</GenericObjectDataSource>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is automatically generated by Visual Studio .Net. It is
used to store generic object data source configuration information.
Renaming the file extension or editing the content of this file may
cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="cmisTypeContainer" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>WcfCmisWSTests.CmisServices.cmisTypeContainer</TypeInfo>
</GenericObjectDataSource>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is automatically generated by Visual Studio .Net. It is
used to store generic object data source configuration information.
Renaming the file extension or editing the content of this file may
cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="cmisTypeDefinitionType" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>WcfCmisWSTests.CmisServices.cmisTypeDefinitionType</TypeInfo>
</GenericObjectDataSource>

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot">
<behaviors />
<bindings>
<binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data hostNameComparisonMode=&quot;StrongWildcard&quot; maxBufferSize=&quot;65536&quot; messageEncoding=&quot;Text&quot; name=&quot;DiscoveryServicePortBinding&quot; textEncoding=&quot;utf-8&quot; transferMode=&quot;Buffered&quot;&gt;&lt;readerQuotas maxArrayLength=&quot;16384&quot; maxBytesPerRead=&quot;4096&quot; maxDepth=&quot;32&quot; maxNameTableCharCount=&quot;16384&quot; maxStringContentLength=&quot;8192&quot; /&gt;&lt;security mode=&quot;None&quot;&gt;&lt;message algorithmSuite=&quot;Default&quot; clientCredentialType=&quot;UserName&quot; /&gt;&lt;transport clientCredentialType=&quot;None&quot; proxyCredentialType=&quot;None&quot; realm=&quot;&quot; /&gt;&lt;/security&gt;&lt;/Data&gt;" bindingType="basicHttpBinding" name="DiscoveryServicePortBinding" />
<binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data hostNameComparisonMode=&quot;StrongWildcard&quot; maxBufferSize=&quot;65536&quot; messageEncoding=&quot;Text&quot; name=&quot;MultiFilingServicePortBinding&quot; textEncoding=&quot;utf-8&quot; transferMode=&quot;Buffered&quot;&gt;&lt;readerQuotas maxArrayLength=&quot;16384&quot; maxBytesPerRead=&quot;4096&quot; maxDepth=&quot;32&quot; maxNameTableCharCount=&quot;16384&quot; maxStringContentLength=&quot;8192&quot; /&gt;&lt;security mode=&quot;None&quot;&gt;&lt;message algorithmSuite=&quot;Default&quot; clientCredentialType=&quot;UserName&quot; /&gt;&lt;transport clientCredentialType=&quot;None&quot; proxyCredentialType=&quot;None&quot; realm=&quot;&quot; /&gt;&lt;/security&gt;&lt;/Data&gt;" bindingType="basicHttpBinding" name="MultiFilingServicePortBinding" />
<binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data hostNameComparisonMode=&quot;StrongWildcard&quot; maxBufferSize=&quot;65536&quot; messageEncoding=&quot;Text&quot; name=&quot;NavigationServicePortBinding&quot; textEncoding=&quot;utf-8&quot; transferMode=&quot;Buffered&quot;&gt;&lt;readerQuotas maxArrayLength=&quot;16384&quot; maxBytesPerRead=&quot;4096&quot; maxDepth=&quot;32&quot; maxNameTableCharCount=&quot;16384&quot; maxStringContentLength=&quot;8192&quot; /&gt;&lt;security mode=&quot;None&quot;&gt;&lt;message algorithmSuite=&quot;Default&quot; clientCredentialType=&quot;UserName&quot; /&gt;&lt;transport clientCredentialType=&quot;None&quot; proxyCredentialType=&quot;None&quot; realm=&quot;&quot; /&gt;&lt;/security&gt;&lt;/Data&gt;" bindingType="basicHttpBinding" name="NavigationServicePortBinding" />
<binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data hostNameComparisonMode=&quot;StrongWildcard&quot; maxBufferSize=&quot;65536&quot; messageEncoding=&quot;Text&quot; name=&quot;ObjectServicePortBinding&quot; textEncoding=&quot;utf-8&quot; transferMode=&quot;Buffered&quot;&gt;&lt;readerQuotas maxArrayLength=&quot;16384&quot; maxBytesPerRead=&quot;4096&quot; maxDepth=&quot;32&quot; maxNameTableCharCount=&quot;16384&quot; maxStringContentLength=&quot;8192&quot; /&gt;&lt;security mode=&quot;None&quot;&gt;&lt;message algorithmSuite=&quot;Default&quot; clientCredentialType=&quot;UserName&quot; /&gt;&lt;transport clientCredentialType=&quot;None&quot; proxyCredentialType=&quot;None&quot; realm=&quot;&quot; /&gt;&lt;/security&gt;&lt;/Data&gt;" bindingType="basicHttpBinding" name="ObjectServicePortBinding" />
<binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data hostNameComparisonMode=&quot;StrongWildcard&quot; maxBufferSize=&quot;65536&quot; messageEncoding=&quot;Text&quot; name=&quot;PolicyServicePortBinding&quot; textEncoding=&quot;utf-8&quot; transferMode=&quot;Buffered&quot;&gt;&lt;readerQuotas maxArrayLength=&quot;16384&quot; maxBytesPerRead=&quot;4096&quot; maxDepth=&quot;32&quot; maxNameTableCharCount=&quot;16384&quot; maxStringContentLength=&quot;8192&quot; /&gt;&lt;security mode=&quot;None&quot;&gt;&lt;message algorithmSuite=&quot;Default&quot; clientCredentialType=&quot;UserName&quot; /&gt;&lt;transport clientCredentialType=&quot;None&quot; proxyCredentialType=&quot;None&quot; realm=&quot;&quot; /&gt;&lt;/security&gt;&lt;/Data&gt;" bindingType="basicHttpBinding" name="PolicyServicePortBinding" />
<binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data hostNameComparisonMode=&quot;StrongWildcard&quot; maxBufferSize=&quot;65536&quot; messageEncoding=&quot;Text&quot; name=&quot;RelationshipServicePortBinding&quot; textEncoding=&quot;utf-8&quot; transferMode=&quot;Buffered&quot;&gt;&lt;readerQuotas maxArrayLength=&quot;16384&quot; maxBytesPerRead=&quot;4096&quot; maxDepth=&quot;32&quot; maxNameTableCharCount=&quot;16384&quot; maxStringContentLength=&quot;8192&quot; /&gt;&lt;security mode=&quot;None&quot;&gt;&lt;message algorithmSuite=&quot;Default&quot; clientCredentialType=&quot;UserName&quot; /&gt;&lt;transport clientCredentialType=&quot;None&quot; proxyCredentialType=&quot;None&quot; realm=&quot;&quot; /&gt;&lt;/security&gt;&lt;/Data&gt;" bindingType="basicHttpBinding" name="RelationshipServicePortBinding" />
<binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data hostNameComparisonMode=&quot;StrongWildcard&quot; maxBufferSize=&quot;65536&quot; messageEncoding=&quot;Text&quot; name=&quot;RepositoryServicePortBinding&quot; textEncoding=&quot;utf-8&quot; transferMode=&quot;Buffered&quot;&gt;&lt;readerQuotas maxArrayLength=&quot;16384&quot; maxBytesPerRead=&quot;4096&quot; maxDepth=&quot;32&quot; maxNameTableCharCount=&quot;16384&quot; maxStringContentLength=&quot;8192&quot; /&gt;&lt;security mode=&quot;None&quot;&gt;&lt;message algorithmSuite=&quot;Default&quot; clientCredentialType=&quot;UserName&quot; /&gt;&lt;transport clientCredentialType=&quot;None&quot; proxyCredentialType=&quot;None&quot; realm=&quot;&quot; /&gt;&lt;/security&gt;&lt;/Data&gt;" bindingType="basicHttpBinding" name="RepositoryServicePortBinding" />
<binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data hostNameComparisonMode=&quot;StrongWildcard&quot; maxBufferSize=&quot;65536&quot; messageEncoding=&quot;Text&quot; name=&quot;VersioningServicePortBinding&quot; textEncoding=&quot;utf-8&quot; transferMode=&quot;Buffered&quot;&gt;&lt;readerQuotas maxArrayLength=&quot;16384&quot; maxBytesPerRead=&quot;4096&quot; maxDepth=&quot;32&quot; maxNameTableCharCount=&quot;16384&quot; maxStringContentLength=&quot;8192&quot; /&gt;&lt;security mode=&quot;None&quot;&gt;&lt;message algorithmSuite=&quot;Default&quot; clientCredentialType=&quot;UserName&quot; /&gt;&lt;transport clientCredentialType=&quot;None&quot; proxyCredentialType=&quot;None&quot; realm=&quot;&quot; /&gt;&lt;/security&gt;&lt;/Data&gt;" bindingType="basicHttpBinding" name="VersioningServicePortBinding" />
<binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data hostNameComparisonMode=&quot;StrongWildcard&quot; maxBufferSize=&quot;65536&quot; messageEncoding=&quot;Text&quot; name=&quot;ACLServicePortBinding&quot; textEncoding=&quot;utf-8&quot; transferMode=&quot;Buffered&quot;&gt;&lt;readerQuotas maxArrayLength=&quot;16384&quot; maxBytesPerRead=&quot;4096&quot; maxDepth=&quot;32&quot; maxNameTableCharCount=&quot;16384&quot; maxStringContentLength=&quot;8192&quot; /&gt;&lt;security mode=&quot;None&quot;&gt;&lt;message algorithmSuite=&quot;Default&quot; clientCredentialType=&quot;UserName&quot; /&gt;&lt;transport clientCredentialType=&quot;None&quot; proxyCredentialType=&quot;None&quot; realm=&quot;&quot; /&gt;&lt;/security&gt;&lt;/Data&gt;" bindingType="basicHttpBinding" name="ACLServicePortBinding" />
</bindings>
<endpoints>
<endpoint normalizedDigest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://cmis/services/DiscoveryService.DiscoveryServicePort&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;DiscoveryServicePortBinding&quot; contract=&quot;CmisServices.DiscoveryServicePort&quot; name=&quot;DiscoveryServicePort1&quot; /&gt;" digest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://cmis/services/DiscoveryService.DiscoveryServicePort&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;DiscoveryServicePortBinding&quot; contract=&quot;CmisServices.DiscoveryServicePort&quot; name=&quot;DiscoveryServicePort1&quot; /&gt;" contractName="CmisServices.DiscoveryServicePort" name="DiscoveryServicePort1" />
<endpoint normalizedDigest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://cmis/services/MultiFilingService.MultiFilingServicePort&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;MultiFilingServicePortBinding&quot; contract=&quot;CmisServices.MultiFilingServicePort&quot; name=&quot;MultiFilingServicePort1&quot; /&gt;" digest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://cmis/services/MultiFilingService.MultiFilingServicePort&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;MultiFilingServicePortBinding&quot; contract=&quot;CmisServices.MultiFilingServicePort&quot; name=&quot;MultiFilingServicePort1&quot; /&gt;" contractName="CmisServices.MultiFilingServicePort" name="MultiFilingServicePort1" />
<endpoint normalizedDigest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://cmis/services/NavigationService.NavigationServicePort&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;NavigationServicePortBinding&quot; contract=&quot;CmisServices.NavigationServicePort&quot; name=&quot;NavigationServicePort1&quot; /&gt;" digest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://cmis/services/NavigationService.NavigationServicePort&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;NavigationServicePortBinding&quot; contract=&quot;CmisServices.NavigationServicePort&quot; name=&quot;NavigationServicePort1&quot; /&gt;" contractName="CmisServices.NavigationServicePort" name="NavigationServicePort1" />
<endpoint normalizedDigest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://cmis/services/ObjectService.ObjectServicePort&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;ObjectServicePortBinding&quot; contract=&quot;CmisServices.ObjectServicePort&quot; name=&quot;ObjectServicePort1&quot; /&gt;" digest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://cmis/services/ObjectService.ObjectServicePort&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;ObjectServicePortBinding&quot; contract=&quot;CmisServices.ObjectServicePort&quot; name=&quot;ObjectServicePort1&quot; /&gt;" contractName="CmisServices.ObjectServicePort" name="ObjectServicePort1" />
<endpoint normalizedDigest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://cmis/services/PolicyService.PolicyServicePort&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;PolicyServicePortBinding&quot; contract=&quot;CmisServices.PolicyServicePort&quot; name=&quot;PolicyServicePort&quot; /&gt;" digest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://cmis/services/PolicyService.PolicyServicePort&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;PolicyServicePortBinding&quot; contract=&quot;CmisServices.PolicyServicePort&quot; name=&quot;PolicyServicePort&quot; /&gt;" contractName="CmisServices.PolicyServicePort" name="PolicyServicePort" />
<endpoint normalizedDigest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://cmis/services/RelationshipService.RelationshipServicePort&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;RelationshipServicePortBinding&quot; contract=&quot;CmisServices.RelationshipServicePort&quot; name=&quot;RelationshipServicePort1&quot; /&gt;" digest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://cmis/services/RelationshipService.RelationshipServicePort&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;RelationshipServicePortBinding&quot; contract=&quot;CmisServices.RelationshipServicePort&quot; name=&quot;RelationshipServicePort1&quot; /&gt;" contractName="CmisServices.RelationshipServicePort" name="RelationshipServicePort1" />
<endpoint normalizedDigest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://cmis/services/RepositoryService.RepositoryServicePort&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;RepositoryServicePortBinding&quot; contract=&quot;CmisServices.RepositoryServicePort&quot; name=&quot;RepositoryServicePort1&quot; /&gt;" digest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://cmis/services/RepositoryService.RepositoryServicePort&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;RepositoryServicePortBinding&quot; contract=&quot;CmisServices.RepositoryServicePort&quot; name=&quot;RepositoryServicePort1&quot; /&gt;" contractName="CmisServices.RepositoryServicePort" name="RepositoryServicePort1" />
<endpoint normalizedDigest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://cmis/services/VersioningService.VersioningServicePort&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;VersioningServicePortBinding&quot; contract=&quot;CmisServices.VersioningServicePort&quot; name=&quot;VersioningServicePort1&quot; /&gt;" digest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://cmis/services/VersioningService.VersioningServicePort&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;VersioningServicePortBinding&quot; contract=&quot;CmisServices.VersioningServicePort&quot; name=&quot;VersioningServicePort1&quot; /&gt;" contractName="CmisServices.VersioningServicePort" name="VersioningServicePort1" />
<endpoint normalizedDigest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://cmis/services/ACLService.ACLServicePort&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;ACLServicePortBinding&quot; contract=&quot;CmisServices.ACLServicePort&quot; name=&quot;ACLServicePort&quot; /&gt;" digest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://cmis/services/ACLService.ACLServicePort&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;ACLServicePortBinding&quot; contract=&quot;CmisServices.ACLServicePort&quot; name=&quot;ACLServicePort&quot; /&gt;" contractName="CmisServices.ACLServicePort" name="ACLServicePort" />
</endpoints>
</configurationSnapshot>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<xsd:schema targetNamespace="http://www.w3.org/XML/1998/namespace" xml:lang="en" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:attribute name="lang">
<xsd:simpleType>
<xsd:union memberTypes="xsd:language">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="" />
</xsd:restriction>
</xsd:simpleType>
</xsd:union>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="space">
<xsd:simpleType>
<xsd:restriction base="xsd:NCName">
<xsd:enumeration value="default" />
<xsd:enumeration value="preserve" />
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="base" type="xsd:anyURI">
<xsd:annotation>
<xsd:documentation>See http://www.w3.org/TR/xmlbase/ for
information about this attribute.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="id" type="xsd:ID">
<xsd:annotation>
<xsd:documentation>See http://www.w3.org/TR/xml-id/ for
information about this attribute.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attributeGroup name="specialAttrs">
<xsd:attribute ref="xml:base" />
<xsd:attribute ref="xml:lang" />
<xsd:attribute ref="xml:space" />
<xsd:attribute ref="xml:id" />
</xsd:attributeGroup>
</xsd:schema>

View File

@@ -2,37 +2,34 @@
<configuration> <configuration>
<system.serviceModel> <system.serviceModel>
<bindings> <bindings>
<basicHttpBinding> <basicHttpBinding>
<binding name="RepositoryServiceSoapBinding" messageEncoding="Text"> <binding name="RepositoryServiceSoapBinding" messageEncoding="Text">
<security mode="TransportWithMessageCredential"> <security mode="TransportWithMessageCredential">
<transport /> <message clientCredentialType="UserName" />
<message clientCredentialType="UserName" /> </security>
</security> </binding>
</binding> <binding name="NavigationServiceSoapBinding" messageEncoding="Text" maxReceivedMessageSize="1000000000">
<binding name="NavigationServiceSoapBinding" messageEncoding="Text"> <security mode="TransportWithMessageCredential">
<security mode="TransportWithMessageCredential"> <message clientCredentialType="UserName" />
<transport /> </security>
<message clientCredentialType="UserName" /> </binding>
</security> <binding name="ObjectServiceSoapBinding" messageEncoding="Mtom">
</binding> <security mode="TransportWithMessageCredential">
<binding name="ObjectServiceSoapBinding" messageEncoding="Mtom"> <message clientCredentialType="UserName" />
<security mode="TransportWithMessageCredential"> </security>
<transport /> </binding>
<message clientCredentialType="UserName" /> </basicHttpBinding>
</security>
</binding>
</basicHttpBinding>
</bindings> </bindings>
<client> <client>
<endpoint address="https://localhost:8443/alfresco/cmis/RepositoryService" <endpoint address="https://localhost:8443/alfresco/cmis/RepositoryService"
binding="basicHttpBinding" bindingConfiguration="RepositoryServiceSoapBinding" binding="basicHttpBinding" bindingConfiguration="RepositoryServiceSoapBinding"
contract="RepositoryServicePort" name="RepositoryServicePort" /> contract="CmisServices.RepositoryServicePort" name="RepositoryServicePort" />
<endpoint address="https://localhost:8443/alfresco/cmis/NavigationService" <endpoint address="https://localhost:8443/alfresco/cmis/NavigationService"
binding="basicHttpBinding" bindingConfiguration="NavigationServiceSoapBinding" binding="basicHttpBinding" bindingConfiguration="NavigationServiceSoapBinding"
contract="NavigationServicePort" name="NavigationServicePort" /> contract="CmisServices.NavigationServicePort" name="NavigationServicePort" />
<endpoint address="https://localhost:8443/alfresco/cmis/ObjectService" <endpoint address="https://localhost:8443/alfresco/cmis/ObjectService"
binding="basicHttpBinding" bindingConfiguration="ObjectServiceSoapBinding" binding="basicHttpBinding" bindingConfiguration="ObjectServiceSoapBinding"
contract="ObjectServicePort" name="ObjectServicePort" /> contract="CmisServices.ObjectServicePort" name="ObjectServicePort" />
</client> </client>
</system.serviceModel> </system.serviceModel>
</configuration> </configuration>