CMIS-WS .NET tests

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@12874 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Logneon
2009-01-23 10:30:06 +00:00
parent dedef025d6
commit eaccbb3bf9
95 changed files with 63712 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("WcfCmisWSTests")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("WcfCmisWSTests")]
[assembly: AssemblyCopyright("Copyright © 2008")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("2afbaa7c-3738-498d-9553-5baf710e38d5")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

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="XmlElement" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>System.Xml.XmlElement, System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</TypeInfo>
</GenericObjectDataSource>

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,46 @@
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:tns="http://www.cmis.org/ns/1.0" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:ns1="http://www.cmis.org/2008/05" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://cxf.apache.org/bindings/xformat" name="DiscoveryService" targetNamespace="http://www.cmis.org/ns/1.0" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:import namespace="http://www.cmis.org/2008/05" location="https://localhost:8443/alfresco/cmis/DiscoveryService?wsdl=DiscoveryServicePort.wsdl" />
<wsdl:types />
<wsdl:message name="query">
<wsdl:part name="parameters" element="ns1:query" />
</wsdl:message>
<wsdl:message name="queryResponse">
<wsdl:part name="parameters" element="ns1:queryResponse" />
</wsdl:message>
<wsdl:binding name="DiscoveryServiceSoapBinding" type="ns1:DiscoveryServicePort">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="query">
<soap:operation soapAction="" style="document" />
<wsdl:input name="query">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="queryResponse">
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="InvalidArgumentException">
<soap:fault use="literal" name="InvalidArgumentException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ConstraintViolationException">
<soap:fault use="literal" name="ConstraintViolationException" namespace="" />
</wsdl:fault>
<wsdl:fault name="RuntimeException">
<soap:fault use="literal" name="RuntimeException" namespace="" />
</wsdl:fault>
<wsdl:fault name="UpdateConflictException">
<soap:fault use="literal" name="UpdateConflictException" namespace="" />
</wsdl:fault>
<wsdl:fault name="OperationNotSupportedException">
<soap:fault use="literal" name="OperationNotSupportedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="PermissionDeniedException">
<soap:fault use="literal" name="PermissionDeniedException" namespace="" />
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="DiscoveryService">
<wsdl:port name="DiscoveryServicePort" binding="tns:DiscoveryServiceSoapBinding">
<soap:address location="https://localhost:8443/alfresco/cmis/DiscoveryService" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,30 @@
<?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="9bd52d87-d5db-443c-9da3-de470189b5f2" 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="https://localhost:8443/alfresco/cmis/DiscoveryService?wsdl" Protocol="http" SourceId="1" />
</MetadataSources>
<Metadata>
<MetadataFile FileName="DiscoveryServicePort.wsdl" MetadataType="Wsdl" ID="5e176a38-1b86-4bf5-8d4f-4523b44173d2" SourceId="1" SourceUrl="https://localhost:8443/alfresco/cmis/DiscoveryService?wsdl=DiscoveryServicePort.wsdl" />
<MetadataFile FileName="DiscoveryService.wsdl" MetadataType="Wsdl" ID="ad1471a8-bb3f-4d31-bacb-b80c634bb038" SourceId="1" SourceUrl="https://localhost:8443/alfresco/cmis/DiscoveryService?wsdl" />
</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="cmisObjectType" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>WcfCmisWSTests.DiscoveryService.cmisObjectType, Service References.DiscoveryService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</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>WcfTestClient.DiscoveryService.cmisObjectType, Service References.DiscoveryService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

View File

@@ -0,0 +1,11 @@
<?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;DiscoveryServiceSoapBinding&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;Transport&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="DiscoveryServiceSoapBinding" />
<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;DiscoveryServiceSoapBinding1&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="DiscoveryServiceSoapBinding1" />
</bindings>
<endpoints>
<endpoint normalizedDigest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;https://localhost:8443/alfresco/cmis/DiscoveryService&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;DiscoveryServiceSoapBinding&quot; contract=&quot;DiscoveryService.DiscoveryServicePort&quot; name=&quot;DiscoveryServicePort&quot; /&gt;" digest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;https://localhost:8443/alfresco/cmis/DiscoveryService&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;DiscoveryServiceSoapBinding&quot; contract=&quot;DiscoveryService.DiscoveryServicePort&quot; name=&quot;DiscoveryServicePort&quot; /&gt;" contractName="DiscoveryService.DiscoveryServicePort" name="DiscoveryServicePort" />
</endpoints>
</configurationSnapshot>

View File

@@ -0,0 +1,280 @@
<?xml version="1.0" encoding="utf-8"?>
<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="DzNjxXbb+zZlyjHXv+uvkbq5Xcc=">
<bindingConfigurations>
<bindingConfiguration bindingType="basicHttpBinding" name="DiscoveryServiceSoapBinding">
<properties>
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>DiscoveryServiceSoapBinding</serializedValue>
</property>
<property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:10:00</serializedValue>
</property>
<property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>StrongWildcard</serializedValue>
</property>
<property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>65536</serializedValue>
</property>
<property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>524288</serializedValue>
</property>
<property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>65536</serializedValue>
</property>
<property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Text</serializedValue>
</property>
<property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue>
</property>
<property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>32</serializedValue>
</property>
<property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>8192</serializedValue>
</property>
<property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>16384</serializedValue>
</property>
<property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>4096</serializedValue>
</property>
<property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>16384</serializedValue>
</property>
<property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue>
</property>
<property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Transport</serializedValue>
</property>
<property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue>
</property>
<property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue>
</property>
<property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>UserName</serializedValue>
</property>
<property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Basic256</serializedValue>
</property>
<property path="/textEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.Text.UTF8Encoding</serializedValue>
</property>
<property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Buffered</serializedValue>
</property>
<property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>True</serializedValue>
</property>
</properties>
</bindingConfiguration>
<bindingConfiguration bindingType="basicHttpBinding" name="DiscoveryServiceSoapBinding1">
<properties>
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>DiscoveryServiceSoapBinding1</serializedValue>
</property>
<property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:10:00</serializedValue>
</property>
<property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>StrongWildcard</serializedValue>
</property>
<property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>65536</serializedValue>
</property>
<property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>524288</serializedValue>
</property>
<property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>65536</serializedValue>
</property>
<property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Text</serializedValue>
</property>
<property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue>
</property>
<property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>32</serializedValue>
</property>
<property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>8192</serializedValue>
</property>
<property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>16384</serializedValue>
</property>
<property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>4096</serializedValue>
</property>
<property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>16384</serializedValue>
</property>
<property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue>
</property>
<property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue>
</property>
<property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue>
</property>
<property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>UserName</serializedValue>
</property>
<property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Basic256</serializedValue>
</property>
<property path="/textEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.Text.UTF8Encoding</serializedValue>
</property>
<property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Buffered</serializedValue>
</property>
<property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>True</serializedValue>
</property>
</properties>
</bindingConfiguration>
</bindingConfigurations>
<endpoints>
<endpoint name="DiscoveryServicePort" contract="DiscoveryService.DiscoveryServicePort" bindingType="basicHttpBinding" address="https://localhost:8443/alfresco/cmis/DiscoveryService" bindingConfiguration="DiscoveryServiceSoapBinding">
<properties>
<property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>https://localhost:8443/alfresco/cmis/DiscoveryService</serializedValue>
</property>
<property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>basicHttpBinding</serializedValue>
</property>
<property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>DiscoveryServiceSoapBinding</serializedValue>
</property>
<property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>DiscoveryService.DiscoveryServicePort</serializedValue>
</property>
<property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue>
</property>
<property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>&lt;Header /&gt;</serializedValue>
</property>
<property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue>
</property>
<property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue>
</property>
<property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue>
</property>
<property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue>
</property>
<property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue>
</property>
<property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue>
</property>
<property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue>
</property>
<property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>My</serializedValue>
</property>
<property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>LocalMachine</serializedValue>
</property>
<property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>FindBySubjectDistinguishedName</serializedValue>
</property>
<property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>DiscoveryServicePort</serializedValue>
</property>
</properties>
</endpoint>
</endpoints>
</SavedWcfConfigurationInformation>

View File

@@ -0,0 +1,94 @@
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:tns="http://www.cmis.org/ns/1.0" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:ns1="http://www.cmis.org/2008/05" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://cxf.apache.org/bindings/xformat" name="MultiFilingService" targetNamespace="http://www.cmis.org/ns/1.0" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:import namespace="http://www.cmis.org/2008/05" location="https://localhost:8443/alfresco/cmis/MultiFilingService?wsdl=MultiFilingServicePort.wsdl" />
<wsdl:types />
<wsdl:message name="addObjectToFolder">
<wsdl:part name="parameters" element="ns1:addObjectToFolder" />
</wsdl:message>
<wsdl:message name="removeObjectFromFolder">
<wsdl:part name="parameters" element="ns1:removeObjectFromFolder" />
</wsdl:message>
<wsdl:message name="removeObjectFromFolderResponse">
<wsdl:part name="parameters" element="ns1:removeObjectFromFolderResponse" />
</wsdl:message>
<wsdl:message name="addObjectToFolderResponse">
<wsdl:part name="parameters" element="ns1:addObjectToFolderResponse" />
</wsdl:message>
<wsdl:binding name="MultiFilingServiceSoapBinding" type="ns1:MultiFilingServicePort">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="removeObjectFromFolder">
<soap:operation soapAction="" style="document" />
<wsdl:input name="removeObjectFromFolder">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="removeObjectFromFolderResponse">
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="InvalidArgumentException">
<soap:fault use="literal" name="InvalidArgumentException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ConstraintViolationException">
<soap:fault use="literal" name="ConstraintViolationException" namespace="" />
</wsdl:fault>
<wsdl:fault name="RuntimeException">
<soap:fault use="literal" name="RuntimeException" namespace="" />
</wsdl:fault>
<wsdl:fault name="UpdateConflictException">
<soap:fault use="literal" name="UpdateConflictException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ObjectNotFoundException">
<soap:fault use="literal" name="ObjectNotFoundException" namespace="" />
</wsdl:fault>
<wsdl:fault name="NotInFolderException">
<soap:fault use="literal" name="NotInFolderException" namespace="" />
</wsdl:fault>
<wsdl:fault name="OperationNotSupportedException">
<soap:fault use="literal" name="OperationNotSupportedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="PermissionDeniedException">
<soap:fault use="literal" name="PermissionDeniedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="FolderNotValidException">
<soap:fault use="literal" name="FolderNotValidException" namespace="" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="addObjectToFolder">
<soap:operation soapAction="" style="document" />
<wsdl:input name="addObjectToFolder">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="addObjectToFolderResponse">
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="InvalidArgumentException">
<soap:fault use="literal" name="InvalidArgumentException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ConstraintViolationException">
<soap:fault use="literal" name="ConstraintViolationException" namespace="" />
</wsdl:fault>
<wsdl:fault name="RuntimeException">
<soap:fault use="literal" name="RuntimeException" namespace="" />
</wsdl:fault>
<wsdl:fault name="UpdateConflictException">
<soap:fault use="literal" name="UpdateConflictException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ObjectNotFoundException">
<soap:fault use="literal" name="ObjectNotFoundException" namespace="" />
</wsdl:fault>
<wsdl:fault name="OperationNotSupportedException">
<soap:fault use="literal" name="OperationNotSupportedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="PermissionDeniedException">
<soap:fault use="literal" name="PermissionDeniedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="FolderNotValidException">
<soap:fault use="literal" name="FolderNotValidException" namespace="" />
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="MultiFilingService">
<wsdl:port name="MultiFilingServicePort" binding="tns:MultiFilingServiceSoapBinding">
<soap:address location="https://localhost:8443/alfresco/cmis/MultiFilingService" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

View File

@@ -0,0 +1,418 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.3053
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace WcfTestClient.MultiFilingService {
using System.Runtime.Serialization;
using System;
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="cmisFaultType", Namespace="http://www.cmis.org/2008/05")]
[System.SerializableAttribute()]
[System.Runtime.Serialization.KnownTypeAttribute(typeof(WcfTestClient.MultiFilingService.notInFolderExceptionType))]
[System.Runtime.Serialization.KnownTypeAttribute(typeof(WcfTestClient.MultiFilingService.operationNotSupportedExceptionType))]
[System.Runtime.Serialization.KnownTypeAttribute(typeof(WcfTestClient.MultiFilingService.permissionDeniedExceptionType))]
[System.Runtime.Serialization.KnownTypeAttribute(typeof(WcfTestClient.MultiFilingService.storageExceptionType))]
[System.Runtime.Serialization.KnownTypeAttribute(typeof(WcfTestClient.MultiFilingService.offsetExceptionType))]
[System.Runtime.Serialization.KnownTypeAttribute(typeof(WcfTestClient.MultiFilingService.constraintViolationExceptionType))]
[System.Runtime.Serialization.KnownTypeAttribute(typeof(WcfTestClient.MultiFilingService.versioningExceptionType))]
[System.Runtime.Serialization.KnownTypeAttribute(typeof(WcfTestClient.MultiFilingService.filterNotValidExceptionType))]
[System.Runtime.Serialization.KnownTypeAttribute(typeof(WcfTestClient.MultiFilingService.typeNotFoundExceptionType))]
[System.Runtime.Serialization.KnownTypeAttribute(typeof(WcfTestClient.MultiFilingService.updateConflictExceptionType))]
[System.Runtime.Serialization.KnownTypeAttribute(typeof(WcfTestClient.MultiFilingService.folderNotValidExceptionType))]
[System.Runtime.Serialization.KnownTypeAttribute(typeof(WcfTestClient.MultiFilingService.objectNotFoundExceptionType))]
[System.Runtime.Serialization.KnownTypeAttribute(typeof(WcfTestClient.MultiFilingService.streamNotSupportedExceptionType))]
[System.Runtime.Serialization.KnownTypeAttribute(typeof(WcfTestClient.MultiFilingService.runtimeExceptionType))]
[System.Runtime.Serialization.KnownTypeAttribute(typeof(WcfTestClient.MultiFilingService.contentAlreadyExistsExceptionType))]
[System.Runtime.Serialization.KnownTypeAttribute(typeof(WcfTestClient.MultiFilingService.invalidArgumentExceptionType))]
public partial class cmisFaultType : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
[System.NonSerializedAttribute()]
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
private long errorCodeField;
private string errorMessageField;
[global::System.ComponentModel.BrowsableAttribute(false)]
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
get {
return this.extensionDataField;
}
set {
this.extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
public long errorCode {
get {
return this.errorCodeField;
}
set {
if ((this.errorCodeField.Equals(value) != true)) {
this.errorCodeField = value;
this.RaisePropertyChanged("errorCode");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, EmitDefaultValue=false)]
public string errorMessage {
get {
return this.errorMessageField;
}
set {
if ((object.ReferenceEquals(this.errorMessageField, value) != true)) {
this.errorMessageField = value;
this.RaisePropertyChanged("errorMessage");
}
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="notInFolderExceptionType", Namespace="http://www.cmis.org/2008/05")]
[System.SerializableAttribute()]
public partial class notInFolderExceptionType : WcfTestClient.MultiFilingService.cmisFaultType {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="operationNotSupportedExceptionType", Namespace="http://www.cmis.org/2008/05")]
[System.SerializableAttribute()]
public partial class operationNotSupportedExceptionType : WcfTestClient.MultiFilingService.cmisFaultType {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="permissionDeniedExceptionType", Namespace="http://www.cmis.org/2008/05")]
[System.SerializableAttribute()]
public partial class permissionDeniedExceptionType : WcfTestClient.MultiFilingService.cmisFaultType {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="storageExceptionType", Namespace="http://www.cmis.org/2008/05")]
[System.SerializableAttribute()]
public partial class storageExceptionType : WcfTestClient.MultiFilingService.cmisFaultType {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="offsetExceptionType", Namespace="http://www.cmis.org/2008/05")]
[System.SerializableAttribute()]
public partial class offsetExceptionType : WcfTestClient.MultiFilingService.cmisFaultType {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="constraintViolationExceptionType", Namespace="http://www.cmis.org/2008/05")]
[System.SerializableAttribute()]
public partial class constraintViolationExceptionType : WcfTestClient.MultiFilingService.cmisFaultType {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="versioningExceptionType", Namespace="http://www.cmis.org/2008/05")]
[System.SerializableAttribute()]
public partial class versioningExceptionType : WcfTestClient.MultiFilingService.cmisFaultType {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="filterNotValidExceptionType", Namespace="http://www.cmis.org/2008/05")]
[System.SerializableAttribute()]
public partial class filterNotValidExceptionType : WcfTestClient.MultiFilingService.cmisFaultType {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="typeNotFoundExceptionType", Namespace="http://www.cmis.org/2008/05")]
[System.SerializableAttribute()]
public partial class typeNotFoundExceptionType : WcfTestClient.MultiFilingService.cmisFaultType {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="updateConflictExceptionType", Namespace="http://www.cmis.org/2008/05")]
[System.SerializableAttribute()]
public partial class updateConflictExceptionType : WcfTestClient.MultiFilingService.cmisFaultType {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="folderNotValidExceptionType", Namespace="http://www.cmis.org/2008/05")]
[System.SerializableAttribute()]
public partial class folderNotValidExceptionType : WcfTestClient.MultiFilingService.cmisFaultType {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="objectNotFoundExceptionType", Namespace="http://www.cmis.org/2008/05")]
[System.SerializableAttribute()]
public partial class objectNotFoundExceptionType : WcfTestClient.MultiFilingService.cmisFaultType {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="streamNotSupportedExceptionType", Namespace="http://www.cmis.org/2008/05")]
[System.SerializableAttribute()]
public partial class streamNotSupportedExceptionType : WcfTestClient.MultiFilingService.cmisFaultType {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="runtimeExceptionType", Namespace="http://www.cmis.org/2008/05")]
[System.SerializableAttribute()]
public partial class runtimeExceptionType : WcfTestClient.MultiFilingService.cmisFaultType {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="contentAlreadyExistsExceptionType", Namespace="http://www.cmis.org/2008/05")]
[System.SerializableAttribute()]
public partial class contentAlreadyExistsExceptionType : WcfTestClient.MultiFilingService.cmisFaultType {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="invalidArgumentExceptionType", Namespace="http://www.cmis.org/2008/05")]
[System.SerializableAttribute()]
public partial class invalidArgumentExceptionType : WcfTestClient.MultiFilingService.cmisFaultType {
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(Namespace="http://www.cmis.org/2008/05", ConfigurationName="MultiFilingService.MultiFilingServicePort")]
public interface MultiFilingServicePort {
// CODEGEN: Generating message contract since element name repositoryId from namespace http://www.cmis.org/2008/05 is not marked nillable
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
[System.ServiceModel.FaultContractAttribute(typeof(WcfTestClient.MultiFilingService.invalidArgumentExceptionType), Action="", Name="invalidArgumentException")]
[System.ServiceModel.FaultContractAttribute(typeof(WcfTestClient.MultiFilingService.constraintViolationExceptionType), Action="", Name="constraintViolationException")]
[System.ServiceModel.FaultContractAttribute(typeof(WcfTestClient.MultiFilingService.runtimeExceptionType), Action="", Name="runtimeException")]
[System.ServiceModel.FaultContractAttribute(typeof(WcfTestClient.MultiFilingService.updateConflictExceptionType), Action="", Name="updateConflictException")]
[System.ServiceModel.FaultContractAttribute(typeof(WcfTestClient.MultiFilingService.objectNotFoundExceptionType), Action="", Name="objectNotFoundException")]
[System.ServiceModel.FaultContractAttribute(typeof(WcfTestClient.MultiFilingService.notInFolderExceptionType), Action="", Name="notInFolderException")]
[System.ServiceModel.FaultContractAttribute(typeof(WcfTestClient.MultiFilingService.operationNotSupportedExceptionType), Action="", Name="operationNotSupportedException")]
[System.ServiceModel.FaultContractAttribute(typeof(WcfTestClient.MultiFilingService.permissionDeniedExceptionType), Action="", Name="permissionDeniedException")]
[System.ServiceModel.FaultContractAttribute(typeof(WcfTestClient.MultiFilingService.folderNotValidExceptionType), Action="", Name="folderNotValidException")]
WcfTestClient.MultiFilingService.removeObjectFromFolderResponse removeObjectFromFolder(WcfTestClient.MultiFilingService.removeObjectFromFolder request);
// CODEGEN: Generating message contract since element name repositoryId from namespace http://www.cmis.org/2008/05 is not marked nillable
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
[System.ServiceModel.FaultContractAttribute(typeof(WcfTestClient.MultiFilingService.invalidArgumentExceptionType), Action="", Name="invalidArgumentException")]
[System.ServiceModel.FaultContractAttribute(typeof(WcfTestClient.MultiFilingService.constraintViolationExceptionType), Action="", Name="constraintViolationException")]
[System.ServiceModel.FaultContractAttribute(typeof(WcfTestClient.MultiFilingService.runtimeExceptionType), Action="", Name="runtimeException")]
[System.ServiceModel.FaultContractAttribute(typeof(WcfTestClient.MultiFilingService.updateConflictExceptionType), Action="", Name="updateConflictException")]
[System.ServiceModel.FaultContractAttribute(typeof(WcfTestClient.MultiFilingService.objectNotFoundExceptionType), Action="", Name="objectNotFoundException")]
[System.ServiceModel.FaultContractAttribute(typeof(WcfTestClient.MultiFilingService.operationNotSupportedExceptionType), Action="", Name="operationNotSupportedException")]
[System.ServiceModel.FaultContractAttribute(typeof(WcfTestClient.MultiFilingService.permissionDeniedExceptionType), Action="", Name="permissionDeniedException")]
[System.ServiceModel.FaultContractAttribute(typeof(WcfTestClient.MultiFilingService.folderNotValidExceptionType), Action="", Name="folderNotValidException")]
WcfTestClient.MultiFilingService.addObjectToFolderResponse addObjectToFolder(WcfTestClient.MultiFilingService.addObjectToFolder request);
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
public partial class removeObjectFromFolder {
[System.ServiceModel.MessageBodyMemberAttribute(Name="removeObjectFromFolder", Namespace="http://www.cmis.org/2008/05", Order=0)]
public WcfTestClient.MultiFilingService.removeObjectFromFolderBody Body;
public removeObjectFromFolder() {
}
public removeObjectFromFolder(WcfTestClient.MultiFilingService.removeObjectFromFolderBody Body) {
this.Body = Body;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Namespace="http://www.cmis.org/2008/05")]
public partial class removeObjectFromFolderBody {
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
public string repositoryId;
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)]
public string objectId;
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)]
public string folderId;
public removeObjectFromFolderBody() {
}
public removeObjectFromFolderBody(string repositoryId, string objectId, string folderId) {
this.repositoryId = repositoryId;
this.objectId = objectId;
this.folderId = folderId;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
public partial class removeObjectFromFolderResponse {
[System.ServiceModel.MessageBodyMemberAttribute(Name="removeObjectFromFolderResponse", Namespace="http://www.cmis.org/2008/05", Order=0)]
public WcfTestClient.MultiFilingService.removeObjectFromFolderResponseBody Body;
public removeObjectFromFolderResponse() {
}
public removeObjectFromFolderResponse(WcfTestClient.MultiFilingService.removeObjectFromFolderResponseBody Body) {
this.Body = Body;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute()]
public partial class removeObjectFromFolderResponseBody {
public removeObjectFromFolderResponseBody() {
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
public partial class addObjectToFolder {
[System.ServiceModel.MessageBodyMemberAttribute(Name="addObjectToFolder", Namespace="http://www.cmis.org/2008/05", Order=0)]
public WcfTestClient.MultiFilingService.addObjectToFolderBody Body;
public addObjectToFolder() {
}
public addObjectToFolder(WcfTestClient.MultiFilingService.addObjectToFolderBody Body) {
this.Body = Body;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Namespace="http://www.cmis.org/2008/05")]
public partial class addObjectToFolderBody {
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
public string repositoryId;
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)]
public string objectId;
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)]
public string folderId;
public addObjectToFolderBody() {
}
public addObjectToFolderBody(string repositoryId, string objectId, string folderId) {
this.repositoryId = repositoryId;
this.objectId = objectId;
this.folderId = folderId;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
public partial class addObjectToFolderResponse {
[System.ServiceModel.MessageBodyMemberAttribute(Name="addObjectToFolderResponse", Namespace="http://www.cmis.org/2008/05", Order=0)]
public WcfTestClient.MultiFilingService.addObjectToFolderResponseBody Body;
public addObjectToFolderResponse() {
}
public addObjectToFolderResponse(WcfTestClient.MultiFilingService.addObjectToFolderResponseBody Body) {
this.Body = Body;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute()]
public partial class addObjectToFolderResponseBody {
public addObjectToFolderResponseBody() {
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
public interface MultiFilingServicePortChannel : WcfTestClient.MultiFilingService.MultiFilingServicePort, System.ServiceModel.IClientChannel {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
public partial class MultiFilingServicePortClient : System.ServiceModel.ClientBase<WcfTestClient.MultiFilingService.MultiFilingServicePort>, WcfTestClient.MultiFilingService.MultiFilingServicePort {
public MultiFilingServicePortClient() {
}
public MultiFilingServicePortClient(string endpointConfigurationName) :
base(endpointConfigurationName) {
}
public MultiFilingServicePortClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public MultiFilingServicePortClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public MultiFilingServicePortClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress) {
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
WcfTestClient.MultiFilingService.removeObjectFromFolderResponse WcfTestClient.MultiFilingService.MultiFilingServicePort.removeObjectFromFolder(WcfTestClient.MultiFilingService.removeObjectFromFolder request) {
return base.Channel.removeObjectFromFolder(request);
}
public void removeObjectFromFolder(string repositoryId, string objectId, string folderId) {
WcfTestClient.MultiFilingService.removeObjectFromFolder inValue = new WcfTestClient.MultiFilingService.removeObjectFromFolder();
inValue.Body = new WcfTestClient.MultiFilingService.removeObjectFromFolderBody();
inValue.Body.repositoryId = repositoryId;
inValue.Body.objectId = objectId;
inValue.Body.folderId = folderId;
WcfTestClient.MultiFilingService.removeObjectFromFolderResponse retVal = ((WcfTestClient.MultiFilingService.MultiFilingServicePort)(this)).removeObjectFromFolder(inValue);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
WcfTestClient.MultiFilingService.addObjectToFolderResponse WcfTestClient.MultiFilingService.MultiFilingServicePort.addObjectToFolder(WcfTestClient.MultiFilingService.addObjectToFolder request) {
return base.Channel.addObjectToFolder(request);
}
public void addObjectToFolder(string repositoryId, string objectId, string folderId) {
WcfTestClient.MultiFilingService.addObjectToFolder inValue = new WcfTestClient.MultiFilingService.addObjectToFolder();
inValue.Body = new WcfTestClient.MultiFilingService.addObjectToFolderBody();
inValue.Body.repositoryId = repositoryId;
inValue.Body.objectId = objectId;
inValue.Body.folderId = folderId;
WcfTestClient.MultiFilingService.addObjectToFolderResponse retVal = ((WcfTestClient.MultiFilingService.MultiFilingServicePort)(this)).addObjectToFolder(inValue);
}
}
}

View File

@@ -0,0 +1,30 @@
<?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="bfad5109-cb90-4a69-9467-1963ffebf52c" 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="https://localhost:8443/alfresco/cmis/MultiFilingService?wsdl" Protocol="http" SourceId="1" />
</MetadataSources>
<Metadata>
<MetadataFile FileName="MultiFilingServicePort.wsdl" MetadataType="Wsdl" ID="4378d69d-e67c-4e3c-a1ba-41c964dcbf72" SourceId="1" SourceUrl="https://localhost:8443/alfresco/cmis/MultiFilingService?wsdl=MultiFilingServicePort.wsdl" />
<MetadataFile FileName="MultiFilingService.wsdl" MetadataType="Wsdl" ID="132d7d6c-3a1e-4f80-93fe-1625d27d00b7" SourceId="1" SourceUrl="https://localhost:8443/alfresco/cmis/MultiFilingService?wsdl" />
</Metadata>
<Extensions>
<ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" />
<ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" />
</Extensions>
</ReferenceGroup>

View File

@@ -0,0 +1,11 @@
<?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;MultiFilingServiceSoapBinding&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;Transport&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="MultiFilingServiceSoapBinding" />
<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;MultiFilingServiceSoapBinding1&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="MultiFilingServiceSoapBinding1" />
</bindings>
<endpoints>
<endpoint normalizedDigest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;https://localhost:8443/alfresco/cmis/MultiFilingService&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;MultiFilingServiceSoapBinding&quot; contract=&quot;MultiFilingService.MultiFilingServicePort&quot; name=&quot;MultiFilingServicePort&quot; /&gt;" digest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;https://localhost:8443/alfresco/cmis/MultiFilingService&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;MultiFilingServiceSoapBinding&quot; contract=&quot;MultiFilingService.MultiFilingServicePort&quot; name=&quot;MultiFilingServicePort&quot; /&gt;" contractName="MultiFilingService.MultiFilingServicePort" name="MultiFilingServicePort" />
</endpoints>
</configurationSnapshot>

View File

@@ -0,0 +1,280 @@
<?xml version="1.0" encoding="utf-8"?>
<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="Zan/MYTX3tQL47DpEc0bFia9pzk=">
<bindingConfigurations>
<bindingConfiguration bindingType="basicHttpBinding" name="MultiFilingServiceSoapBinding">
<properties>
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>MultiFilingServiceSoapBinding</serializedValue>
</property>
<property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:10:00</serializedValue>
</property>
<property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>StrongWildcard</serializedValue>
</property>
<property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>65536</serializedValue>
</property>
<property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>524288</serializedValue>
</property>
<property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>65536</serializedValue>
</property>
<property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Text</serializedValue>
</property>
<property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue>
</property>
<property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>32</serializedValue>
</property>
<property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>8192</serializedValue>
</property>
<property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>16384</serializedValue>
</property>
<property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>4096</serializedValue>
</property>
<property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>16384</serializedValue>
</property>
<property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue>
</property>
<property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Transport</serializedValue>
</property>
<property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue>
</property>
<property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue>
</property>
<property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>UserName</serializedValue>
</property>
<property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Basic256</serializedValue>
</property>
<property path="/textEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.Text.UTF8Encoding</serializedValue>
</property>
<property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Buffered</serializedValue>
</property>
<property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>True</serializedValue>
</property>
</properties>
</bindingConfiguration>
<bindingConfiguration bindingType="basicHttpBinding" name="MultiFilingServiceSoapBinding1">
<properties>
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>MultiFilingServiceSoapBinding1</serializedValue>
</property>
<property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:10:00</serializedValue>
</property>
<property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>StrongWildcard</serializedValue>
</property>
<property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>65536</serializedValue>
</property>
<property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>524288</serializedValue>
</property>
<property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>65536</serializedValue>
</property>
<property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Text</serializedValue>
</property>
<property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue>
</property>
<property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>32</serializedValue>
</property>
<property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>8192</serializedValue>
</property>
<property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>16384</serializedValue>
</property>
<property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>4096</serializedValue>
</property>
<property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>16384</serializedValue>
</property>
<property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue>
</property>
<property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue>
</property>
<property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue>
</property>
<property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>UserName</serializedValue>
</property>
<property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Basic256</serializedValue>
</property>
<property path="/textEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.Text.UTF8Encoding</serializedValue>
</property>
<property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Buffered</serializedValue>
</property>
<property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>True</serializedValue>
</property>
</properties>
</bindingConfiguration>
</bindingConfigurations>
<endpoints>
<endpoint name="MultiFilingServicePort" contract="MultiFilingService.MultiFilingServicePort" bindingType="basicHttpBinding" address="https://localhost:8443/alfresco/cmis/MultiFilingService" bindingConfiguration="MultiFilingServiceSoapBinding">
<properties>
<property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>https://localhost:8443/alfresco/cmis/MultiFilingService</serializedValue>
</property>
<property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>basicHttpBinding</serializedValue>
</property>
<property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>MultiFilingServiceSoapBinding</serializedValue>
</property>
<property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>MultiFilingService.MultiFilingServicePort</serializedValue>
</property>
<property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue>
</property>
<property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>&lt;Header /&gt;</serializedValue>
</property>
<property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue>
</property>
<property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue>
</property>
<property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue>
</property>
<property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue>
</property>
<property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue>
</property>
<property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue>
</property>
<property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue>
</property>
<property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>My</serializedValue>
</property>
<property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>LocalMachine</serializedValue>
</property>
<property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>FindBySubjectDistinguishedName</serializedValue>
</property>
<property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>MultiFilingServicePort</serializedValue>
</property>
</properties>
</endpoint>
</endpoints>
</SavedWcfConfigurationInformation>

View File

@@ -0,0 +1,223 @@
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:tns="http://www.cmis.org/ns/1.0" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:ns1="http://www.cmis.org/2008/05" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://cxf.apache.org/bindings/xformat" name="NavigationService" targetNamespace="http://www.cmis.org/ns/1.0" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:import namespace="http://www.cmis.org/2008/05" location="https://localhost:8443/alfresco/cmis/NavigationService?wsdl=NavigationServicePort.wsdl" />
<wsdl:types />
<wsdl:message name="getCheckedoutDocsResponse">
<wsdl:part name="parameters" element="ns1:getCheckedoutDocsResponse" />
</wsdl:message>
<wsdl:message name="getObjectParents">
<wsdl:part name="parameters" element="ns1:getObjectParents" />
</wsdl:message>
<wsdl:message name="getFolderParentResponse">
<wsdl:part name="parameters" element="ns1:getFolderParentResponse" />
</wsdl:message>
<wsdl:message name="getFolderParent">
<wsdl:part name="parameters" element="ns1:getFolderParent" />
</wsdl:message>
<wsdl:message name="getChildrenResponse">
<wsdl:part name="parameters" element="ns1:getChildrenResponse" />
</wsdl:message>
<wsdl:message name="getDescendantsResponse">
<wsdl:part name="parameters" element="ns1:getDescendantsResponse" />
</wsdl:message>
<wsdl:message name="getDescendants">
<wsdl:part name="parameters" element="ns1:getDescendants" />
</wsdl:message>
<wsdl:message name="getChildren">
<wsdl:part name="parameters" element="ns1:getChildren" />
</wsdl:message>
<wsdl:message name="getObjectParentsResponse">
<wsdl:part name="parameters" element="ns1:getObjectParentsResponse" />
</wsdl:message>
<wsdl:message name="getCheckedoutDocs">
<wsdl:part name="parameters" element="ns1:getCheckedoutDocs" />
</wsdl:message>
<wsdl:binding name="NavigationServiceSoapBinding" type="ns1:NavigationServicePort">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="getCheckedoutDocs">
<soap:operation soapAction="" style="document" />
<wsdl:input name="getCheckedoutDocs">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="getCheckedoutDocsResponse">
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="InvalidArgumentException">
<soap:fault use="literal" name="InvalidArgumentException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ConstraintViolationException">
<soap:fault use="literal" name="ConstraintViolationException" namespace="" />
</wsdl:fault>
<wsdl:fault name="RuntimeException">
<soap:fault use="literal" name="RuntimeException" namespace="" />
</wsdl:fault>
<wsdl:fault name="FilterNotValidException">
<soap:fault use="literal" name="FilterNotValidException" namespace="" />
</wsdl:fault>
<wsdl:fault name="UpdateConflictException">
<soap:fault use="literal" name="UpdateConflictException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ObjectNotFoundException">
<soap:fault use="literal" name="ObjectNotFoundException" namespace="" />
</wsdl:fault>
<wsdl:fault name="OperationNotSupportedException">
<soap:fault use="literal" name="OperationNotSupportedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="PermissionDeniedException">
<soap:fault use="literal" name="PermissionDeniedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="FolderNotValidException">
<soap:fault use="literal" name="FolderNotValidException" namespace="" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getChildren">
<soap:operation soapAction="" style="document" />
<wsdl:input name="getChildren">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="getChildrenResponse">
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="InvalidArgumentException">
<soap:fault use="literal" name="InvalidArgumentException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ConstraintViolationException">
<soap:fault use="literal" name="ConstraintViolationException" namespace="" />
</wsdl:fault>
<wsdl:fault name="RuntimeException">
<soap:fault use="literal" name="RuntimeException" namespace="" />
</wsdl:fault>
<wsdl:fault name="FilterNotValidException">
<soap:fault use="literal" name="FilterNotValidException" namespace="" />
</wsdl:fault>
<wsdl:fault name="UpdateConflictException">
<soap:fault use="literal" name="UpdateConflictException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ObjectNotFoundException">
<soap:fault use="literal" name="ObjectNotFoundException" namespace="" />
</wsdl:fault>
<wsdl:fault name="OperationNotSupportedException">
<soap:fault use="literal" name="OperationNotSupportedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="PermissionDeniedException">
<soap:fault use="literal" name="PermissionDeniedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="FolderNotValidException">
<soap:fault use="literal" name="FolderNotValidException" namespace="" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getObjectParents">
<soap:operation soapAction="" style="document" />
<wsdl:input name="getObjectParents">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="getObjectParentsResponse">
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="InvalidArgumentException">
<soap:fault use="literal" name="InvalidArgumentException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ConstraintViolationException">
<soap:fault use="literal" name="ConstraintViolationException" namespace="" />
</wsdl:fault>
<wsdl:fault name="RuntimeException">
<soap:fault use="literal" name="RuntimeException" namespace="" />
</wsdl:fault>
<wsdl:fault name="FilterNotValidException">
<soap:fault use="literal" name="FilterNotValidException" namespace="" />
</wsdl:fault>
<wsdl:fault name="UpdateConflictException">
<soap:fault use="literal" name="UpdateConflictException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ObjectNotFoundException">
<soap:fault use="literal" name="ObjectNotFoundException" namespace="" />
</wsdl:fault>
<wsdl:fault name="OperationNotSupportedException">
<soap:fault use="literal" name="OperationNotSupportedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="PermissionDeniedException">
<soap:fault use="literal" name="PermissionDeniedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="FolderNotValidException">
<soap:fault use="literal" name="FolderNotValidException" namespace="" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getFolderParent">
<soap:operation soapAction="" style="document" />
<wsdl:input name="getFolderParent">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="getFolderParentResponse">
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="InvalidArgumentException">
<soap:fault use="literal" name="InvalidArgumentException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ConstraintViolationException">
<soap:fault use="literal" name="ConstraintViolationException" namespace="" />
</wsdl:fault>
<wsdl:fault name="RuntimeException">
<soap:fault use="literal" name="RuntimeException" namespace="" />
</wsdl:fault>
<wsdl:fault name="FilterNotValidException">
<soap:fault use="literal" name="FilterNotValidException" namespace="" />
</wsdl:fault>
<wsdl:fault name="UpdateConflictException">
<soap:fault use="literal" name="UpdateConflictException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ObjectNotFoundException">
<soap:fault use="literal" name="ObjectNotFoundException" namespace="" />
</wsdl:fault>
<wsdl:fault name="OperationNotSupportedException">
<soap:fault use="literal" name="OperationNotSupportedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="PermissionDeniedException">
<soap:fault use="literal" name="PermissionDeniedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="FolderNotValidException">
<soap:fault use="literal" name="FolderNotValidException" namespace="" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getDescendants">
<soap:operation soapAction="" style="document" />
<wsdl:input name="getDescendants">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="getDescendantsResponse">
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="InvalidArgumentException">
<soap:fault use="literal" name="InvalidArgumentException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ConstraintViolationException">
<soap:fault use="literal" name="ConstraintViolationException" namespace="" />
</wsdl:fault>
<wsdl:fault name="RuntimeException">
<soap:fault use="literal" name="RuntimeException" namespace="" />
</wsdl:fault>
<wsdl:fault name="FilterNotValidException">
<soap:fault use="literal" name="FilterNotValidException" namespace="" />
</wsdl:fault>
<wsdl:fault name="UpdateConflictException">
<soap:fault use="literal" name="UpdateConflictException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ObjectNotFoundException">
<soap:fault use="literal" name="ObjectNotFoundException" namespace="" />
</wsdl:fault>
<wsdl:fault name="OperationNotSupportedException">
<soap:fault use="literal" name="OperationNotSupportedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="PermissionDeniedException">
<soap:fault use="literal" name="PermissionDeniedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="FolderNotValidException">
<soap:fault use="literal" name="FolderNotValidException" namespace="" />
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="NavigationService">
<wsdl:port name="NavigationServicePort" binding="tns:NavigationServiceSoapBinding">
<soap:address location="https://localhost:8443/alfresco/cmis/NavigationService" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,30 @@
<?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="c8805e49-8967-4cfd-b9e9-f7f17fc2c9e3" 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="https://localhost:8443/alfresco/cmis/NavigationService?wsdl" Protocol="http" SourceId="1" />
</MetadataSources>
<Metadata>
<MetadataFile FileName="NavigationService.wsdl" MetadataType="Wsdl" ID="91858bbc-efa5-499c-9e5e-c0414da142b1" SourceId="1" SourceUrl="https://localhost:8443/alfresco/cmis/NavigationService?wsdl" />
<MetadataFile FileName="NavigationServicePort.wsdl" MetadataType="Wsdl" ID="afb003ed-669b-474c-ba8f-6bb68bfd6e86" SourceId="1" SourceUrl="https://localhost:8443/alfresco/cmis/NavigationService?wsdl=NavigationServicePort.wsdl" />
</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="cmisObjectType" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>WcfCmisWSTests.NavigationService.cmisObjectType, Service References.NavigationService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</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>WcfTestClient.NavigationService.cmisObjectType, Service References.NavigationService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

View File

@@ -0,0 +1,11 @@
<?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;NavigationServiceSoapBinding&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;Transport&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="NavigationServiceSoapBinding" />
<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;NavigationServiceSoapBinding1&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="NavigationServiceSoapBinding1" />
</bindings>
<endpoints>
<endpoint normalizedDigest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;https://localhost:8443/alfresco/cmis/NavigationService&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;NavigationServiceSoapBinding&quot; contract=&quot;NavigationService.NavigationServicePort&quot; name=&quot;NavigationServicePort&quot; /&gt;" digest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;https://localhost:8443/alfresco/cmis/NavigationService&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;NavigationServiceSoapBinding&quot; contract=&quot;NavigationService.NavigationServicePort&quot; name=&quot;NavigationServicePort&quot; /&gt;" contractName="NavigationService.NavigationServicePort" name="NavigationServicePort" />
</endpoints>
</configurationSnapshot>

View File

@@ -0,0 +1,280 @@
<?xml version="1.0" encoding="utf-8"?>
<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="8aFYHhAAVSDZqdx9atqZ1OURjII=">
<bindingConfigurations>
<bindingConfiguration bindingType="basicHttpBinding" name="NavigationServiceSoapBinding">
<properties>
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>NavigationServiceSoapBinding</serializedValue>
</property>
<property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:10:00</serializedValue>
</property>
<property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>StrongWildcard</serializedValue>
</property>
<property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>65536</serializedValue>
</property>
<property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>524288</serializedValue>
</property>
<property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>65536</serializedValue>
</property>
<property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Text</serializedValue>
</property>
<property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue>
</property>
<property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>32</serializedValue>
</property>
<property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>8192</serializedValue>
</property>
<property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>16384</serializedValue>
</property>
<property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>4096</serializedValue>
</property>
<property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>16384</serializedValue>
</property>
<property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue>
</property>
<property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Transport</serializedValue>
</property>
<property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue>
</property>
<property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue>
</property>
<property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>UserName</serializedValue>
</property>
<property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Basic256</serializedValue>
</property>
<property path="/textEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.Text.UTF8Encoding</serializedValue>
</property>
<property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Buffered</serializedValue>
</property>
<property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>True</serializedValue>
</property>
</properties>
</bindingConfiguration>
<bindingConfiguration bindingType="basicHttpBinding" name="NavigationServiceSoapBinding1">
<properties>
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>NavigationServiceSoapBinding1</serializedValue>
</property>
<property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:10:00</serializedValue>
</property>
<property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>StrongWildcard</serializedValue>
</property>
<property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>65536</serializedValue>
</property>
<property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>524288</serializedValue>
</property>
<property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>65536</serializedValue>
</property>
<property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Text</serializedValue>
</property>
<property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue>
</property>
<property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>32</serializedValue>
</property>
<property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>8192</serializedValue>
</property>
<property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>16384</serializedValue>
</property>
<property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>4096</serializedValue>
</property>
<property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>16384</serializedValue>
</property>
<property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue>
</property>
<property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue>
</property>
<property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue>
</property>
<property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>UserName</serializedValue>
</property>
<property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Basic256</serializedValue>
</property>
<property path="/textEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.Text.UTF8Encoding</serializedValue>
</property>
<property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Buffered</serializedValue>
</property>
<property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>True</serializedValue>
</property>
</properties>
</bindingConfiguration>
</bindingConfigurations>
<endpoints>
<endpoint name="NavigationServicePort" contract="NavigationService.NavigationServicePort" bindingType="basicHttpBinding" address="https://localhost:8443/alfresco/cmis/NavigationService" bindingConfiguration="NavigationServiceSoapBinding">
<properties>
<property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>https://localhost:8443/alfresco/cmis/NavigationService</serializedValue>
</property>
<property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>basicHttpBinding</serializedValue>
</property>
<property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>NavigationServiceSoapBinding</serializedValue>
</property>
<property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>NavigationService.NavigationServicePort</serializedValue>
</property>
<property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue>
</property>
<property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>&lt;Header /&gt;</serializedValue>
</property>
<property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue>
</property>
<property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue>
</property>
<property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue>
</property>
<property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue>
</property>
<property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue>
</property>
<property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue>
</property>
<property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue>
</property>
<property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>My</serializedValue>
</property>
<property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>LocalMachine</serializedValue>
</property>
<property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>FindBySubjectDistinguishedName</serializedValue>
</property>
<property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>NavigationServicePort</serializedValue>
</property>
</properties>
</endpoint>
</endpoints>
</SavedWcfConfigurationInformation>

View File

@@ -0,0 +1,526 @@
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:tns="http://www.cmis.org/ns/1.0" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:ns1="http://www.cmis.org/2008/05" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://cxf.apache.org/bindings/xformat" name="ObjectService" targetNamespace="http://www.cmis.org/ns/1.0" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:import namespace="http://www.cmis.org/2008/05" location="https://localhost:8443/alfresco/cmis/ObjectService?wsdl=ObjectServicePort.wsdl" />
<wsdl:types />
<wsdl:message name="deleteObject">
<wsdl:part name="parameters" element="ns1:deleteObject" />
</wsdl:message>
<wsdl:message name="getAllowableActionsResponse">
<wsdl:part name="parameters" element="ns1:getAllowableActionsResponse" />
</wsdl:message>
<wsdl:message name="createFolder">
<wsdl:part name="parameters" element="ns1:createFolder" />
</wsdl:message>
<wsdl:message name="deleteObjectResponse">
<wsdl:part name="parameters" element="ns1:deleteObjectResponse" />
</wsdl:message>
<wsdl:message name="createDocument">
<wsdl:part name="parameters" element="ns1:createDocument" />
</wsdl:message>
<wsdl:message name="deleteContentStream">
<wsdl:part name="parameters" element="ns1:deleteContentStream" />
</wsdl:message>
<wsdl:message name="updateProperties">
<wsdl:part name="parameters" element="ns1:updateProperties" />
</wsdl:message>
<wsdl:message name="getProperties">
<wsdl:part name="parameters" element="ns1:getProperties" />
</wsdl:message>
<wsdl:message name="getAllowableActions">
<wsdl:part name="parameters" element="ns1:getAllowableActions" />
</wsdl:message>
<wsdl:message name="setContentStreamResponse">
<wsdl:part name="parameters" element="ns1:setContentStreamResponse" />
</wsdl:message>
<wsdl:message name="createDocumentResponse">
<wsdl:part name="parameters" element="ns1:createDocumentResponse" />
</wsdl:message>
<wsdl:message name="deleteTreeResponse">
<wsdl:part name="parameters" element="ns1:deleteTreeResponse" />
</wsdl:message>
<wsdl:message name="moveObject">
<wsdl:part name="parameters" element="ns1:moveObject" />
</wsdl:message>
<wsdl:message name="moveObjectResponse">
<wsdl:part name="parameters" element="ns1:moveObjectResponse" />
</wsdl:message>
<wsdl:message name="createPolicy">
<wsdl:part name="parameters" element="ns1:createPolicy" />
</wsdl:message>
<wsdl:message name="getContentStreamResponse">
<wsdl:part name="parameters" element="ns1:getContentStreamResponse" />
</wsdl:message>
<wsdl:message name="setContentStream">
<wsdl:part name="parameters" element="ns1:setContentStream" />
</wsdl:message>
<wsdl:message name="createFolderResponse">
<wsdl:part name="parameters" element="ns1:createFolderResponse" />
</wsdl:message>
<wsdl:message name="deleteContentStreamResponse">
<wsdl:part name="parameters" element="ns1:deleteContentStreamResponse" />
</wsdl:message>
<wsdl:message name="updatePropertiesResponse">
<wsdl:part name="parameters" element="ns1:updatePropertiesResponse" />
</wsdl:message>
<wsdl:message name="deleteTree">
<wsdl:part name="parameters" element="ns1:deleteTree" />
</wsdl:message>
<wsdl:message name="createRelationship">
<wsdl:part name="parameters" element="ns1:createRelationship" />
</wsdl:message>
<wsdl:message name="createRelationshipResponse">
<wsdl:part name="parameters" element="ns1:createRelationshipResponse" />
</wsdl:message>
<wsdl:message name="getContentStream">
<wsdl:part name="parameters" element="ns1:getContentStream" />
</wsdl:message>
<wsdl:message name="getPropertiesResponse">
<wsdl:part name="parameters" element="ns1:getPropertiesResponse" />
</wsdl:message>
<wsdl:message name="createPolicyResponse">
<wsdl:part name="parameters" element="ns1:createPolicyResponse" />
</wsdl:message>
<wsdl:binding name="ObjectServiceSoapBinding" type="ns1:ObjectServicePort">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="setContentStream">
<soap:operation soapAction="" style="document" />
<wsdl:input name="setContentStream">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="setContentStreamResponse">
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="ContentAlreadyExistsException">
<soap:fault use="literal" name="ContentAlreadyExistsException" namespace="" />
</wsdl:fault>
<wsdl:fault name="InvalidArgumentException">
<soap:fault use="literal" name="InvalidArgumentException" namespace="" />
</wsdl:fault>
<wsdl:fault name="StorageException">
<soap:fault use="literal" name="StorageException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ConstraintViolationException">
<soap:fault use="literal" name="ConstraintViolationException" namespace="" />
</wsdl:fault>
<wsdl:fault name="RuntimeException">
<soap:fault use="literal" name="RuntimeException" namespace="" />
</wsdl:fault>
<wsdl:fault name="UpdateConflictException">
<soap:fault use="literal" name="UpdateConflictException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ObjectNotFoundException">
<soap:fault use="literal" name="ObjectNotFoundException" namespace="" />
</wsdl:fault>
<wsdl:fault name="StreamNotSupportedException">
<soap:fault use="literal" name="StreamNotSupportedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="OperationNotSupportedException">
<soap:fault use="literal" name="OperationNotSupportedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="PermissionDeniedException">
<soap:fault use="literal" name="PermissionDeniedException" namespace="" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="createRelationship">
<soap:operation soapAction="" style="document" />
<wsdl:input name="createRelationship">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="createRelationshipResponse">
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="InvalidArgumentException">
<soap:fault use="literal" name="InvalidArgumentException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ConstraintViolationException">
<soap:fault use="literal" name="ConstraintViolationException" namespace="" />
</wsdl:fault>
<wsdl:fault name="RuntimeException">
<soap:fault use="literal" name="RuntimeException" namespace="" />
</wsdl:fault>
<wsdl:fault name="UpdateConflictException">
<soap:fault use="literal" name="UpdateConflictException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ObjectNotFoundException">
<soap:fault use="literal" name="ObjectNotFoundException" namespace="" />
</wsdl:fault>
<wsdl:fault name="OperationNotSupportedException">
<soap:fault use="literal" name="OperationNotSupportedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="PermissionDeniedException">
<soap:fault use="literal" name="PermissionDeniedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="TypeNotFoundException">
<soap:fault use="literal" name="TypeNotFoundException" namespace="" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="createDocument">
<soap:operation soapAction="" style="document" />
<wsdl:input name="createDocument">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="createDocumentResponse">
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="InvalidArgumentException">
<soap:fault use="literal" name="InvalidArgumentException" namespace="" />
</wsdl:fault>
<wsdl:fault name="StorageException">
<soap:fault use="literal" name="StorageException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ConstraintViolationException">
<soap:fault use="literal" name="ConstraintViolationException" namespace="" />
</wsdl:fault>
<wsdl:fault name="RuntimeException">
<soap:fault use="literal" name="RuntimeException" namespace="" />
</wsdl:fault>
<wsdl:fault name="UpdateConflictException">
<soap:fault use="literal" name="UpdateConflictException" namespace="" />
</wsdl:fault>
<wsdl:fault name="StreamNotSupportedException">
<soap:fault use="literal" name="StreamNotSupportedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="OperationNotSupportedException">
<soap:fault use="literal" name="OperationNotSupportedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="PermissionDeniedException">
<soap:fault use="literal" name="PermissionDeniedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="TypeNotFoundException">
<soap:fault use="literal" name="TypeNotFoundException" namespace="" />
</wsdl:fault>
<wsdl:fault name="FolderNotValidException">
<soap:fault use="literal" name="FolderNotValidException" namespace="" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getContentStream">
<soap:operation soapAction="" style="document" />
<wsdl:input name="getContentStream">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="getContentStreamResponse">
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="InvalidArgumentException">
<soap:fault use="literal" name="InvalidArgumentException" namespace="" />
</wsdl:fault>
<wsdl:fault name="StorageException">
<soap:fault use="literal" name="StorageException" namespace="" />
</wsdl:fault>
<wsdl:fault name="RuntimeException">
<soap:fault use="literal" name="RuntimeException" namespace="" />
</wsdl:fault>
<wsdl:fault name="UpdateConflictException">
<soap:fault use="literal" name="UpdateConflictException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ObjectNotFoundException">
<soap:fault use="literal" name="ObjectNotFoundException" namespace="" />
</wsdl:fault>
<wsdl:fault name="StreamNotSupportedException">
<soap:fault use="literal" name="StreamNotSupportedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="OperationNotSupportedException">
<soap:fault use="literal" name="OperationNotSupportedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="PermissionDeniedException">
<soap:fault use="literal" name="PermissionDeniedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="OffsetException">
<soap:fault use="literal" name="OffsetException" namespace="" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="updateProperties">
<soap:operation soapAction="" style="document" />
<wsdl:input name="updateProperties">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="updatePropertiesResponse">
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="InvalidArgumentException">
<soap:fault use="literal" name="InvalidArgumentException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ConstraintViolationException">
<soap:fault use="literal" name="ConstraintViolationException" namespace="" />
</wsdl:fault>
<wsdl:fault name="RuntimeException">
<soap:fault use="literal" name="RuntimeException" namespace="" />
</wsdl:fault>
<wsdl:fault name="UpdateConflictException">
<soap:fault use="literal" name="UpdateConflictException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ObjectNotFoundException">
<soap:fault use="literal" name="ObjectNotFoundException" namespace="" />
</wsdl:fault>
<wsdl:fault name="OperationNotSupportedException">
<soap:fault use="literal" name="OperationNotSupportedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="PermissionDeniedException">
<soap:fault use="literal" name="PermissionDeniedException" namespace="" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="createFolder">
<soap:operation soapAction="" style="document" />
<wsdl:input name="createFolder">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="createFolderResponse">
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="InvalidArgumentException">
<soap:fault use="literal" name="InvalidArgumentException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ConstraintViolationException">
<soap:fault use="literal" name="ConstraintViolationException" namespace="" />
</wsdl:fault>
<wsdl:fault name="RuntimeException">
<soap:fault use="literal" name="RuntimeException" namespace="" />
</wsdl:fault>
<wsdl:fault name="UpdateConflictException">
<soap:fault use="literal" name="UpdateConflictException" namespace="" />
</wsdl:fault>
<wsdl:fault name="OperationNotSupportedException">
<soap:fault use="literal" name="OperationNotSupportedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="PermissionDeniedException">
<soap:fault use="literal" name="PermissionDeniedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="TypeNotFoundException">
<soap:fault use="literal" name="TypeNotFoundException" namespace="" />
</wsdl:fault>
<wsdl:fault name="FolderNotValidException">
<soap:fault use="literal" name="FolderNotValidException" namespace="" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="deleteContentStream">
<soap:operation soapAction="" style="document" />
<wsdl:input name="deleteContentStream">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="deleteContentStreamResponse">
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="InvalidArgumentException">
<soap:fault use="literal" name="InvalidArgumentException" namespace="" />
</wsdl:fault>
<wsdl:fault name="StorageException">
<soap:fault use="literal" name="StorageException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ConstraintViolationException">
<soap:fault use="literal" name="ConstraintViolationException" namespace="" />
</wsdl:fault>
<wsdl:fault name="RuntimeException">
<soap:fault use="literal" name="RuntimeException" namespace="" />
</wsdl:fault>
<wsdl:fault name="UpdateConflictException">
<soap:fault use="literal" name="UpdateConflictException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ObjectNotFoundException">
<soap:fault use="literal" name="ObjectNotFoundException" namespace="" />
</wsdl:fault>
<wsdl:fault name="StreamNotSupportedException">
<soap:fault use="literal" name="StreamNotSupportedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="OperationNotSupportedException">
<soap:fault use="literal" name="OperationNotSupportedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="PermissionDeniedException">
<soap:fault use="literal" name="PermissionDeniedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="VersioningException">
<soap:fault use="literal" name="VersioningException" namespace="" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="moveObject">
<soap:operation soapAction="" style="document" />
<wsdl:input name="moveObject">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="moveObjectResponse">
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="InvalidArgumentException">
<soap:fault use="literal" name="InvalidArgumentException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ConstraintViolationException">
<soap:fault use="literal" name="ConstraintViolationException" namespace="" />
</wsdl:fault>
<wsdl:fault name="RuntimeException">
<soap:fault use="literal" name="RuntimeException" namespace="" />
</wsdl:fault>
<wsdl:fault name="UpdateConflictException">
<soap:fault use="literal" name="UpdateConflictException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ObjectNotFoundException">
<soap:fault use="literal" name="ObjectNotFoundException" namespace="" />
</wsdl:fault>
<wsdl:fault name="NotInFolderException">
<soap:fault use="literal" name="NotInFolderException" namespace="" />
</wsdl:fault>
<wsdl:fault name="OperationNotSupportedException">
<soap:fault use="literal" name="OperationNotSupportedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="PermissionDeniedException">
<soap:fault use="literal" name="PermissionDeniedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="FolderNotValidException">
<soap:fault use="literal" name="FolderNotValidException" namespace="" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="deleteObject">
<soap:operation soapAction="" style="document" />
<wsdl:input name="deleteObject">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="deleteObjectResponse">
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="InvalidArgumentException">
<soap:fault use="literal" name="InvalidArgumentException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ConstraintViolationException">
<soap:fault use="literal" name="ConstraintViolationException" namespace="" />
</wsdl:fault>
<wsdl:fault name="RuntimeException">
<soap:fault use="literal" name="RuntimeException" namespace="" />
</wsdl:fault>
<wsdl:fault name="UpdateConflictException">
<soap:fault use="literal" name="UpdateConflictException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ObjectNotFoundException">
<soap:fault use="literal" name="ObjectNotFoundException" namespace="" />
</wsdl:fault>
<wsdl:fault name="OperationNotSupportedException">
<soap:fault use="literal" name="OperationNotSupportedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="PermissionDeniedException">
<soap:fault use="literal" name="PermissionDeniedException" namespace="" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="deleteTree">
<soap:operation soapAction="" style="document" />
<wsdl:input name="deleteTree">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="deleteTreeResponse">
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="InvalidArgumentException">
<soap:fault use="literal" name="InvalidArgumentException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ConstraintViolationException">
<soap:fault use="literal" name="ConstraintViolationException" namespace="" />
</wsdl:fault>
<wsdl:fault name="RuntimeException">
<soap:fault use="literal" name="RuntimeException" namespace="" />
</wsdl:fault>
<wsdl:fault name="UpdateConflictException">
<soap:fault use="literal" name="UpdateConflictException" namespace="" />
</wsdl:fault>
<wsdl:fault name="OperationNotSupportedException">
<soap:fault use="literal" name="OperationNotSupportedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="PermissionDeniedException">
<soap:fault use="literal" name="PermissionDeniedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="FolderNotValidException">
<soap:fault use="literal" name="FolderNotValidException" namespace="" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="createPolicy">
<soap:operation soapAction="" style="document" />
<wsdl:input name="createPolicy">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="createPolicyResponse">
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="InvalidArgumentException">
<soap:fault use="literal" name="InvalidArgumentException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ConstraintViolationException">
<soap:fault use="literal" name="ConstraintViolationException" namespace="" />
</wsdl:fault>
<wsdl:fault name="RuntimeException">
<soap:fault use="literal" name="RuntimeException" namespace="" />
</wsdl:fault>
<wsdl:fault name="UpdateConflictException">
<soap:fault use="literal" name="UpdateConflictException" namespace="" />
</wsdl:fault>
<wsdl:fault name="OperationNotSupportedException">
<soap:fault use="literal" name="OperationNotSupportedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="PermissionDeniedException">
<soap:fault use="literal" name="PermissionDeniedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="TypeNotFoundException">
<soap:fault use="literal" name="TypeNotFoundException" namespace="" />
</wsdl:fault>
<wsdl:fault name="FolderNotValidException">
<soap:fault use="literal" name="FolderNotValidException" namespace="" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getProperties">
<soap:operation soapAction="" style="document" />
<wsdl:input name="getProperties">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="getPropertiesResponse">
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="InvalidArgumentException">
<soap:fault use="literal" name="InvalidArgumentException" namespace="" />
</wsdl:fault>
<wsdl:fault name="RuntimeException">
<soap:fault use="literal" name="RuntimeException" namespace="" />
</wsdl:fault>
<wsdl:fault name="FilterNotValidException">
<soap:fault use="literal" name="FilterNotValidException" namespace="" />
</wsdl:fault>
<wsdl:fault name="UpdateConflictException">
<soap:fault use="literal" name="UpdateConflictException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ObjectNotFoundException">
<soap:fault use="literal" name="ObjectNotFoundException" namespace="" />
</wsdl:fault>
<wsdl:fault name="OperationNotSupportedException">
<soap:fault use="literal" name="OperationNotSupportedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="PermissionDeniedException">
<soap:fault use="literal" name="PermissionDeniedException" namespace="" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getAllowableActions">
<soap:operation soapAction="" style="document" />
<wsdl:input name="getAllowableActions">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="getAllowableActionsResponse">
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="InvalidArgumentException">
<soap:fault use="literal" name="InvalidArgumentException" namespace="" />
</wsdl:fault>
<wsdl:fault name="RuntimeException">
<soap:fault use="literal" name="RuntimeException" namespace="" />
</wsdl:fault>
<wsdl:fault name="UpdateConflictException">
<soap:fault use="literal" name="UpdateConflictException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ObjectNotFoundException">
<soap:fault use="literal" name="ObjectNotFoundException" namespace="" />
</wsdl:fault>
<wsdl:fault name="OperationNotSupportedException">
<soap:fault use="literal" name="OperationNotSupportedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="PermissionDeniedException">
<soap:fault use="literal" name="PermissionDeniedException" namespace="" />
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="ObjectService">
<wsdl:port name="ObjectServicePort" binding="tns:ObjectServiceSoapBinding">
<soap:address location="https://localhost:8443/alfresco/cmis/ObjectService" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

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,30 @@
<?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="3078dc17-4517-47a2-bb19-2f86341ef618" 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="https://localhost:8443/alfresco/cmis/ObjectService?wsdl" Protocol="http" SourceId="1" />
</MetadataSources>
<Metadata>
<MetadataFile FileName="ObjectServicePort.wsdl" MetadataType="Wsdl" ID="154a6c90-acf5-4d3a-88aa-82e5be534791" SourceId="1" SourceUrl="https://localhost:8443/alfresco/cmis/ObjectService?wsdl=ObjectServicePort.wsdl" />
<MetadataFile FileName="ObjectService.wsdl" MetadataType="Wsdl" ID="8dd78a36-af17-46ca-b3a8-9b24e888189b" SourceId="1" SourceUrl="https://localhost:8443/alfresco/cmis/ObjectService?wsdl" />
</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="cmisAllowableActionsType" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>WcfCmisWSTests.ObjectService.cmisAllowableActionsType, Service References.ObjectService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</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.ObjectService.cmisContentStreamType, Service References.ObjectService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</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.ObjectService.cmisObjectType, Service References.ObjectService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</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>WcfTestClient.ObjectService.cmisAllowableActionsType, Service References.ObjectService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</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>WcfTestClient.ObjectService.cmisContentStreamType, Service References.ObjectService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</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>WcfTestClient.ObjectService.cmisObjectType, Service References.ObjectService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

View File

@@ -0,0 +1,11 @@
<?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;ObjectServiceSoapBinding&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;Transport&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="ObjectServiceSoapBinding" />
<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;ObjectServiceSoapBinding1&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="ObjectServiceSoapBinding1" />
</bindings>
<endpoints>
<endpoint normalizedDigest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;https://localhost:8443/alfresco/cmis/ObjectService&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;ObjectServiceSoapBinding&quot; contract=&quot;ObjectService.ObjectServicePort&quot; name=&quot;ObjectServicePort&quot; /&gt;" digest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;https://localhost:8443/alfresco/cmis/ObjectService&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;ObjectServiceSoapBinding&quot; contract=&quot;ObjectService.ObjectServicePort&quot; name=&quot;ObjectServicePort&quot; /&gt;" contractName="ObjectService.ObjectServicePort" name="ObjectServicePort" />
</endpoints>
</configurationSnapshot>

View File

@@ -0,0 +1,280 @@
<?xml version="1.0" encoding="utf-8"?>
<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="sRHlFE4lQ+zNm0j1HTX2/RSQ27E=">
<bindingConfigurations>
<bindingConfiguration bindingType="basicHttpBinding" name="ObjectServiceSoapBinding">
<properties>
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>ObjectServiceSoapBinding</serializedValue>
</property>
<property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:10:00</serializedValue>
</property>
<property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>StrongWildcard</serializedValue>
</property>
<property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>65536</serializedValue>
</property>
<property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>524288</serializedValue>
</property>
<property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>65536</serializedValue>
</property>
<property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Text</serializedValue>
</property>
<property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue>
</property>
<property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>32</serializedValue>
</property>
<property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>8192</serializedValue>
</property>
<property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>16384</serializedValue>
</property>
<property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>4096</serializedValue>
</property>
<property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>16384</serializedValue>
</property>
<property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue>
</property>
<property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Transport</serializedValue>
</property>
<property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue>
</property>
<property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue>
</property>
<property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>UserName</serializedValue>
</property>
<property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Basic256</serializedValue>
</property>
<property path="/textEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.Text.UTF8Encoding</serializedValue>
</property>
<property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Buffered</serializedValue>
</property>
<property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>True</serializedValue>
</property>
</properties>
</bindingConfiguration>
<bindingConfiguration bindingType="basicHttpBinding" name="ObjectServiceSoapBinding1">
<properties>
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>ObjectServiceSoapBinding1</serializedValue>
</property>
<property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:10:00</serializedValue>
</property>
<property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>StrongWildcard</serializedValue>
</property>
<property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>65536</serializedValue>
</property>
<property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>524288</serializedValue>
</property>
<property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>65536</serializedValue>
</property>
<property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Text</serializedValue>
</property>
<property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue>
</property>
<property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>32</serializedValue>
</property>
<property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>8192</serializedValue>
</property>
<property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>16384</serializedValue>
</property>
<property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>4096</serializedValue>
</property>
<property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>16384</serializedValue>
</property>
<property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue>
</property>
<property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue>
</property>
<property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue>
</property>
<property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>UserName</serializedValue>
</property>
<property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Basic256</serializedValue>
</property>
<property path="/textEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.Text.UTF8Encoding</serializedValue>
</property>
<property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Buffered</serializedValue>
</property>
<property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>True</serializedValue>
</property>
</properties>
</bindingConfiguration>
</bindingConfigurations>
<endpoints>
<endpoint name="ObjectServicePort" contract="ObjectService.ObjectServicePort" bindingType="basicHttpBinding" address="https://localhost:8443/alfresco/cmis/ObjectService" bindingConfiguration="ObjectServiceSoapBinding">
<properties>
<property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>https://localhost:8443/alfresco/cmis/ObjectService</serializedValue>
</property>
<property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>basicHttpBinding</serializedValue>
</property>
<property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>ObjectServiceSoapBinding</serializedValue>
</property>
<property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>ObjectService.ObjectServicePort</serializedValue>
</property>
<property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue>
</property>
<property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>&lt;Header /&gt;</serializedValue>
</property>
<property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue>
</property>
<property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue>
</property>
<property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue>
</property>
<property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue>
</property>
<property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue>
</property>
<property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue>
</property>
<property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue>
</property>
<property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>My</serializedValue>
</property>
<property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>LocalMachine</serializedValue>
</property>
<property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>FindBySubjectDistinguishedName</serializedValue>
</property>
<property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>ObjectServicePort</serializedValue>
</property>
</properties>
</endpoint>
</endpoints>
</SavedWcfConfigurationInformation>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,30 @@
<?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="906e4ca6-60b6-442d-bd7c-ddac05eab8d1" 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="https://localhost:8443/alfresco/cmis/RepositoryService?wsdl" Protocol="http" SourceId="1" />
</MetadataSources>
<Metadata>
<MetadataFile FileName="RepositoryServicePort.wsdl" MetadataType="Wsdl" ID="d6dccdfd-2e6d-422a-a923-5847dc2f33b3" SourceId="1" SourceUrl="https://localhost:8443/alfresco/cmis/RepositoryService?wsdl=RepositoryServicePort.wsdl" />
<MetadataFile FileName="RepositoryService.wsdl" MetadataType="Wsdl" ID="76d00ae1-4de8-41db-93de-9e1462b71e09" SourceId="1" SourceUrl="https://localhost:8443/alfresco/cmis/RepositoryService?wsdl" />
</Metadata>
<Extensions>
<ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" />
<ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" />
</Extensions>
</ReferenceGroup>

View File

@@ -0,0 +1,154 @@
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:tns="http://www.cmis.org/ns/1.0" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:ns1="http://www.cmis.org/2008/05" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://cxf.apache.org/bindings/xformat" name="RepositoryService" targetNamespace="http://www.cmis.org/ns/1.0" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:import namespace="http://www.cmis.org/2008/05" location="https://localhost:8443/alfresco/cmis/RepositoryService?wsdl=RepositoryServicePort.wsdl" />
<wsdl:types />
<wsdl:message name="getRepositoriesResponse">
<wsdl:part name="parameters" element="ns1:getRepositoriesResponse" />
</wsdl:message>
<wsdl:message name="getTypesResponse">
<wsdl:part name="parameters" element="ns1:getTypesResponse" />
</wsdl:message>
<wsdl:message name="getRepositoryInfoResponse">
<wsdl:part name="parameters" element="ns1:getRepositoryInfoResponse" />
</wsdl:message>
<wsdl:message name="getRepositories">
<wsdl:part name="parameters" element="ns1:getRepositories" />
</wsdl:message>
<wsdl:message name="getTypeDefinitionResponse">
<wsdl:part name="parameters" element="ns1:getTypeDefinitionResponse" />
</wsdl:message>
<wsdl:message name="getTypes">
<wsdl:part name="parameters" element="ns1:getTypes" />
</wsdl:message>
<wsdl:message name="getRepositoryInfo">
<wsdl:part name="parameters" element="ns1:getRepositoryInfo" />
</wsdl:message>
<wsdl:message name="getTypeDefinition">
<wsdl:part name="parameters" element="ns1:getTypeDefinition" />
</wsdl:message>
<wsdl:binding name="RepositoryServiceSoapBinding" type="ns1:RepositoryServicePort">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="getTypeDefinition">
<soap:operation soapAction="" style="document" />
<wsdl:input name="getTypeDefinition">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="getTypeDefinitionResponse">
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="InvalidArgumentException">
<soap:fault use="literal" name="InvalidArgumentException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ConstraintViolationException">
<soap:fault use="literal" name="ConstraintViolationException" namespace="" />
</wsdl:fault>
<wsdl:fault name="RuntimeException">
<soap:fault use="literal" name="RuntimeException" namespace="" />
</wsdl:fault>
<wsdl:fault name="UpdateConflictException">
<soap:fault use="literal" name="UpdateConflictException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ObjectNotFoundException">
<soap:fault use="literal" name="ObjectNotFoundException" namespace="" />
</wsdl:fault>
<wsdl:fault name="OperationNotSupportedException">
<soap:fault use="literal" name="OperationNotSupportedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="PermissionDeniedException">
<soap:fault use="literal" name="PermissionDeniedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="TypeNotFoundException">
<soap:fault use="literal" name="TypeNotFoundException" namespace="" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getRepositoryInfo">
<soap:operation soapAction="" style="document" />
<wsdl:input name="getRepositoryInfo">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="getRepositoryInfoResponse">
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="InvalidArgumentException">
<soap:fault use="literal" name="InvalidArgumentException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ConstraintViolationException">
<soap:fault use="literal" name="ConstraintViolationException" namespace="" />
</wsdl:fault>
<wsdl:fault name="RuntimeException">
<soap:fault use="literal" name="RuntimeException" namespace="" />
</wsdl:fault>
<wsdl:fault name="UpdateConflictException">
<soap:fault use="literal" name="UpdateConflictException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ObjectNotFoundException">
<soap:fault use="literal" name="ObjectNotFoundException" namespace="" />
</wsdl:fault>
<wsdl:fault name="OperationNotSupportedException">
<soap:fault use="literal" name="OperationNotSupportedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="PermissionDeniedException">
<soap:fault use="literal" name="PermissionDeniedException" namespace="" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getRepositories">
<soap:operation soapAction="" style="document" />
<wsdl:input name="getRepositories">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="getRepositoriesResponse">
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="InvalidArgumentException">
<soap:fault use="literal" name="InvalidArgumentException" namespace="" />
</wsdl:fault>
<wsdl:fault name="RuntimeException">
<soap:fault use="literal" name="RuntimeException" namespace="" />
</wsdl:fault>
<wsdl:fault name="UpdateConflictException">
<soap:fault use="literal" name="UpdateConflictException" namespace="" />
</wsdl:fault>
<wsdl:fault name="OperationNotSupportedException">
<soap:fault use="literal" name="OperationNotSupportedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="PermissionDeniedException">
<soap:fault use="literal" name="PermissionDeniedException" namespace="" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getTypes">
<soap:operation soapAction="" style="document" />
<wsdl:input name="getTypes">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="getTypesResponse">
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="InvalidArgumentException">
<soap:fault use="literal" name="InvalidArgumentException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ConstraintViolationException">
<soap:fault use="literal" name="ConstraintViolationException" namespace="" />
</wsdl:fault>
<wsdl:fault name="RuntimeException">
<soap:fault use="literal" name="RuntimeException" namespace="" />
</wsdl:fault>
<wsdl:fault name="UpdateConflictException">
<soap:fault use="literal" name="UpdateConflictException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ObjectNotFoundException">
<soap:fault use="literal" name="ObjectNotFoundException" namespace="" />
</wsdl:fault>
<wsdl:fault name="OperationNotSupportedException">
<soap:fault use="literal" name="OperationNotSupportedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="PermissionDeniedException">
<soap:fault use="literal" name="PermissionDeniedException" namespace="" />
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="RepositoryService">
<wsdl:port name="RepositoryServicePort" binding="tns:RepositoryServiceSoapBinding">
<soap:address location="https://localhost:8443/alfresco/cmis/RepositoryService" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

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="cmisAnyXml" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>WcfCmisWSTests.RepositoryService.cmisAnyXml</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="cmisRepositoryCapabilitiesType" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>WcfCmisWSTests.RepositoryService.cmisRepositoryCapabilitiesType</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.RepositoryService.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="cmisTypeDefinitionType" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>WcfCmisWSTests.RepositoryService.cmisTypeDefinitionType</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="cmisAnyXml" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>WcfTestClient.RepositoryService.cmisAnyXml</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="cmisRepositoryCapabilitiesType" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>WcfTestClient.RepositoryService.cmisRepositoryCapabilitiesType</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>WcfTestClient.RepositoryService.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="cmisTypeDefinitionType" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>WcfTestClient.RepositoryService.cmisTypeDefinitionType</TypeInfo>
</GenericObjectDataSource>

View File

@@ -0,0 +1,11 @@
<?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;RepositoryServiceSoapBinding&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;Transport&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="RepositoryServiceSoapBinding" />
<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;RepositoryServiceSoapBinding1&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="RepositoryServiceSoapBinding1" />
</bindings>
<endpoints>
<endpoint normalizedDigest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;https://localhost:8443/alfresco/cmis/RepositoryService&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;RepositoryServiceSoapBinding&quot; contract=&quot;RepositoryService.RepositoryServicePort&quot; name=&quot;RepositoryServicePort&quot; /&gt;" digest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;https://localhost:8443/alfresco/cmis/RepositoryService&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;RepositoryServiceSoapBinding&quot; contract=&quot;RepositoryService.RepositoryServicePort&quot; name=&quot;RepositoryServicePort&quot; /&gt;" contractName="RepositoryService.RepositoryServicePort" name="RepositoryServicePort" />
</endpoints>
</configurationSnapshot>

View File

@@ -0,0 +1,280 @@
<?xml version="1.0" encoding="utf-8"?>
<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="TPggVOITBALhP5hODf94s4ZOY38=">
<bindingConfigurations>
<bindingConfiguration bindingType="basicHttpBinding" name="RepositoryServiceSoapBinding">
<properties>
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>RepositoryServiceSoapBinding</serializedValue>
</property>
<property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:10:00</serializedValue>
</property>
<property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>StrongWildcard</serializedValue>
</property>
<property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>65536</serializedValue>
</property>
<property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>524288</serializedValue>
</property>
<property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>65536</serializedValue>
</property>
<property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Text</serializedValue>
</property>
<property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue>
</property>
<property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>32</serializedValue>
</property>
<property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>8192</serializedValue>
</property>
<property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>16384</serializedValue>
</property>
<property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>4096</serializedValue>
</property>
<property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>16384</serializedValue>
</property>
<property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue>
</property>
<property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Transport</serializedValue>
</property>
<property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue>
</property>
<property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue>
</property>
<property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>UserName</serializedValue>
</property>
<property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Basic256</serializedValue>
</property>
<property path="/textEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.Text.UTF8Encoding</serializedValue>
</property>
<property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Buffered</serializedValue>
</property>
<property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>True</serializedValue>
</property>
</properties>
</bindingConfiguration>
<bindingConfiguration bindingType="basicHttpBinding" name="RepositoryServiceSoapBinding1">
<properties>
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>RepositoryServiceSoapBinding1</serializedValue>
</property>
<property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:10:00</serializedValue>
</property>
<property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>StrongWildcard</serializedValue>
</property>
<property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>65536</serializedValue>
</property>
<property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>524288</serializedValue>
</property>
<property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>65536</serializedValue>
</property>
<property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Text</serializedValue>
</property>
<property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue>
</property>
<property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>32</serializedValue>
</property>
<property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>8192</serializedValue>
</property>
<property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>16384</serializedValue>
</property>
<property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>4096</serializedValue>
</property>
<property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>16384</serializedValue>
</property>
<property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue>
</property>
<property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue>
</property>
<property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue>
</property>
<property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>UserName</serializedValue>
</property>
<property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Basic256</serializedValue>
</property>
<property path="/textEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.Text.UTF8Encoding</serializedValue>
</property>
<property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Buffered</serializedValue>
</property>
<property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>True</serializedValue>
</property>
</properties>
</bindingConfiguration>
</bindingConfigurations>
<endpoints>
<endpoint name="RepositoryServicePort" contract="RepositoryService.RepositoryServicePort" bindingType="basicHttpBinding" address="https://localhost:8443/alfresco/cmis/RepositoryService" bindingConfiguration="RepositoryServiceSoapBinding">
<properties>
<property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>https://localhost:8443/alfresco/cmis/RepositoryService</serializedValue>
</property>
<property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>basicHttpBinding</serializedValue>
</property>
<property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>RepositoryServiceSoapBinding</serializedValue>
</property>
<property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>RepositoryService.RepositoryServicePort</serializedValue>
</property>
<property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue>
</property>
<property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>&lt;Header /&gt;</serializedValue>
</property>
<property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue>
</property>
<property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue>
</property>
<property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue>
</property>
<property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue>
</property>
<property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue>
</property>
<property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue>
</property>
<property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue>
</property>
<property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>My</serializedValue>
</property>
<property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>LocalMachine</serializedValue>
</property>
<property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>FindBySubjectDistinguishedName</serializedValue>
</property>
<property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>RepositoryServicePort</serializedValue>
</property>
</properties>
</endpoint>
</endpoints>
</SavedWcfConfigurationInformation>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,30 @@
<?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="e26f055b-88a1-4a73-86e8-54656a069a05" 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="https://localhost:8443/alfresco/cmis/VersioningService?wsdl" Protocol="http" SourceId="1" />
</MetadataSources>
<Metadata>
<MetadataFile FileName="VersioningService.wsdl" MetadataType="Wsdl" ID="18f6afe6-118a-4463-a3cc-a5c750531366" SourceId="1" SourceUrl="https://localhost:8443/alfresco/cmis/VersioningService?wsdl" />
<MetadataFile FileName="VersioningServicePort.wsdl" MetadataType="Wsdl" ID="f9eb7bb3-2463-42f1-a0d1-e375ad15ce7f" SourceId="1" SourceUrl="https://localhost:8443/alfresco/cmis/VersioningService?wsdl=VersioningServicePort.wsdl" />
</Metadata>
<Extensions>
<ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" />
<ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" />
</Extensions>
</ReferenceGroup>

View File

@@ -0,0 +1,235 @@
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:tns="http://www.cmis.org/ns/1.0" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:ns1="http://www.cmis.org/2008/05" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://cxf.apache.org/bindings/xformat" name="VersioningService" targetNamespace="http://www.cmis.org/ns/1.0" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:import namespace="http://www.cmis.org/2008/05" location="https://localhost:8443/alfresco/cmis/VersioningService?wsdl=VersioningServicePort.wsdl" />
<wsdl:types />
<wsdl:message name="checkOut">
<wsdl:part name="parameters" element="ns1:checkOut" />
</wsdl:message>
<wsdl:message name="getAllVersions">
<wsdl:part name="parameters" element="ns1:getAllVersions" />
</wsdl:message>
<wsdl:message name="checkInResponse">
<wsdl:part name="parameters" element="ns1:checkInResponse" />
</wsdl:message>
<wsdl:message name="cancelCheckOutResponse">
<wsdl:part name="parameters" element="ns1:cancelCheckOutResponse" />
</wsdl:message>
<wsdl:message name="getAllVersionsResponse">
<wsdl:part name="parameters" element="ns1:getAllVersionsResponse" />
</wsdl:message>
<wsdl:message name="getPropertiesOfLatestVersion">
<wsdl:part name="parameters" element="ns1:getPropertiesOfLatestVersion" />
</wsdl:message>
<wsdl:message name="cancelCheckOut">
<wsdl:part name="parameters" element="ns1:cancelCheckOut" />
</wsdl:message>
<wsdl:message name="checkOutResponse">
<wsdl:part name="parameters" element="ns1:checkOutResponse" />
</wsdl:message>
<wsdl:message name="deleteAllVersions">
<wsdl:part name="parameters" element="ns1:deleteAllVersions" />
</wsdl:message>
<wsdl:message name="getPropertiesOfLatestVersionResponse">
<wsdl:part name="parameters" element="ns1:getPropertiesOfLatestVersionResponse" />
</wsdl:message>
<wsdl:message name="deleteAllVersionsResponse">
<wsdl:part name="parameters" element="ns1:deleteAllVersionsResponse" />
</wsdl:message>
<wsdl:message name="checkIn">
<wsdl:part name="parameters" element="ns1:checkIn" />
</wsdl:message>
<wsdl:binding name="VersioningServiceSoapBinding" type="ns1:VersioningServicePort">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="checkOut">
<soap:operation soapAction="" style="document" />
<wsdl:input name="checkOut">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="checkOutResponse">
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="InvalidArgumentException">
<soap:fault use="literal" name="InvalidArgumentException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ConstraintViolationException">
<soap:fault use="literal" name="ConstraintViolationException" namespace="" />
</wsdl:fault>
<wsdl:fault name="RuntimeException">
<soap:fault use="literal" name="RuntimeException" namespace="" />
</wsdl:fault>
<wsdl:fault name="UpdateConflictException">
<soap:fault use="literal" name="UpdateConflictException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ObjectNotFoundException">
<soap:fault use="literal" name="ObjectNotFoundException" namespace="" />
</wsdl:fault>
<wsdl:fault name="OperationNotSupportedException">
<soap:fault use="literal" name="OperationNotSupportedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="PermissionDeniedException">
<soap:fault use="literal" name="PermissionDeniedException" namespace="" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="checkIn">
<soap:operation soapAction="" style="document" />
<wsdl:input name="checkIn">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="checkInResponse">
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="InvalidArgumentException">
<soap:fault use="literal" name="InvalidArgumentException" namespace="" />
</wsdl:fault>
<wsdl:fault name="StorageException">
<soap:fault use="literal" name="StorageException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ConstraintViolationException">
<soap:fault use="literal" name="ConstraintViolationException" namespace="" />
</wsdl:fault>
<wsdl:fault name="RuntimeException">
<soap:fault use="literal" name="RuntimeException" namespace="" />
</wsdl:fault>
<wsdl:fault name="UpdateConflictException">
<soap:fault use="literal" name="UpdateConflictException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ObjectNotFoundException">
<soap:fault use="literal" name="ObjectNotFoundException" namespace="" />
</wsdl:fault>
<wsdl:fault name="StreamNotSupportedException">
<soap:fault use="literal" name="StreamNotSupportedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="OperationNotSupportedException">
<soap:fault use="literal" name="OperationNotSupportedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="PermissionDeniedException">
<soap:fault use="literal" name="PermissionDeniedException" namespace="" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="cancelCheckOut">
<soap:operation soapAction="" style="document" />
<wsdl:input name="cancelCheckOut">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="cancelCheckOutResponse">
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="InvalidArgumentException">
<soap:fault use="literal" name="InvalidArgumentException" namespace="" />
</wsdl:fault>
<wsdl:fault name="RuntimeException">
<soap:fault use="literal" name="RuntimeException" namespace="" />
</wsdl:fault>
<wsdl:fault name="UpdateConflictException">
<soap:fault use="literal" name="UpdateConflictException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ObjectNotFoundException">
<soap:fault use="literal" name="ObjectNotFoundException" namespace="" />
</wsdl:fault>
<wsdl:fault name="OperationNotSupportedException">
<soap:fault use="literal" name="OperationNotSupportedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="PermissionDeniedException">
<soap:fault use="literal" name="PermissionDeniedException" namespace="" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getPropertiesOfLatestVersion">
<soap:operation soapAction="" style="document" />
<wsdl:input name="getPropertiesOfLatestVersion">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="getPropertiesOfLatestVersionResponse">
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="InvalidArgumentException">
<soap:fault use="literal" name="InvalidArgumentException" namespace="" />
</wsdl:fault>
<wsdl:fault name="RuntimeException">
<soap:fault use="literal" name="RuntimeException" namespace="" />
</wsdl:fault>
<wsdl:fault name="FilterNotValidException">
<soap:fault use="literal" name="FilterNotValidException" namespace="" />
</wsdl:fault>
<wsdl:fault name="UpdateConflictException">
<soap:fault use="literal" name="UpdateConflictException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ObjectNotFoundException">
<soap:fault use="literal" name="ObjectNotFoundException" namespace="" />
</wsdl:fault>
<wsdl:fault name="OperationNotSupportedException">
<soap:fault use="literal" name="OperationNotSupportedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="PermissionDeniedException">
<soap:fault use="literal" name="PermissionDeniedException" namespace="" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getAllVersions">
<soap:operation soapAction="" style="document" />
<wsdl:input name="getAllVersions">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="getAllVersionsResponse">
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="InvalidArgumentException">
<soap:fault use="literal" name="InvalidArgumentException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ConstraintViolationException">
<soap:fault use="literal" name="ConstraintViolationException" namespace="" />
</wsdl:fault>
<wsdl:fault name="RuntimeException">
<soap:fault use="literal" name="RuntimeException" namespace="" />
</wsdl:fault>
<wsdl:fault name="FilterNotValidException">
<soap:fault use="literal" name="FilterNotValidException" namespace="" />
</wsdl:fault>
<wsdl:fault name="UpdateConflictException">
<soap:fault use="literal" name="UpdateConflictException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ObjectNotFoundException">
<soap:fault use="literal" name="ObjectNotFoundException" namespace="" />
</wsdl:fault>
<wsdl:fault name="OperationNotSupportedException">
<soap:fault use="literal" name="OperationNotSupportedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="PermissionDeniedException">
<soap:fault use="literal" name="PermissionDeniedException" namespace="" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="deleteAllVersions">
<soap:operation soapAction="" style="document" />
<wsdl:input name="deleteAllVersions">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="deleteAllVersionsResponse">
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="InvalidArgumentException">
<soap:fault use="literal" name="InvalidArgumentException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ConstraintViolationException">
<soap:fault use="literal" name="ConstraintViolationException" namespace="" />
</wsdl:fault>
<wsdl:fault name="RuntimeException">
<soap:fault use="literal" name="RuntimeException" namespace="" />
</wsdl:fault>
<wsdl:fault name="UpdateConflictException">
<soap:fault use="literal" name="UpdateConflictException" namespace="" />
</wsdl:fault>
<wsdl:fault name="ObjectNotFoundException">
<soap:fault use="literal" name="ObjectNotFoundException" namespace="" />
</wsdl:fault>
<wsdl:fault name="OperationNotSupportedException">
<soap:fault use="literal" name="OperationNotSupportedException" namespace="" />
</wsdl:fault>
<wsdl:fault name="PermissionDeniedException">
<soap:fault use="literal" name="PermissionDeniedException" namespace="" />
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="VersioningService">
<wsdl:port name="VersioningServicePort" binding="tns:VersioningServiceSoapBinding">
<soap:address location="https://localhost:8443/alfresco/cmis/VersioningService" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

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.VersioningService.cmisObjectType, Service References.VersioningService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</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>WcfTestClient.VersioningService.cmisObjectType, Service References.VersioningService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

View File

@@ -0,0 +1,11 @@
<?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;VersioningServiceSoapBinding&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;Transport&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="VersioningServiceSoapBinding" />
<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;VersioningServiceSoapBinding1&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="VersioningServiceSoapBinding1" />
</bindings>
<endpoints>
<endpoint normalizedDigest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;https://localhost:8443/alfresco/cmis/VersioningService&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;VersioningServiceSoapBinding&quot; contract=&quot;VersioningService.VersioningServicePort&quot; name=&quot;VersioningServicePort&quot; /&gt;" digest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;https://localhost:8443/alfresco/cmis/VersioningService&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;VersioningServiceSoapBinding&quot; contract=&quot;VersioningService.VersioningServicePort&quot; name=&quot;VersioningServicePort&quot; /&gt;" contractName="VersioningService.VersioningServicePort" name="VersioningServicePort" />
</endpoints>
</configurationSnapshot>

View File

@@ -0,0 +1,280 @@
<?xml version="1.0" encoding="utf-8"?>
<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="FYeSiiTwgLKt61QTMc+qwJoFvFI=">
<bindingConfigurations>
<bindingConfiguration bindingType="basicHttpBinding" name="VersioningServiceSoapBinding">
<properties>
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>VersioningServiceSoapBinding</serializedValue>
</property>
<property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:10:00</serializedValue>
</property>
<property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>StrongWildcard</serializedValue>
</property>
<property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>65536</serializedValue>
</property>
<property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>524288</serializedValue>
</property>
<property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>65536</serializedValue>
</property>
<property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Text</serializedValue>
</property>
<property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue>
</property>
<property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>32</serializedValue>
</property>
<property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>8192</serializedValue>
</property>
<property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>16384</serializedValue>
</property>
<property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>4096</serializedValue>
</property>
<property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>16384</serializedValue>
</property>
<property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue>
</property>
<property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Transport</serializedValue>
</property>
<property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue>
</property>
<property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue>
</property>
<property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>UserName</serializedValue>
</property>
<property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Basic256</serializedValue>
</property>
<property path="/textEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.Text.UTF8Encoding</serializedValue>
</property>
<property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Buffered</serializedValue>
</property>
<property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>True</serializedValue>
</property>
</properties>
</bindingConfiguration>
<bindingConfiguration bindingType="basicHttpBinding" name="VersioningServiceSoapBinding1">
<properties>
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>VersioningServiceSoapBinding1</serializedValue>
</property>
<property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:10:00</serializedValue>
</property>
<property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>StrongWildcard</serializedValue>
</property>
<property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>65536</serializedValue>
</property>
<property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>524288</serializedValue>
</property>
<property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>65536</serializedValue>
</property>
<property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Text</serializedValue>
</property>
<property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue>
</property>
<property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>32</serializedValue>
</property>
<property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>8192</serializedValue>
</property>
<property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>16384</serializedValue>
</property>
<property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>4096</serializedValue>
</property>
<property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>16384</serializedValue>
</property>
<property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue>
</property>
<property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue>
</property>
<property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue>
</property>
<property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>UserName</serializedValue>
</property>
<property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Basic256</serializedValue>
</property>
<property path="/textEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.Text.UTF8Encoding</serializedValue>
</property>
<property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Buffered</serializedValue>
</property>
<property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>True</serializedValue>
</property>
</properties>
</bindingConfiguration>
</bindingConfigurations>
<endpoints>
<endpoint name="VersioningServicePort" contract="VersioningService.VersioningServicePort" bindingType="basicHttpBinding" address="https://localhost:8443/alfresco/cmis/VersioningService" bindingConfiguration="VersioningServiceSoapBinding">
<properties>
<property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>https://localhost:8443/alfresco/cmis/VersioningService</serializedValue>
</property>
<property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>basicHttpBinding</serializedValue>
</property>
<property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>VersioningServiceSoapBinding</serializedValue>
</property>
<property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>VersioningService.VersioningServicePort</serializedValue>
</property>
<property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue>
</property>
<property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>&lt;Header /&gt;</serializedValue>
</property>
<property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue>
</property>
<property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue>
</property>
<property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue>
</property>
<property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue>
</property>
<property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue>
</property>
<property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue>
</property>
<property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue>
</property>
<property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>My</serializedValue>
</property>
<property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>LocalMachine</serializedValue>
</property>
<property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>FindBySubjectDistinguishedName</serializedValue>
</property>
<property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>VersioningServicePort</serializedValue>
</property>
</properties>
</endpoint>
</endpoints>
</SavedWcfConfigurationInformation>

View File

@@ -0,0 +1,720 @@
using System;
using System.Text;
using NUnit.Framework;
using System.ServiceModel;
using System.Collections.Generic;
using WcfTestClient.ObjectService;
using WcfTestClient.DiscoveryService;
using WcfTestClient.NavigationService;
using WcfTestClient.RepositoryService;
using WcfTestClient.VersioningService;
using WcfTestClient.MultiFilingService;
///
/// author: Dmitry Velichkevich
///
namespace WcfCmisWSTests {
public abstract class AbstractCmisServicesHelper {
public const int MINIMAL_ARRAY_LIKE_STRUCTURES_LENGTH = 1;
public const string TEXTUAL_ZERO = "0";
public const string ANY_PROPERTY_FILTER = "*";
public const string DOCUMENT_TYPE = "document";
public const string FOLDER_TYPE = "folder";
public const string NAME_PROPERTY = "Name";
public const string OBJECT_IDENTIFIER_PROPERTY = "ObjectId";
public const string TEXT_DOCUMENT_POSTFIX = ".txt";
public const string TEXT_DOCUMENT_MIMETYPE = "plain/text";
public const string DEFAULT_ENCODING = "utf-8";
public const string TEST_DOCUMENT_CONTENT_ENTRY_TEXT = "Test document Content Entry";
public static CmisTypesConverter<WcfTestClient.ObjectService.cmisProperty[],
WcfTestClient.NavigationService.cmisProperty[]> NAVIGATION_CONVERTER =
new NavigationServiceToObjectServiceTypesConverter();
public static CmisTypesConverter<WcfTestClient.ObjectService.cmisProperty[],
WcfTestClient.VersioningService.cmisProperty[]> VERSIONING_CONVERTER =
new VersioningServiceToObjectServiceTypesConverter();
private const int ARRAY_BASED_STRUCTURE_BEING_INDEX = 0;
private const int SAMPLE_LENGTH_MINUS_ONE_ODDS = 2;
private const int MAXIMUM_ODD_OBJECTS_AMOUNT = 5;
private const int NEAR_ZERO_RANDOM_MAXIMUM = 3;
private const string DELIMETER = "/";
private const string DEFAULT_ADMIN_USERNAME = "admin";
private const string DEFAULT_ADMIN_PASSWORD = "admin";
private const string CHECKED_OUT_PROPERTY = "IsVersionSeriesCheckedOut";
private const string LATEST_VERSION_PROPERTY = "IsLatestVersion";
private const string FOLDER_NAME_PREFIX = "TestFolder (";
private const string DOCUMENT_NAME_PREFIX = "TestDocument (";
private const string CMIS_OBJECTS_DELETION_FAILED_MESSAGE_PATTERN = "{0} with Id {1} was not deleted";
private const string CMIS_HTTP_BINDING_CONFIGURATION_NAME = "cmisUnsecureHttpBinding";
private const string SECURE_HTTP_SCHEMA = "https";
private static string DEFAULT_REQUEST_URL_BEGIN = "http://localhost:8080";
private const string COMMON_SERVICE_URL_PATTERN = "{0}/alfresco/cmis/{1}?wsdl";
private const string REPOSITORY_SERVICE_NAME = "RepositoryService";
private const string OBJECT_SERVICE_NAME = "ObjectService";
private const string NAVIGATION_SERVICE_NAME = "NavigationService";
private const string MULTIFILING_SERVICE_NAME = "MultiFilingService";
private const string VERSIONING_SERVICE_NAME = "VersioningService";
private const string DISCOVERY_SERVICE_NAME = "DiscoveryService";
private static byte[] testDocumentContentEntry = Encoding.GetEncoding(DEFAULT_ENCODING)
.GetBytes(TEST_DOCUMENT_CONTENT_ENTRY_TEXT);
private static string userName = DEFAULT_ADMIN_USERNAME;
private static string password = DEFAULT_ADMIN_PASSWORD;
public static RepositoryServicePortClient createRepositoryServiceClient() {
EndpointAddress serviceAddress = new EndpointAddress(string.Format(COMMON_SERVICE_URL_PATTERN,
new object[] {DEFAULT_REQUEST_URL_BEGIN, REPOSITORY_SERVICE_NAME}));
RepositoryServicePortClient result = new RepositoryServicePortClient(createBindingFromConfig(
serviceAddress), serviceAddress);
result.ChannelFactory.Endpoint.Behaviors.Add(new SoapRequestHeaderProcessorAttribute(UserName, Password));
return result;
}
public static ObjectServicePortClient createObjectServiceClient() {
EndpointAddress serviceAddress = new EndpointAddress(string.Format(COMMON_SERVICE_URL_PATTERN,
new object[] {DEFAULT_REQUEST_URL_BEGIN, OBJECT_SERVICE_NAME}));
ObjectServicePortClient result = new ObjectServicePortClient(createBindingFromConfig(serviceAddress, true),
serviceAddress);
result.ChannelFactory.Endpoint.Behaviors.Add(new SoapRequestHeaderProcessorAttribute(UserName, Password));
return result;
}
public static ObjectServicePortClient createObjectServiceClient(string customUserName, string customPassword) {
userName = customUserName;
password = customPassword;
WcfTestClient.ObjectService.ObjectServicePortClient result = createObjectServiceClient();
userName = DEFAULT_ADMIN_USERNAME;
password = DEFAULT_ADMIN_PASSWORD;
return result;
}
public static NavigationServicePortClient createNavigationServiceClient() {
EndpointAddress serviceAddress = new EndpointAddress(string.Format(COMMON_SERVICE_URL_PATTERN,
new object[] {DEFAULT_REQUEST_URL_BEGIN, NAVIGATION_SERVICE_NAME}));
NavigationServicePortClient result = new NavigationServicePortClient(createBindingFromConfig(
serviceAddress), serviceAddress);
result.ChannelFactory.Endpoint.Behaviors.Add(new SoapRequestHeaderProcessorAttribute(UserName, Password));
return result;
}
public static VersioningServicePortClient createVersioningServiceClient() {
EndpointAddress serviceAddress = new EndpointAddress(string.Format(COMMON_SERVICE_URL_PATTERN,
new object[] {DEFAULT_REQUEST_URL_BEGIN, VERSIONING_SERVICE_NAME}));
VersioningServicePortClient result = new VersioningServicePortClient(createBindingFromConfig(
serviceAddress), serviceAddress);
result.ChannelFactory.Endpoint.Behaviors.Add(new SoapRequestHeaderProcessorAttribute(UserName, Password));
return result;
}
public static DiscoveryServicePortClient createDiscoveryServiceClient() {
EndpointAddress serviceAddress = new EndpointAddress(string.Format(COMMON_SERVICE_URL_PATTERN,
new object[] {DEFAULT_REQUEST_URL_BEGIN, DISCOVERY_SERVICE_NAME}));
DiscoveryServicePortClient result = new DiscoveryServicePortClient(createBindingFromConfig(
serviceAddress), serviceAddress);
result.ChannelFactory.Endpoint.Behaviors.Add(new SoapRequestHeaderProcessorAttribute(UserName, Password));
return result;
}
public static MultiFilingServicePortClient createMultiFilingServiceClient() {
EndpointAddress serviceAddress = new EndpointAddress(string.Format(COMMON_SERVICE_URL_PATTERN,
new object[] {DEFAULT_REQUEST_URL_BEGIN, MULTIFILING_SERVICE_NAME}));
MultiFilingServicePortClient result = new MultiFilingServicePortClient(createBindingFromConfig(
serviceAddress), serviceAddress);
result.ChannelFactory.Endpoint.Behaviors.Add(new SoapRequestHeaderProcessorAttribute(UserName, Password));
return result;
}
public static string getAndAssertRepositoryId() {
RepositoryServicePortClient client = createRepositoryServiceClient();
WcfTestClient.RepositoryService.cmisRepositoryEntryType[] repositories = client.getRepositories();
assertRepositoriesResponse(repositories);
return repositories[0].repositoryID;
}
public static string getAndAssertRootFolder() {
return performManipulationsAndAssertionWrapping(new RootFolderReceiverStrategy());
}
public static string generateObjectName(string postfix) {
bool document = ((postfix != null) && (postfix.Length >= MINIMAL_ARRAY_LIKE_STRUCTURES_LENGTH));
return ((document) ? (DOCUMENT_NAME_PREFIX):(FOLDER_NAME_PREFIX)) + DateTime.Now.Ticks.ToString() + ")" +
((document) ? (postfix):(string.Empty));
}
public static WcfTestClient.ObjectService.cmisPropertiesType createCmisObjectProperties(string documentName) {
WcfTestClient.ObjectService.cmisPropertiesType result =
new WcfTestClient.ObjectService.cmisPropertiesType();
WcfTestClient.ObjectService.cmisPropertyString nameProperty =
new WcfTestClient.ObjectService.cmisPropertyString();
nameProperty.value = documentName;
nameProperty.name = NAME_PROPERTY;
result.Items = new WcfTestClient.ObjectService.cmisProperty[] {nameProperty};
return result;
}
public static byte[] getTestDocumentContentEntry() {
return testDocumentContentEntry;
}
public static WcfTestClient.ObjectService.cmisContentStreamType createCmisDocumentContent(string documentName,
string mimeType, byte[] contentEntry) {
WcfTestClient.ObjectService.cmisContentStreamType result =
new WcfTestClient.ObjectService.cmisContentStreamType();
result.filename = documentName;
result.length = contentEntry.Length.ToString();
result.mimeType = mimeType;
result.stream = contentEntry;
return result;
}
public static string createAndAssertDocument(string documentName, string parentFolder, string mimeType,
byte[] contentEntry) {
return performManipulationsAndAssertionWrapping(new DocumentCreatorStrategy(documentName, parentFolder,
mimeType, enumVersioningState.major, contentEntry));
}
public static string createAndAssertDocument(string documentName, string parentFolder, string mimeType,
enumVersioningState versioningState, byte[] contentEntry) {
return performManipulationsAndAssertionWrapping(new DocumentCreatorStrategy(documentName, parentFolder,
mimeType, versioningState, contentEntry));
}
public static string createAndAssertFolder(string folderName, string parentFolder) {
return performManipulationsAndAssertionWrapping(new FolderCreatorStrategy(folderName, parentFolder));
}
public static string[] createAndAssertFileFolderHierarchy(int depth, int minimalChildrenAmount,
int maximumChildrenAmount, bool withoutDocuments) {
List<string> hierarchyObjects = new List<string>();
Queue<KeyValuePair<int, string>> folders = createAndInitializeFoldersQueue(hierarchyObjects);
Random randomCounter = new Random();
while((folders.Count > 0) && (folders.Peek().Key <= (depth - 1))) {
createObjectsForCurrentLevel(minimalChildrenAmount, maximumChildrenAmount, withoutDocuments,
hierarchyObjects, folders, randomCounter, folders.Dequeue());
}
return hierarchyObjects.ToArray();
}
public static WcfTestClient.ObjectService.cmisPropertiesType getObjectProperties(string objectId,
bool assertResults) {
WcfTestClient.ObjectService.ObjectServicePortClient client = createObjectServiceClient();
WcfTestClient.ObjectService.cmisObjectType result = client.getProperties(
getAndAssertRepositoryId(), objectId,
enumReturnVersion.latest, ANY_PROPERTY_FILTER,
false, false);
if(assertResults) {
assertrObjectProperties(result);
}
return (result != null) ? (result.properties):(null);
}
public static object searchPropertyAndGetValueByName(WcfTestClient.ObjectService.cmisProperty[] properties,
string propertyName) {
foreach(WcfTestClient.ObjectService.cmisProperty property in properties) {
if ((property.name != null) && property.name.Equals(propertyName)) {
return determinePropertyValue(property);
}
}
return null;
}
public static void deleteAndAssertDocument(string documentId) {
WcfTestClient.ObjectService.ObjectServicePortClient client = createObjectServiceClient();
client.deleteObject(getAndAssertRepositoryId(), documentId);
assertObjectAbsence(documentId, DOCUMENT_TYPE);
}
public static void deleteAndAssertFolder(string folderId, bool notEmptyBehaviour) {
WcfTestClient.ObjectService.ObjectServicePortClient client = createObjectServiceClient();
try {
client.deleteObject(getAndAssertRepositoryId(), folderId);
determineAssertionFailed(notEmptyBehaviour, "Not empty folder was deleted");
} catch (Exception e) {
determineAssertionFailed(!notEmptyBehaviour, e.Message);
}
assertObjectAbsence(folderId, FOLDER_TYPE);
}
public static void assertDocumentParents(string documentId, string[] expectedParentsIds) {
performParentsReceivingWrapping(new ObjectParentsReceiverStrategy(documentId), expectedParentsIds);
}
public static void assertFolderParents(string folderId, string[] expectedParentsIds, bool allParents) {
performParentsReceivingWrapping(new FolderParentsReceiverStrategy(folderId, allParents), expectedParentsIds);
}
public static void deleteAndAssertHierarchy(string[] hierarchyObjectsIds) {
WcfTestClient.ObjectService.ObjectServicePortClient client = createObjectServiceClient();
string[] undeletedObjectsIds = client.deleteTree(getAndAssertRepositoryId(), hierarchyObjectsIds[0],
enumUnfileNonfolderObjects.delete, true);
Assert.IsNotNull(undeletedObjectsIds);
Assert.AreEqual(undeletedObjectsIds.Length, ARRAY_BASED_STRUCTURE_BEING_INDEX);
foreach(string objectId in hierarchyObjectsIds) {
assertObjectAbsence(objectId, null);
}
}
public static string[] addOneMoreParent(string documentId, string parentFolderId) {
string repositoryId = getAndAssertRepositoryId();
string[] result = receiveOldParentsList(parentFolderId, createNavigationServiceClient().getObjectParents(
repositoryId, documentId, ANY_PROPERTY_FILTER, false, false));
createMultiFilingServiceClient().addObjectToFolder(repositoryId, documentId, parentFolderId);
return result;
}
public static KeyValuePair<string, KeyValuePair<string, string[]>> createMultiFilledDocument(
string primaryFolderId) {
string documentId = createAndAssertDocument(generateObjectName(TEXT_DOCUMENT_POSTFIX), primaryFolderId,
TEXT_DOCUMENT_MIMETYPE, testDocumentContentEntry);
string folderId = createAndAssertFolder(generateObjectName(null), primaryFolderId);
return new KeyValuePair<string, KeyValuePair<string, string[]>>(folderId, new KeyValuePair<string,
string[]>(documentId, addOneMoreParent(documentId, folderId)));
}
public static string checkOutAndAssert(string documentId) {
bool copied;
createVersioningServiceClient().checkOut(getAndAssertRepositoryId(), ref documentId, out copied);
assertCheckedOutDocument(documentId, copied);
return documentId;
}
public static void assertCheckedOutDocument(string documentId, bool copied) {
Assert.IsNotNull(documentId);
Assert.IsTrue(copied && (bool)searchPropertyAndGetValueByName(getObjectProperties(documentId, true).Items,
CHECKED_OUT_PROPERTY));
}
public static void cancelCheckOutAndAssert(string checkedOutDocumentId) {
createVersioningServiceClient().cancelCheckOut(getAndAssertRepositoryId(), checkedOutDocumentId);
assertObjectAbsence(checkedOutDocumentId, null);
}
public static void getAndAssertLatestVersionProperties(string versionSeriesId, string name,
string expectedVersionSuffix, bool onlyLatest) {
VersioningServicePortClient client = createVersioningServiceClient();
WcfTestClient.VersioningService.cmisObjectType response = client.getPropertiesOfLatestVersion(
getAndAssertRepositoryId(), versionSeriesId, false, ANY_PROPERTY_FILTER);
asserLatestVersionProperties(versionSeriesId, name, expectedVersionSuffix, onlyLatest, response);
}
public static void assertActualIdsFromObjectsWithSpecified(WcfTestClient.NavigationService.cmisObjectType[]
actualObjects, string[] expectedIds) {
bool value;
Dictionary<string, bool> expectedIdsMap = createExpectedParentsIdsMap(expectedIds);
foreach (WcfTestClient.NavigationService.cmisObjectType actualParent in actualObjects) {
Assert.IsTrue(expectedIdsMap.TryGetValue((string)searchPropertyAndGetValueByName(
NAVIGATION_CONVERTER.convertProperties(actualParent.properties.Items),
OBJECT_IDENTIFIER_PROPERTY), out value));
}
}
public static string UserName {
get {
return userName;
}
}
public static string Password {
get {
return password;
}
}
private AbstractCmisServicesHelper() {
}
private static BasicHttpBinding createBindingFromConfig(EndpointAddress serviceAddress, bool mtomEncoding) {
BasicHttpBinding result = createBindingFromConfig(serviceAddress);
result.MessageEncoding = (mtomEncoding) ? (WSMessageEncoding.Mtom):(WSMessageEncoding.Text);
return result;
}
private static BasicHttpBinding createBindingFromConfig(EndpointAddress serviceAddress) {
BasicHttpBinding result = new BasicHttpBinding(CMIS_HTTP_BINDING_CONFIGURATION_NAME);
if(serviceAddress.Uri.Scheme.ToLower().Equals(SECURE_HTTP_SCHEMA)) {
result.Security.Mode = BasicHttpSecurityMode.Transport;
}
return result;
}
private static string performManipulationsAndAssertionWrapping(CmisManipulationsStrategy<
string> createVisitor) {
string result = null;
try {
result = createVisitor.performManipulations();
Assert.IsNotNull(result);
Assert.IsTrue(result.Length > MINIMAL_ARRAY_LIKE_STRUCTURES_LENGTH);
} catch(Exception e) {
Assert.Fail(e.Message);
}
return result;
}
private static void performParentsReceivingWrapping(CmisManipulationsStrategy<
WcfTestClient.NavigationService.cmisObjectType[]> receiver, string[] expectedParentsIds) {
WcfTestClient.NavigationService.cmisObjectType[] actualParents = receiver.performManipulations();
Assert.IsTrue(actualParents != null);
Assert.AreEqual(expectedParentsIds.Length, actualParents.Length);
assertActualIdsFromObjectsWithSpecified(actualParents, expectedParentsIds);
}
private static void assertRepositoriesResponse(WcfTestClient.RepositoryService.cmisRepositoryEntryType[]
repositories) {
Assert.IsNotNull(repositories);
Assert.IsNotNull(repositories[0]);
Assert.IsTrue(repositories[0].repositoryID.Length > MINIMAL_ARRAY_LIKE_STRUCTURES_LENGTH);
}
private static void assertrObjectProperties(WcfTestClient.ObjectService.cmisObjectType result) {
Assert.IsNotNull(result);
Assert.IsNotNull(result.properties);
Assert.IsNotNull(result.properties.Items);
Assert.IsTrue(result.properties.Items.Length >= MINIMAL_ARRAY_LIKE_STRUCTURES_LENGTH);
Assert.IsNotNull(searchPropertyAndGetValueByName(result.properties.Items, NAME_PROPERTY));
}
private static void assertObjectAbsence(string objectId, string objectName) {
try {
getObjectProperties(objectId, false);
Assert.Fail(string.Format(CMIS_OBJECTS_DELETION_FAILED_MESSAGE_PATTERN, new object[] {objectName,
objectId}));
} catch (Exception) {
}
}
private static object determinePropertyValue(WcfTestClient.ObjectService.cmisProperty property) {
if(property is WcfTestClient.ObjectService.cmisPropertyString) {
return ((WcfTestClient.ObjectService.cmisPropertyString)property).value;
}
if(property is WcfTestClient.ObjectService.cmisPropertyBoolean) {
return ((WcfTestClient.ObjectService.cmisPropertyBoolean)property).value;
}
if(property is WcfTestClient.ObjectService.cmisPropertyDateTime) {
return ((WcfTestClient.ObjectService.cmisPropertyDateTime)property).value;
}
if(property is WcfTestClient.ObjectService.cmisPropertyDecimal) {
return ((WcfTestClient.ObjectService.cmisPropertyDecimal)property).value;
}
if(property is WcfTestClient.ObjectService.cmisPropertyId) {
return ((WcfTestClient.ObjectService.cmisPropertyId)property).value;
}
if(property is WcfTestClient.ObjectService.cmisPropertyInteger) {
return ((WcfTestClient.ObjectService.cmisPropertyInteger)property).value;
}
if(property is WcfTestClient.ObjectService.cmisPropertyUri) {
return ((WcfTestClient.ObjectService.cmisPropertyUri)property).value;
}
return null;
}
private static void determineAssertionFailed(bool assertionCondition, string message) {
if(assertionCondition) {
Assert.Fail(message);
}
}
private static System.Collections.Generic.Dictionary<string, bool> createExpectedParentsIdsMap(
string[] expectedIds) {
System.Collections.Generic.Dictionary<string, bool> result =
new System.Collections.Generic.Dictionary<string, bool>();
foreach (string key in expectedIds) {
result.Add(key, false);
}
return result;
}
private static Queue<KeyValuePair<int, string>> createAndInitializeFoldersQueue(
List<string> hierarchyObjects) {
Queue<KeyValuePair<int, string>> result = new Queue<KeyValuePair<int, string>>();
result.Enqueue(new KeyValuePair<int, string>(MINIMAL_ARRAY_LIKE_STRUCTURES_LENGTH, createAndAssertFolder(
generateObjectName(null), getAndAssertRootFolder())));
hierarchyObjects.Add(result.Peek().Value);
return result;
}
private static void createObjectsForCurrentLevel(int minimalChildrenAmount, int maximumChildrenAmount,
bool withoutDocuments, List<string> hierarchyObjects,
Queue<KeyValuePair<int, string>> folders, Random randomCounter,
KeyValuePair<int, string> currentParent) {
for(int i = 0; i < generateBoundedChildrenAmount(randomCounter, minimalChildrenAmount,
maximumChildrenAmount); i++) {
hierarchyObjects.Add(createDeterminedObject(withoutDocuments, folders, randomCounter, currentParent));
}
}
private static int generateBoundedChildrenAmount(Random randomCounter, int minimalChildrenAmount,
int maximumChildrenAmount) {
int result = randomCounter.Next(MAXIMUM_ODD_OBJECTS_AMOUNT);
result = ((minimalChildrenAmount < 0) && ((minimalChildrenAmount + result) < 0)) ? (0):
(result + minimalChildrenAmount);
return ((maximumChildrenAmount > 0) && (result > maximumChildrenAmount)) ? (maximumChildrenAmount):
(result);
}
private static string createDeterminedObject(bool withoutDocuments, Queue<KeyValuePair<int, string>> folders,
Random randomCounter, KeyValuePair<int, string> currentParent) {
bool folder = withoutDocuments || (randomCounter.Next(NEAR_ZERO_RANDOM_MAXIMUM) == 0);
CmisManipulationsStrategy<string> objectCreator = (folder) ? ((CmisManipulationsStrategy<string>)
new FolderCreatorStrategy(generateObjectName(null), currentParent.Value)):
((CmisManipulationsStrategy<string>)new DocumentCreatorStrategy(generateObjectName(
TEXT_DOCUMENT_POSTFIX), currentParent.Value, TEXT_DOCUMENT_MIMETYPE,
enumVersioningState.major, testDocumentContentEntry));
string objectId = objectCreator.performManipulations();
if(folder) {
folders.Enqueue(new KeyValuePair<int, string>((currentParent.Key + 1), objectId));
}
return objectId;
}
private static string[] receiveOldParentsList(string parentFolderId,
WcfTestClient.NavigationService.cmisObjectType[] parents) {
string[] result = new string[parents.Length + 1];
int index = 0;
foreach(WcfTestClient.NavigationService.cmisObjectType parent in parents) {
result[index++] = searchPropertyAndGetValueByName(NAVIGATION_CONVERTER.convertProperties(
parent.properties.Items), OBJECT_IDENTIFIER_PROPERTY).ToString();
}
result[index] = parentFolderId;
return result;
}
private static void asserLatestVersionProperties(string versionSeriesId, string name,
string expectedVersionSuffix, bool onlyLatest, WcfTestClient.VersioningService.cmisObjectType response) {
Assert.IsNotNull(response);
Assert.IsTrue((bool)searchPropertyAndGetValueByName(VERSIONING_CONVERTER.convertProperties(
response.properties.Items), LATEST_VERSION_PROPERTY));
Assert.AreEqual(name, searchPropertyAndGetValueByName(
VERSIONING_CONVERTER.convertProperties(response.properties.Items), NAME_PROPERTY));
assertVersionId(versionSeriesId, expectedVersionSuffix, response, onlyLatest);
}
private static void assertVersionId(string sourceId, string expectedVersionNumber,
WcfTestClient.VersioningService.cmisObjectType response, bool onlyLatest) {
sourceId = (onlyLatest) ? (sourceId.Substring(0, sourceId.LastIndexOf(DELIMETER))):(sourceId);
string latestVersionId = (string)searchPropertyAndGetValueByName(
VERSIONING_CONVERTER.convertProperties(response.properties.Items), OBJECT_IDENTIFIER_PROPERTY);
Assert.AreEqual(sourceId, latestVersionId);
if(expectedVersionNumber != null) {
Assert.IsTrue(latestVersionId.EndsWith(expectedVersionNumber));
}
}
private class ObjectParentsReceiverStrategy: CmisManipulationsStrategy<
WcfTestClient.NavigationService.cmisObjectType[]> {
private string objectId;
string CmisManipulationsStrategy<WcfTestClient.NavigationService.cmisObjectType[]>.getName() {
return null;
}
public ObjectParentsReceiverStrategy(string objectId) {
this.objectId = objectId;
}
WcfTestClient.NavigationService.cmisObjectType[] CmisManipulationsStrategy<
WcfTestClient.NavigationService.cmisObjectType[]>.performManipulations() {
return createNavigationServiceClient().getObjectParents(getAndAssertRepositoryId(), objectId,
ANY_PROPERTY_FILTER, false, false);
}
}
private class FolderParentsReceiverStrategy: CmisManipulationsStrategy<
WcfTestClient.NavigationService.cmisObjectType[]> {
private bool allParents;
private string folderId;
string CmisManipulationsStrategy<WcfTestClient.NavigationService.cmisObjectType[]>.getName() {
return null;
}
public FolderParentsReceiverStrategy(string folderId, bool allParents) {
this.folderId = folderId;
this.allParents = allParents;
}
WcfTestClient.NavigationService.cmisObjectType[] CmisManipulationsStrategy<
WcfTestClient.NavigationService.cmisObjectType[]>.performManipulations() {
return createNavigationServiceClient().getFolderParent(getAndAssertRepositoryId(), folderId,
ANY_PROPERTY_FILTER, false, false, allParents);
}
}
private class RootFolderReceiverStrategy: CmisManipulationsStrategy<string> {
string CmisManipulationsStrategy<string>.getName() {
return string.Empty;
}
string CmisManipulationsStrategy<string>.performManipulations() {
return createRepositoryServiceClient().getRepositoryInfoWrapper(getAndAssertRepositoryId())
.rootFolderId;
}
}
}
}

View File

@@ -0,0 +1,10 @@
namespace WcfCmisWSTests {
///
/// author: Dmitry Velichkevich
///
public interface CmisManipulationsStrategy<R> {
string getName();
R performManipulations();
}
}

View File

@@ -0,0 +1,8 @@
namespace WcfCmisWSTests {
///
/// author: Dmitry Velichkevich
///
public interface CmisTypesConverter<R, S> {
R convertProperties(S sourceData);
}
}

View File

@@ -0,0 +1,36 @@
using System;
using NUnit.Framework;
using WcfTestClient.DiscoveryService;
namespace WcfCmisWSTests {
///
/// author: Dmitry Velichkevich
///
[TestFixture]
public class DiscoveryServiceClientTest {
private const string TEXTUAL_TEN = "10";
private const string SAMPLE_QUERY = "SELECT * FROM DOCUMENT";
[Test]
public void testCmisSqlFeature() {
try {
assertQuering(AbstractCmisServicesHelper.createDiscoveryServiceClient());
} catch(Exception e) {
Assert.Fail(e.Message);
}
}
private static void assertQuering(DiscoveryServicePortClient client) {
bool hasMoreElements;
cmisObjectType[] response = client.query(SAMPLE_QUERY, false, TEXTUAL_TEN,
AbstractCmisServicesHelper.TEXTUAL_ZERO, false, null, out hasMoreElements);
Assert.IsTrue((response != null) && (response[0] != null));
Assert.IsTrue(hasMoreElements);
Assert.AreEqual(response.Length, int.Parse(TEXTUAL_TEN));
}
}
}

View File

@@ -0,0 +1,38 @@
using WcfTestClient.ObjectService;
namespace WcfCmisWSTests {
///
/// author: Dmitry Velichkevich
///
public class DocumentCreatorStrategy: CmisManipulationsStrategy<string> {
private string objectName;
private string objectParent;
private string objectMimeType;
private enumVersioningState versioningState;
private byte[] objectContentEntry;
public DocumentCreatorStrategy(string objectName, string objectParent, string objectMimeType,
enumVersioningState versioningState, byte[] objectContentEntry) {
this.objectName = objectName;
this.objectParent = objectParent;
this.objectMimeType = objectMimeType;
this.versioningState = versioningState;
this.objectContentEntry = objectContentEntry;
}
string CmisManipulationsStrategy<string>.getName() {
return objectName;
}
string CmisManipulationsStrategy<string>.performManipulations() {
return AbstractCmisServicesHelper.createObjectServiceClient().createDocument(
AbstractCmisServicesHelper.getAndAssertRepositoryId(), AbstractCmisServicesHelper.DOCUMENT_TYPE,
AbstractCmisServicesHelper.createCmisObjectProperties(objectName), objectParent,
AbstractCmisServicesHelper.createCmisDocumentContent(objectName, objectMimeType,
objectContentEntry), versioningState);
}
}
}

View File

@@ -0,0 +1,27 @@
namespace WcfCmisWSTests {
///
/// author: Dmitry Velichkevich
///
public class FolderCreatorStrategy: CmisManipulationsStrategy<string> {
private string objectName;
private string objectParent;
string CmisManipulationsStrategy<string>.getName() {
return objectName;
}
public FolderCreatorStrategy(string objectName, string objectParent) {
this.objectName = objectName;
this.objectParent = objectParent;
}
string CmisManipulationsStrategy<string>.performManipulations() {
return AbstractCmisServicesHelper.createObjectServiceClient().createFolder(
AbstractCmisServicesHelper.getAndAssertRepositoryId(), AbstractCmisServicesHelper.FOLDER_TYPE,
AbstractCmisServicesHelper.createCmisObjectProperties(objectName), objectParent);
}
}
}

View File

@@ -0,0 +1,42 @@
using NUnit.Framework;
using System.Collections.Generic;
namespace WcfCmisWSTests {
///
/// author: Dmitry Velichkevich
///
[TestFixture]
public class MultiFilingServiceClientTest {
[Test]
public void testParentAdding() {
KeyValuePair<string, KeyValuePair<string, string[]>> multifilledDocument =
AbstractCmisServicesHelper.createMultiFilledDocument(
AbstractCmisServicesHelper.getAndAssertRootFolder());
AbstractCmisServicesHelper.assertDocumentParents(multifilledDocument.Value.Key,
multifilledDocument.Value.Value);
AbstractCmisServicesHelper.deleteAndAssertDocument(multifilledDocument.Value.Key);
AbstractCmisServicesHelper.deleteAndAssertFolder(multifilledDocument.Key, false);
}
[Test]
public void testParentAddingAndRemoving() {
KeyValuePair<string, KeyValuePair<string, string[]>> multifilledDocument =
AbstractCmisServicesHelper.createMultiFilledDocument(
AbstractCmisServicesHelper.getAndAssertRootFolder());
AbstractCmisServicesHelper.createMultiFilingServiceClient().removeObjectFromFolder(
AbstractCmisServicesHelper.getAndAssertRepositoryId(),
multifilledDocument.Value.Key, multifilledDocument.Key);
AbstractCmisServicesHelper.assertDocumentParents(multifilledDocument.Value.Key,
new string[] {AbstractCmisServicesHelper.getAndAssertRootFolder()});
AbstractCmisServicesHelper.deleteAndAssertFolder(multifilledDocument.Key, false);
AbstractCmisServicesHelper.deleteAndAssertDocument(multifilledDocument.Value.Key);
}
}
}

View File

@@ -0,0 +1,173 @@
using System;
using NUnit.Framework;
using System.Collections.Generic;
using WcfTestClient.NavigationService;
namespace WcfCmisWSTests {
///
/// author: Dmitry Velichkevich
///
[TestFixture]
public class NavigationServiceClientTest {
private const int SINGLE_VALUE = 1;
private const int PAIR_VALUE = 2;
private const int OPTIMAL_MINIMAL_CHILDREN_AMOUNT = 3;
private const int OPTIMAL_HIERARCHY_DEPTH = 4;
private const int OPTIMAL_FOLDERS_DEPTH_AMOUNT = 5;
private const int OPTIMAL_MAXIMUM_CHILDREN_AMOUNT = 6;
private const int OPTIMAL_CHILDREN_AMOUNT = 7;
private const int MAXIMUM_CHECKEDOUT_DOCS_AMOUNT = 13;
private const string FULL_PARENTS_HIERARCHY = "-1";
[Test]
public void testDocumentParentsReceving() {
string rootFolderId = AbstractCmisServicesHelper.getAndAssertRootFolder();
assertSingleParentReceiving(rootFolderId);
assertMultiFilledParentsReceving(rootFolderId);
}
[Test]
public void testFolderParentsReceiving() {
assertSingleParentReceiving();
assertAllParentsReceiving();
}
[Test]
public void testChildrenReceiving() {
string[] hierarchy = AbstractCmisServicesHelper.createAndAssertFileFolderHierarchy(PAIR_VALUE,
OPTIMAL_CHILDREN_AMOUNT, 0, false);
bool hasMoreElements;
AbstractCmisServicesHelper.assertActualIdsFromObjectsWithSpecified(
AbstractCmisServicesHelper.createNavigationServiceClient().getChildren(
AbstractCmisServicesHelper.getAndAssertRepositoryId(), hierarchy[0],
enumTypesOfFileableObjects.any, AbstractCmisServicesHelper.ANY_PROPERTY_FILTER,
false, false, AbstractCmisServicesHelper.TEXTUAL_ZERO,
AbstractCmisServicesHelper.TEXTUAL_ZERO, out hasMoreElements),
createObjectsCopy(hierarchy, null, SINGLE_VALUE, (hierarchy.Length - SINGLE_VALUE)));
AbstractCmisServicesHelper.deleteAndAssertHierarchy(hierarchy);
}
[Test]
public void testDescendantsReceiving() {
string[] hierarchy = AbstractCmisServicesHelper.createAndAssertFileFolderHierarchy(
OPTIMAL_HIERARCHY_DEPTH, OPTIMAL_MINIMAL_CHILDREN_AMOUNT, OPTIMAL_MAXIMUM_CHILDREN_AMOUNT, false);
AbstractCmisServicesHelper.assertActualIdsFromObjectsWithSpecified(
AbstractCmisServicesHelper.createNavigationServiceClient().getDescendants(
AbstractCmisServicesHelper.getAndAssertRepositoryId(), hierarchy[0],
enumTypesOfFileableObjects.any, FULL_PARENTS_HIERARCHY,
AbstractCmisServicesHelper.ANY_PROPERTY_FILTER, false, false),
createObjectsCopy(hierarchy, null, SINGLE_VALUE, (hierarchy.Length - SINGLE_VALUE)));
AbstractCmisServicesHelper.deleteAndAssertHierarchy(hierarchy);
}
[Test]
public void testCheckedOutDocumentsReceving() {
string[] hierarchy = createCheckedOutDocumentsHierarchy(SINGLE_VALUE + new Random().Next(
MAXIMUM_CHECKEDOUT_DOCS_AMOUNT));
bool hasMoreElements;
AbstractCmisServicesHelper.assertActualIdsFromObjectsWithSpecified(
AbstractCmisServicesHelper.createNavigationServiceClient().getCheckedoutDocs(
AbstractCmisServicesHelper.getAndAssertRepositoryId(), hierarchy[0],
AbstractCmisServicesHelper.ANY_PROPERTY_FILTER, false, false,
AbstractCmisServicesHelper.TEXTUAL_ZERO, AbstractCmisServicesHelper.TEXTUAL_ZERO,
out hasMoreElements), createObjectsCopy(hierarchy, null,
SINGLE_VALUE, (hierarchy.Length - SINGLE_VALUE)));
Assert.IsFalse(hasMoreElements);
AbstractCmisServicesHelper.deleteAndAssertHierarchy(hierarchy);
}
private static void assertSingleParentReceiving(string rootFolderId) {
string documentId = AbstractCmisServicesHelper.createAndAssertDocument(
AbstractCmisServicesHelper.generateObjectName(
AbstractCmisServicesHelper.TEXT_DOCUMENT_POSTFIX), rootFolderId,
AbstractCmisServicesHelper.TEXT_DOCUMENT_MIMETYPE,
AbstractCmisServicesHelper.getTestDocumentContentEntry());
AbstractCmisServicesHelper.assertDocumentParents(documentId, new string[] {rootFolderId});
AbstractCmisServicesHelper.deleteAndAssertDocument(documentId);
}
private static void assertMultiFilledParentsReceving(string rootFolderId) {
KeyValuePair<string, KeyValuePair<string, string[]>> multifilledDocument =
AbstractCmisServicesHelper.createMultiFilledDocument(rootFolderId);
AbstractCmisServicesHelper.assertDocumentParents(multifilledDocument.Value.Key,
multifilledDocument.Value.Value);
AbstractCmisServicesHelper.deleteAndAssertDocument(multifilledDocument.Value.Key);
AbstractCmisServicesHelper.deleteAndAssertFolder(multifilledDocument.Key, false);
}
private static void assertSingleParentReceiving() {
string[] hierarchy = AbstractCmisServicesHelper.createAndAssertFileFolderHierarchy(PAIR_VALUE,
SINGLE_VALUE, SINGLE_VALUE, true);
AbstractCmisServicesHelper.assertFolderParents(hierarchy[hierarchy.Length - SINGLE_VALUE],
createObjectsCopy(hierarchy, null, 0, (hierarchy.Length - SINGLE_VALUE)), false);
AbstractCmisServicesHelper.deleteAndAssertHierarchy(hierarchy);
}
private static void assertAllParentsReceiving() {
string[] hierarchy = AbstractCmisServicesHelper.createAndAssertFileFolderHierarchy(
OPTIMAL_FOLDERS_DEPTH_AMOUNT, SINGLE_VALUE, SINGLE_VALUE, true);
AbstractCmisServicesHelper.assertFolderParents(hierarchy[hierarchy.Length - SINGLE_VALUE],
createObjectsCopy(hierarchy, AbstractCmisServicesHelper.getAndAssertRootFolder(), 0,
(hierarchy.Length - SINGLE_VALUE)), true);
AbstractCmisServicesHelper.deleteAndAssertHierarchy(hierarchy);
}
private static string[] createCheckedOutDocumentsHierarchy(int documentsAmount) {
string[] hierarchy = new string[documentsAmount + SINGLE_VALUE];
hierarchy[0] = AbstractCmisServicesHelper.createAndAssertFolder(
AbstractCmisServicesHelper.generateObjectName(null),
AbstractCmisServicesHelper.getAndAssertRootFolder());
for(int i = 0; i < documentsAmount; i++) {
hierarchy[i + SINGLE_VALUE] = AbstractCmisServicesHelper.createAndAssertDocument(
AbstractCmisServicesHelper.generateObjectName(
AbstractCmisServicesHelper.TEXT_DOCUMENT_POSTFIX), hierarchy[0],
AbstractCmisServicesHelper.TEXT_DOCUMENT_MIMETYPE,
WcfTestClient.ObjectService.enumVersioningState.checkedout,
AbstractCmisServicesHelper.getTestDocumentContentEntry());
}
return hierarchy;
}
private static string[] createObjectsCopy(string[] source, string firstElemetn, int sourceBegin,
int elementsAmount) {
int absentElment = (firstElemetn != null) ? (SINGLE_VALUE):(0);
string[] result = new string[elementsAmount + absentElment];
result[0] = firstElemetn;
Array.Copy(source, sourceBegin, result, absentElment, elementsAmount);
return result;
}
}
}

View File

@@ -0,0 +1,210 @@
namespace WcfCmisWSTests {
///
/// author: Dmitry Velichkevich
///
public class NavigationServiceToObjectServiceTypesConverter: CmisTypesConverter
<WcfTestClient.ObjectService.cmisProperty[], WcfTestClient.NavigationService.cmisProperty[]> {
WcfTestClient.ObjectService.cmisProperty[] CmisTypesConverter<WcfTestClient.ObjectService.cmisProperty[],
WcfTestClient.NavigationService.cmisProperty[]>
.convertProperties(WcfTestClient.NavigationService.cmisProperty[] sourceData) {
WcfTestClient.ObjectService.cmisProperty[] result =
new WcfTestClient.ObjectService.cmisProperty[sourceData.Length];
int index = 0;
foreach(WcfTestClient.NavigationService.cmisProperty property in sourceData) {
index = determineObjectServiceProperty(result, index, property);
}
return result;
}
private static int determineObjectServiceProperty(WcfTestClient.ObjectService.cmisProperty[] result,
int index, WcfTestClient.NavigationService.cmisProperty property) {
if (property is WcfTestClient.NavigationService.cmisPropertyString) {
result[index++] = convertToStringObjectServiceProperty(
(WcfTestClient.NavigationService.cmisPropertyString)property);
}
if (property is WcfTestClient.NavigationService.cmisPropertyBoolean) {
result[index++] = convertToBooleanObjectServiceProperty(
(WcfTestClient.NavigationService.cmisPropertyBoolean)property);
}
if (property is WcfTestClient.NavigationService.cmisPropertyDateTime) {
result[index++] = convertToDateTimeObjectServiceProperty(
(WcfTestClient.NavigationService.cmisPropertyDateTime)property);
}
if (property is WcfTestClient.NavigationService.cmisPropertyDecimal) {
result[index++] = convertToDecimalObjectServiceProperty(
(WcfTestClient.NavigationService.cmisPropertyDecimal)property);
}
if (property is WcfTestClient.NavigationService.cmisPropertyId) {
result[index++] = convertToIdObjectServiceProperty(
(WcfTestClient.NavigationService.cmisPropertyId)property);
}
if (property is WcfTestClient.NavigationService.cmisPropertyInteger) {
result[index++] = convertToIntegerObjectServiceProperty(
(WcfTestClient.NavigationService.cmisPropertyInteger)property);
}
if (property is WcfTestClient.NavigationService.cmisPropertyUri) {
result[index++] = convertToUriObjectServiceProperty(
(WcfTestClient.NavigationService.cmisPropertyUri)property);
}
return index;
}
private static WcfTestClient.ObjectService.cmisProperty convertToStringObjectServiceProperty(
WcfTestClient.NavigationService.cmisPropertyString source) {
WcfTestClient.ObjectService.cmisPropertyString result =
new WcfTestClient.ObjectService.cmisPropertyString();
result.AnyAttr = source.AnyAttr;
result.index = source.index;
result.name = source.name;
result.propertyType = convertToObjectServicePropertyTypeEnum(source.propertyType);
result.propertyTypeSpecified = source.propertyTypeSpecified;
result.value = source.value;
return result;
}
private static WcfTestClient.ObjectService.cmisProperty convertToBooleanObjectServiceProperty(
WcfTestClient.NavigationService.cmisPropertyBoolean source) {
WcfTestClient.ObjectService.cmisPropertyBoolean result =
new WcfTestClient.ObjectService.cmisPropertyBoolean();
result.AnyAttr = source.AnyAttr;
result.index = source.index;
result.name = source.name;
result.propertyType = convertToObjectServicePropertyTypeEnum(source.propertyType);
result.propertyTypeSpecified = source.propertyTypeSpecified;
result.value = source.value;
return result;
}
private static WcfTestClient.ObjectService.cmisProperty convertToDateTimeObjectServiceProperty(
WcfTestClient.NavigationService.cmisPropertyDateTime source) {
WcfTestClient.ObjectService.cmisPropertyDateTime result =
new WcfTestClient.ObjectService.cmisPropertyDateTime();
result.AnyAttr = source.AnyAttr;
result.index = source.index;
result.name = source.name;
result.propertyType = convertToObjectServicePropertyTypeEnum(source.propertyType);
result.propertyTypeSpecified = source.propertyTypeSpecified;
result.value = source.value;
return result;
}
private static WcfTestClient.ObjectService.cmisProperty convertToDecimalObjectServiceProperty(
WcfTestClient.NavigationService.cmisPropertyDecimal source) {
WcfTestClient.ObjectService.cmisPropertyDecimal result =
new WcfTestClient.ObjectService.cmisPropertyDecimal();
result.AnyAttr = source.AnyAttr;
result.index = source.index;
result.name = source.name;
result.propertyType = convertToObjectServicePropertyTypeEnum(source.propertyType);
result.propertyTypeSpecified = source.propertyTypeSpecified;
result.value = source.value;
return result;
}
private static WcfTestClient.ObjectService.cmisProperty convertToIdObjectServiceProperty(
WcfTestClient.NavigationService.cmisPropertyId source) {
WcfTestClient.ObjectService.cmisPropertyId result = new WcfTestClient.ObjectService.cmisPropertyId();
result.AnyAttr = source.AnyAttr;
result.index = source.index;
result.name = source.name;
result.propertyType = convertToObjectServicePropertyTypeEnum(source.propertyType);
result.propertyTypeSpecified = source.propertyTypeSpecified;
result.value = source.value;
return result;
}
private static WcfTestClient.ObjectService.cmisProperty convertToIntegerObjectServiceProperty(
WcfTestClient.NavigationService.cmisPropertyInteger source) {
WcfTestClient.ObjectService.cmisPropertyInteger result =
new WcfTestClient.ObjectService.cmisPropertyInteger();
result.AnyAttr = source.AnyAttr;
result.index = source.index;
result.name = source.name;
result.propertyType = convertToObjectServicePropertyTypeEnum(source.propertyType);
result.propertyTypeSpecified = source.propertyTypeSpecified;
result.value = source.value;
return result;
}
private static WcfTestClient.ObjectService.cmisProperty convertToUriObjectServiceProperty(
WcfTestClient.NavigationService.cmisPropertyUri source) {
WcfTestClient.ObjectService.cmisPropertyUri result = new WcfTestClient.ObjectService.cmisPropertyUri();
result.AnyAttr = source.AnyAttr;
result.index = source.index;
result.name = source.name;
result.propertyType = convertToObjectServicePropertyTypeEnum(source.propertyType);
result.propertyTypeSpecified = source.propertyTypeSpecified;
result.value = source.value;
return result;
}
private static WcfTestClient.ObjectService.enumPropertyType convertToObjectServicePropertyTypeEnum(
WcfTestClient.NavigationService.enumPropertyType source) {
switch (source) {
case WcfTestClient.NavigationService.enumPropertyType.boolean: {
return WcfTestClient.ObjectService.enumPropertyType.boolean;
}
case WcfTestClient.NavigationService.enumPropertyType.datetime: {
return WcfTestClient.ObjectService.enumPropertyType.datetime;
}
case WcfTestClient.NavigationService.enumPropertyType.html: {
return WcfTestClient.ObjectService.enumPropertyType.html;
}
case WcfTestClient.NavigationService.enumPropertyType.id: {
return WcfTestClient.ObjectService.enumPropertyType.id;
}
case WcfTestClient.NavigationService.enumPropertyType.integer: {
return WcfTestClient.ObjectService.enumPropertyType.integer;
}
case WcfTestClient.NavigationService.enumPropertyType.uri: {
return WcfTestClient.ObjectService.enumPropertyType.uri;
}
case WcfTestClient.NavigationService.enumPropertyType.xml: {
return WcfTestClient.ObjectService.enumPropertyType.xml;
}
}
return WcfTestClient.ObjectService.enumPropertyType.@decimal;
}
}
}

View File

@@ -0,0 +1,324 @@
using System;
using System.Text;
using NUnit.Framework;
using WcfTestClient.ObjectService;
namespace WcfCmisWSTests {
///
/// author: Dmitry Velichkevich
///
[TestFixture]
public class ObjectServiceClientTest {
private const int TEST_HIERARCHY_DEPTH = 4;
private const int MINIMAL_TEST_OBJECTS_LEVEL_AMOUNT = 2;
private const string DEFAULT_GUEST_USERNAME = "guest";
private const string DEFAULT_GUEST_PASSWORD = "guest";
private const string REPLACED_CONTENT_ENTRY = "Replaced Content Entry";
private const string NAME_FOR_DOCUMENT_RENAMING = "Renamed Document.txt";
private const string NAME_FOR_FOLDER_RENAMING = "Renamed Folder";
private const string CREATOR_PROPERTY_NAME = "CreatedBy";
[Test]
public void testDocumentCreationAndDeletion() {
string documentId = AbstractCmisServicesHelper.createAndAssertDocument(
AbstractCmisServicesHelper.generateObjectName(AbstractCmisServicesHelper
.TEXT_DOCUMENT_POSTFIX), AbstractCmisServicesHelper.getAndAssertRootFolder(),
AbstractCmisServicesHelper.TEXT_DOCUMENT_MIMETYPE,
AbstractCmisServicesHelper.getTestDocumentContentEntry());
AbstractCmisServicesHelper.deleteAndAssertDocument(documentId);
}
[Test]
public void testFolderCreationAndDeletion() {
string folderId = AbstractCmisServicesHelper.createAndAssertFolder(
AbstractCmisServicesHelper.generateObjectName(null),
AbstractCmisServicesHelper.getAndAssertRootFolder());
AbstractCmisServicesHelper.deleteAndAssertFolder(folderId, false);
}
[Test]
public void testPropertiesReceiving() {
string documentId = AbstractCmisServicesHelper.createAndAssertDocument(
AbstractCmisServicesHelper.generateObjectName(AbstractCmisServicesHelper.
TEXT_DOCUMENT_POSTFIX), AbstractCmisServicesHelper.getAndAssertRootFolder(),
AbstractCmisServicesHelper.TEXT_DOCUMENT_MIMETYPE,
AbstractCmisServicesHelper.getTestDocumentContentEntry());
cmisPropertiesType properties = AbstractCmisServicesHelper.getObjectProperties(documentId, true);
Assert.AreEqual(AbstractCmisServicesHelper.UserName,
AbstractCmisServicesHelper.searchPropertyAndGetValueByName(properties.Items, CREATOR_PROPERTY_NAME));
AbstractCmisServicesHelper.deleteAndAssertDocument(documentId);
}
[Test]
public void testPropertiesUpdating() {
string repositoryId = AbstractCmisServicesHelper.getAndAssertRepositoryId();
string rootFolderId = AbstractCmisServicesHelper.getAndAssertRootFolder();
ObjectServicePortClient client = AbstractCmisServicesHelper.createObjectServiceClient();
assertObjectPropertiesUpdating(repositoryId, new DocumentCreatorStrategy(
AbstractCmisServicesHelper.generateObjectName(AbstractCmisServicesHelper
.TEXT_DOCUMENT_POSTFIX), rootFolderId, AbstractCmisServicesHelper.TEXT_DOCUMENT_MIMETYPE,
enumVersioningState.major, AbstractCmisServicesHelper.getTestDocumentContentEntry()),
client, NAME_FOR_DOCUMENT_RENAMING);
assertObjectPropertiesUpdating(repositoryId, new FolderCreatorStrategy(
AbstractCmisServicesHelper.generateObjectName(null), rootFolderId), client,
NAME_FOR_FOLDER_RENAMING);
}
[Test]
public void testContentStreamReceiving() {
string documentId = AbstractCmisServicesHelper.createAndAssertDocument(
AbstractCmisServicesHelper.generateObjectName(
AbstractCmisServicesHelper.TEXT_DOCUMENT_POSTFIX),
AbstractCmisServicesHelper.getAndAssertRootFolder(),
AbstractCmisServicesHelper.TEXT_DOCUMENT_MIMETYPE,
AbstractCmisServicesHelper.getTestDocumentContentEntry());
receiveAndAssertContentStream(documentId, AbstractCmisServicesHelper.createObjectServiceClient(),
AbstractCmisServicesHelper.getTestDocumentContentEntry());
AbstractCmisServicesHelper.deleteAndAssertDocument(documentId);
}
[Test]
public void testContentStreamDeletion() {
string documentId = AbstractCmisServicesHelper.createAndAssertDocument(
AbstractCmisServicesHelper.generateObjectName(
AbstractCmisServicesHelper.TEXT_DOCUMENT_POSTFIX),
AbstractCmisServicesHelper.getAndAssertRootFolder(),
AbstractCmisServicesHelper.TEXT_DOCUMENT_MIMETYPE,
AbstractCmisServicesHelper.getTestDocumentContentEntry());
deleteAndAssertContentStream(documentId, AbstractCmisServicesHelper.getAndAssertRepositoryId(),
AbstractCmisServicesHelper.createObjectServiceClient());
AbstractCmisServicesHelper.deleteAndAssertDocument(documentId);
}
[Test]
public void testAllowableActionsReceving() {
string documentId = AbstractCmisServicesHelper.createAndAssertDocument(
AbstractCmisServicesHelper.generateObjectName(
AbstractCmisServicesHelper.TEXT_DOCUMENT_POSTFIX),
AbstractCmisServicesHelper.getAndAssertRootFolder(),
AbstractCmisServicesHelper.TEXT_DOCUMENT_MIMETYPE,
AbstractCmisServicesHelper.getTestDocumentContentEntry());
string repositoryId = AbstractCmisServicesHelper.getAndAssertRepositoryId();
assertAdminActionsReceiving(repositoryId, documentId);
assertGuestActionsReceiving(repositoryId, documentId);
AbstractCmisServicesHelper.deleteAndAssertDocument(documentId);
}
[Test]
public void testContentStreamSending() {
string documentName = AbstractCmisServicesHelper.generateObjectName(
AbstractCmisServicesHelper.TEXT_DOCUMENT_POSTFIX);
string documentId = AbstractCmisServicesHelper.createAndAssertDocument(documentName,
AbstractCmisServicesHelper.getAndAssertRootFolder(),
AbstractCmisServicesHelper.TEXT_DOCUMENT_MIMETYPE,
AbstractCmisServicesHelper.getTestDocumentContentEntry());
ObjectServicePortClient client = AbstractCmisServicesHelper.createObjectServiceClient();
setAndAssertNewContent(documentName, documentId, client);
AbstractCmisServicesHelper.deleteAndAssertDocument(documentId);
}
[Test]
public void testObjectMoving() {
string rootFolderId = AbstractCmisServicesHelper.getAndAssertRootFolder();
string documentId = AbstractCmisServicesHelper.createAndAssertDocument(
AbstractCmisServicesHelper.generateObjectName(
AbstractCmisServicesHelper.TEXT_DOCUMENT_POSTFIX), rootFolderId,
AbstractCmisServicesHelper.TEXT_DOCUMENT_MIMETYPE,
AbstractCmisServicesHelper.getTestDocumentContentEntry());
string folderId = AbstractCmisServicesHelper.createAndAssertFolder(
AbstractCmisServicesHelper.generateObjectName(null), rootFolderId);
performAndAssertDocumentMoving(documentId, folderId);
AbstractCmisServicesHelper.deleteAndAssertDocument(documentId);
AbstractCmisServicesHelper.deleteAndAssertFolder(folderId, false);
}
[Test]
public void testNotEmptyFolderDeletion() {
string folderId = AbstractCmisServicesHelper.createAndAssertFolder(
AbstractCmisServicesHelper.generateObjectName(null),
AbstractCmisServicesHelper.getAndAssertRootFolder());
string documentId = AbstractCmisServicesHelper.createAndAssertDocument(
AbstractCmisServicesHelper.generateObjectName(
AbstractCmisServicesHelper.TEXT_DOCUMENT_POSTFIX), folderId,
AbstractCmisServicesHelper.TEXT_DOCUMENT_MIMETYPE,
AbstractCmisServicesHelper.getTestDocumentContentEntry());
AbstractCmisServicesHelper.deleteAndAssertFolder(folderId, true);
AbstractCmisServicesHelper.deleteAndAssertDocument(documentId);
AbstractCmisServicesHelper.deleteAndAssertFolder(folderId, false);
}
[Test]
public void testTreeCreationAndDeletion() {
AbstractCmisServicesHelper.deleteAndAssertHierarchy(
AbstractCmisServicesHelper.createAndAssertFileFolderHierarchy(
TEST_HIERARCHY_DEPTH, MINIMAL_TEST_OBJECTS_LEVEL_AMOUNT, 0, true));
}
private static void assertObjectPropertiesUpdating(string repositoryId,
CmisManipulationsStrategy<string> objectCreator, ObjectServicePortClient client,
string expectedChangedObjectName) {
string objectId = objectCreator.performManipulations();
assertPropertiesUpdating(repositoryId, client, objectId, objectCreator.getName(),
expectedChangedObjectName);
performObjectDeletionAndAssertion(objectCreator, objectId);
}
private static void performObjectDeletionAndAssertion(CmisManipulationsStrategy<string> objectCreator,
string objectId) {
if (objectCreator is DocumentCreatorStrategy) {
AbstractCmisServicesHelper.deleteAndAssertDocument(objectId);
}
if(objectCreator is FolderCreatorStrategy) {
AbstractCmisServicesHelper.deleteAndAssertFolder(objectId, false);
}
}
private static void assertPropertiesUpdating(string repositoryId, ObjectServicePortClient client,
string objectId, string expectedName, string expectedChangedName) {
Assert.AreEqual(expectedName, AbstractCmisServicesHelper.searchPropertyAndGetValueByName(
AbstractCmisServicesHelper.getObjectProperties(objectId, true).Items,
AbstractCmisServicesHelper.NAME_PROPERTY));
client.updateProperties(repositoryId, ref objectId, null,
AbstractCmisServicesHelper.createCmisObjectProperties(expectedChangedName));
Assert.AreEqual(expectedChangedName, AbstractCmisServicesHelper.searchPropertyAndGetValueByName(
AbstractCmisServicesHelper.getObjectProperties(objectId, true).Items,
AbstractCmisServicesHelper.NAME_PROPERTY));
}
private static void receiveAndAssertContentStream(string documentId, ObjectServicePortClient client,
byte[] expectedContent) {
cmisContentStreamType result = client.getContentStream(
AbstractCmisServicesHelper.getAndAssertRepositoryId(), documentId);
Assert.AreEqual(expectedContent.Length, result.stream.Length);
Assert.AreEqual(Encoding.GetEncoding(AbstractCmisServicesHelper.DEFAULT_ENCODING).
GetString(expectedContent), Encoding.GetEncoding(AbstractCmisServicesHelper.
DEFAULT_ENCODING).GetString(result.stream));
}
private void deleteAndAssertContentStream(string documentId, string repositoryId,
ObjectServicePortClient client) {
receiveAndAssertContentStream(documentId, client,
AbstractCmisServicesHelper.getTestDocumentContentEntry());
client.deleteContentStream(repositoryId, documentId);
try {
client.getContentStream(repositoryId, documentId);
Assert.Fail("Content stream was not deleted");
} catch(Exception) {
}
}
private static void assertAdminActionsReceiving(string repositoryId, string documentId) {
ObjectServicePortClient client = AbstractCmisServicesHelper.createObjectServiceClient();
cmisAllowableActionsType response = client.getAllowableActions(repositoryId, documentId);
Assert.IsNotNull(response);
Assert.IsTrue(response.canDelete);
Assert.IsTrue(response.canDeleteContent);
Assert.IsTrue(response.canCheckout);
Assert.IsTrue(response.canUpdateProperties);
Assert.IsFalse(response.canGetAllVersions);
Assert.IsFalse(response.canCheckin);
Assert.IsFalse(response.canCancelCheckout);
}
private static void assertGuestActionsReceiving(string repositoryId, string documentId) {
ObjectServicePortClient client = AbstractCmisServicesHelper.createObjectServiceClient(
DEFAULT_GUEST_USERNAME, DEFAULT_GUEST_PASSWORD);
cmisAllowableActionsType response = client.getAllowableActions(repositoryId, documentId);
Assert.IsNotNull(response);
Assert.IsFalse(response.canDelete);
Assert.IsFalse(response.canDeleteContent);
Assert.IsFalse(response.canCheckout);
Assert.IsFalse(response.canUpdateProperties);
Assert.IsFalse(response.canGetAllVersions);
Assert.IsFalse(response.canCheckin);
Assert.IsFalse(response.canCancelCheckout);
}
private static void setAndAssertNewContent(string documentName, string documentId,
ObjectServicePortClient client) {
try {
client.setContentStream(AbstractCmisServicesHelper.getAndAssertRepositoryId(), ref documentId,
true, AbstractCmisServicesHelper.createCmisDocumentContent(documentName,
AbstractCmisServicesHelper.TEXT_DOCUMENT_MIMETYPE,
Encoding.GetEncoding(AbstractCmisServicesHelper.DEFAULT_ENCODING)
.GetBytes(REPLACED_CONTENT_ENTRY)));
receiveAndAssertContentStream(documentId, client, Encoding.GetEncoding(
AbstractCmisServicesHelper.DEFAULT_ENCODING).GetBytes(REPLACED_CONTENT_ENTRY));
} catch(Exception e) {
Assert.Fail(e.Message);
}
}
private static void performAndAssertDocumentMoving(string documentId, string folderId) {
ObjectServicePortClient client = AbstractCmisServicesHelper.createObjectServiceClient();
client.moveObject(AbstractCmisServicesHelper.getAndAssertRepositoryId(), documentId, folderId, null);
AbstractCmisServicesHelper.assertDocumentParents(documentId, new string[] {folderId});
}
}
}

View File

@@ -0,0 +1,100 @@
using System;
using NUnit.Framework;
using WcfTestClient.RepositoryService;
namespace WcfCmisWSTests {
///
/// author: Dmitry Velichkevich
///
[TestFixture]
public class RepositoryServiceClientTest {
[Test]
public void testGetRepositories() {
try {
AbstractCmisServicesHelper.getAndAssertRepositoryId();
} catch (Exception e) {
Assert.Fail(e.Message);
}
}
[Test]
public void testGetRepositoryInfo() {
try {
RepositoryServicePortClient client = AbstractCmisServicesHelper.createRepositoryServiceClient();
assertRepositoryInfoReponse(client.getRepositoryInfoWrapper(AbstractCmisServicesHelper.
getAndAssertRepositoryId()));
} catch (Exception e) {
Assert.Fail(e.Message);
}
}
[Test]
public void testGetTypes() {
try {
assertGetTypesResponse(AbstractCmisServicesHelper.createRepositoryServiceClient());
} catch (Exception e) {
Assert.Fail(e.Message);
}
}
[Test]
public void testGetTypeDefinition() {
try {
RepositoryServicePortClient client = AbstractCmisServicesHelper.createRepositoryServiceClient();
string typeId = assertGetTypesResponse(client);
Assert.IsNotNull(typeId);
Assert.IsTrue(typeId.Length > AbstractCmisServicesHelper.MINIMAL_ARRAY_LIKE_STRUCTURES_LENGTH);
getTypeDefinitionResponse response = client.getTypeDefinitionWrapper(AbstractCmisServicesHelper.
getAndAssertRepositoryId(), typeId);
Assert.IsNotNull(response, typeId);
} catch (Exception e) {
Assert.Fail(e.Message);
}
}
private static void assertRepositoryInfoReponse(getRepositoryInfoResponse repositoryInfo) {
Assert.IsNotNull(repositoryInfo);
assertCapabilities(repositoryInfo);
}
private string assertGetTypesResponse(RepositoryServicePortClient client) {
bool hasMoreElements;
cmisTypeDefinitionType[] types = client.getTypes(AbstractCmisServicesHelper.getAndAssertRepositoryId(),
AbstractCmisServicesHelper.DOCUMENT_TYPE, false, AbstractCmisServicesHelper.TEXTUAL_ZERO,
AbstractCmisServicesHelper.TEXTUAL_ZERO, out hasMoreElements);
Assert.IsNotNull(types);
Assert.IsTrue((types.Length >= AbstractCmisServicesHelper.MINIMAL_ARRAY_LIKE_STRUCTURES_LENGTH)
&& types[0].fileable && hasMoreElements);
return types[new Random().Next(types.Length)].typeId;
}
private static void assertCapabilities(getRepositoryInfoResponse repositoryInfo) {
Assert.IsFalse(repositoryInfo.capabilities.capabilityUnfiling);
Assert.IsFalse(repositoryInfo.capabilities.capabilityPWCSearchable);
Assert.IsFalse(repositoryInfo.capabilities.capabilityVersionSpecificFiling);
Assert.IsFalse(repositoryInfo.capabilities.capabilityAllVersionsSearchable);
Assert.IsTrue(repositoryInfo.capabilities.capabilityMultifiling);
Assert.IsTrue(repositoryInfo.capabilities.capabilityPWCUpdateable);
Assert.AreEqual(enumCapabilityJoin.nojoin, repositoryInfo.capabilities.capabilityJoin);
Assert.AreEqual(enumCapabilityQuery.none, repositoryInfo.capabilities.capabilityQuery);
Assert.AreEqual(enumCapabilityFullText.fulltextandstructured,
repositoryInfo.capabilities.capabilityFullText);
}
}
}

View File

@@ -0,0 +1,129 @@
using System;
using System.Xml;
using System.ServiceModel.Channels;
namespace WcfCmisWSTests {
///
/// author: Dmitry Velichkevich
///
public class SecurityMessageHeader: MessageHeader {
private const int MINIMAL_ALLOWED_STRING_LENGTH = 1;
private const int TIME_TOKEN_POSITION = 3;
private const int LAST_DATE_TOKEN_POSITION = 2;
private const int EXPIRE_ODDS = 4167;
private const string DOT = ".";
private const char DOT_SYMBOL = '.';
private const string MINUS = "-";
private const string BREAK = " ";
private const char BREAK_SYMBOL = ' ';
private const string TIME_SPECIFICATOR = "T";
private const string DATE_TIME_ZONE_SPECIFICATOR = "Z";
private const string SECURITY_HEADER_NAME = "Security";
private const string SECURITY_HEADER_NAME_SPACE = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-w" +
"ssecurity-secext-1.0.xsd";
private const string SECURITY_HEADER_ENTRY = "\n <wsu:Timestamp wsu:Id=\"Timestamp-{0}\" xmlns:wsu=\"ht" +
"tp://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd\">\n" +
" <wsu:Created>{1}</wsu:Created>\n <wsu:Expires>{2}</wsu:Expires>\n" +
" </wsu:Timestamp>\n <UsernameToken wsu:Id=\"UsernameToken-{3}\" xmlns:wsu=" +
"\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" +
"\">\n <Username>{4}</Username>\n <Password Type=\"http://docs.oasis-ope" +
"n.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText\">{5}</Pas" +
"sword>\n <Nonce>IGRKG/ABNywDNZ1/lxxarA==</Nonce>\n <wsu:Created>{6}</ws" +
"u:Created>\n </UsernameToken>\n";
private string value;
public static MessageHeader CreateHeader(string userName, string password) {
string formattedSecurityHeader = string.Format(SECURITY_HEADER_ENTRY, new object[] {
DateTime.Now.TimeOfDay.Ticks, formatDate(), formatDate(new DateTime(DateTime.Now.Ticks + EXPIRE_ODDS).
ToLocalTime().ToString()), DateTime.Now.TimeOfDay.Ticks, userName, password, formatDate()});
return new SecurityMessageHeader(formattedSecurityHeader);
}
protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion) {
writer.WriteRaw(value);
}
public override string Actor {
get {
return string.Empty;
}
}
public override bool IsReferenceParameter {
get {
return true;
}
}
public override bool MustUnderstand {
get {
return true;
}
}
public override bool Relay {
get {
return false;
}
}
public override string ToString() {
return base.ToString();
}
public override string Namespace {
get {
return SECURITY_HEADER_NAME_SPACE;
}
}
public override string Name {
get {
return SECURITY_HEADER_NAME;
}
}
private SecurityMessageHeader(string value) {
this.value = value;
}
private static string formatDate() {
return formatDate(DateTime.Now.ToLocalTime().ToString());
}
private static string formatDate(string sourceDate) {
if (!(sourceDate is string) || (sourceDate.Length < MINIMAL_ALLOWED_STRING_LENGTH)) {
sourceDate = DateTime.Now.ToLocalTime().ToString();
}
return reverseDate(sourceDate) + DOT + DateTime.Now.Millisecond + DATE_TIME_ZONE_SPECIFICATOR;
}
private static string reverseDate(string sample) {
string[] dateFields = sample.Split(new char[] {DOT_SYMBOL, BREAK_SYMBOL});
int i = LAST_DATE_TOKEN_POSITION;
return dateFields[i--] + MINUS + dateFields[i--] + MINUS + dateFields[i] + TIME_SPECIFICATOR +
dateFields[TIME_TOKEN_POSITION];
}
}
}

View File

@@ -0,0 +1,35 @@
using System;
using System.ServiceModel.Channels;
using System.ServiceModel.Dispatcher;
using System.ServiceModel.Description;
namespace WcfCmisWSTests {
///
/// author: Dmitry Velichkevich
///
public class SoapRequestHeaderProcessorAttribute: Attribute, IEndpointBehavior {
private string userName;
private string password;
public SoapRequestHeaderProcessorAttribute(string userName, string password) {
this.userName = userName;
this.password = password;
}
void IEndpointBehavior.ApplyClientBehavior(ServiceEndpoint endpoint, ClientRuntime clientRuntime) {
clientRuntime.MessageInspectors.Add(new SoapRequestMassagesInspector(userName, password));
}
void IEndpointBehavior.AddBindingParameters(ServiceEndpoint endpoint,
BindingParameterCollection bindingParameters) {
}
void IEndpointBehavior.ApplyDispatchBehavior(ServiceEndpoint endpoint, EndpointDispatcher endpointDispatcher) {
}
void IEndpointBehavior.Validate(ServiceEndpoint endpoint) {
}
}
}

View File

@@ -0,0 +1,31 @@
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.ServiceModel.Dispatcher;
namespace WcfCmisWSTests {
///
/// author: Dmitry Velichkevich
///
public class SoapRequestMassagesInspector: IClientMessageInspector {
private string userName;
private string password;
public SoapRequestMassagesInspector(string userName, string password) {
this.userName = userName;
this.password = password;
}
object IClientMessageInspector.BeforeSendRequest(ref Message request, IClientChannel channel) {
request.Headers.Clear();
request.Headers.Add(SecurityMessageHeader.CreateHeader(userName, password));
return null;
}
void IClientMessageInspector.AfterReceiveReply(ref Message reply, object correlationState) {
}
}
}

View File

@@ -0,0 +1,171 @@
using System.Text;
using NUnit.Framework;
using WcfTestClient.VersioningService;
namespace WcfCmisWSTests {
///
/// author: Dmitry Velichkevich
///
[TestFixture]
public class VersioningServiceClientTest {
private const int EXPECTED_VERSIONS_AMOUNT = 3;
private const int DIFFERENT_VERSIONS_AMOUNT = EXPECTED_VERSIONS_AMOUNT - 1;
private const string CHECKIN_COMMENT = "Checked In with NUnit";
private const string CHECKIN_CONTENT_TEXT = "Check In test result entry";
private const string COMMON_VERSION_SUFFIX = "/1.";
private const string EXPECTED_VERSION_NUMBER = COMMON_VERSION_SUFFIX + "1";
private static byte[] checkinContentEntry = Encoding.GetEncoding(
AbstractCmisServicesHelper.DEFAULT_ENCODING).GetBytes(CHECKIN_CONTENT_TEXT);
[Test]
public void testDocumentCheckoutingAndCheckoutCanceling() {
string documentId = AbstractCmisServicesHelper.createAndAssertDocument(
AbstractCmisServicesHelper.generateObjectName(
AbstractCmisServicesHelper.TEXT_DOCUMENT_POSTFIX),
AbstractCmisServicesHelper.getAndAssertRootFolder(),
AbstractCmisServicesHelper.TEXT_DOCUMENT_MIMETYPE,
AbstractCmisServicesHelper.getTestDocumentContentEntry());
AbstractCmisServicesHelper.cancelCheckOutAndAssert(
AbstractCmisServicesHelper.checkOutAndAssert(documentId));
AbstractCmisServicesHelper.deleteAndAssertDocument(documentId);
}
[Test]
public void testLatestVersionPropertiesReceiving() {
string documentName = AbstractCmisServicesHelper.generateObjectName(
AbstractCmisServicesHelper.TEXT_DOCUMENT_POSTFIX);
string documentId = AbstractCmisServicesHelper.createAndAssertDocument(documentName,
AbstractCmisServicesHelper.getAndAssertRootFolder(),
AbstractCmisServicesHelper.TEXT_DOCUMENT_MIMETYPE,
AbstractCmisServicesHelper.getTestDocumentContentEntry());
AbstractCmisServicesHelper.getAndAssertLatestVersionProperties(documentId, documentName, null, false);
AbstractCmisServicesHelper.deleteAndAssertDocument(documentId);
}
[Test]
public void testAllVersionsDeletion() {
string documentName = AbstractCmisServicesHelper.generateObjectName(
AbstractCmisServicesHelper.TEXT_DOCUMENT_POSTFIX);
string documentId = AbstractCmisServicesHelper.createAndAssertDocument(documentName,
AbstractCmisServicesHelper.getAndAssertRootFolder(),
AbstractCmisServicesHelper.TEXT_DOCUMENT_MIMETYPE,
AbstractCmisServicesHelper.getTestDocumentContentEntry());
assertAllVersionsDeletion(documentName, documentId,
AbstractCmisServicesHelper.createVersioningServiceClient());
AbstractCmisServicesHelper.deleteAndAssertDocument(documentId);
}
[Test]
public void testDocumentCheckIning() {
string documentName = AbstractCmisServicesHelper.generateObjectName(
AbstractCmisServicesHelper.TEXT_DOCUMENT_POSTFIX);
string documentId = AbstractCmisServicesHelper.createAndAssertDocument(documentName,
AbstractCmisServicesHelper.getAndAssertRootFolder(),
AbstractCmisServicesHelper.TEXT_DOCUMENT_MIMETYPE,
WcfTestClient.ObjectService.enumVersioningState.checkedout,
AbstractCmisServicesHelper.getTestDocumentContentEntry());
documentId = assertCheckIning(documentName, documentId);
AbstractCmisServicesHelper.deleteAndAssertDocument(documentId);
}
[Test]
public void testAllVersionsReceiving() {
string documentName = AbstractCmisServicesHelper.generateObjectName(
AbstractCmisServicesHelper.TEXT_DOCUMENT_POSTFIX);
string documentId = AbstractCmisServicesHelper.createAndAssertDocument(documentName,
AbstractCmisServicesHelper.getAndAssertRootFolder(),
AbstractCmisServicesHelper.TEXT_DOCUMENT_MIMETYPE,
WcfTestClient.ObjectService.enumVersioningState.checkedout,
AbstractCmisServicesHelper.getTestDocumentContentEntry());
documentId = assertCheckIning(documentName, documentId);
assertVersionsReceiving(documentId, AbstractCmisServicesHelper.createVersioningServiceClient());
AbstractCmisServicesHelper.deleteAndAssertDocument(documentId);
}
private static void assertAllVersionsDeletion(string documentName, string documentId,
VersioningServicePortClient client) {
client.deleteAllVersions(AbstractCmisServicesHelper.getAndAssertRepositoryId(), documentId);
AbstractCmisServicesHelper.getAndAssertLatestVersionProperties(documentId, documentName, null, true);
}
private static string assertCheckIning(string documentName, string documentId) {
AbstractCmisServicesHelper.assertCheckedOutDocument(documentId, true);
AbstractCmisServicesHelper.createVersioningServiceClient().checkIn(
AbstractCmisServicesHelper.getAndAssertRepositoryId(), ref documentId, false,
null, createVersioningContentStream(documentName), CHECKIN_COMMENT);
AbstractCmisServicesHelper.getAndAssertLatestVersionProperties(documentId, documentName,
EXPECTED_VERSION_NUMBER, false);
return documentId;
}
private static void assertVersionsReceiving(string documentId, VersioningServicePortClient client) {
cmisObjectType[] response = client.getAllVersions(AbstractCmisServicesHelper.getAndAssertRepositoryId(),
documentId, AbstractCmisServicesHelper.ANY_PROPERTY_FILTER, false, false);
Assert.IsNotNull(response);
Assert.AreEqual(EXPECTED_VERSIONS_AMOUNT, response.Length);
assertOlderVersions(response);
}
private static void assertOlderVersions(cmisObjectType[] response) {
Assert.IsTrue(((string)AbstractCmisServicesHelper.searchPropertyAndGetValueByName(
AbstractCmisServicesHelper.VERSIONING_CONVERTER.convertProperties(
response[0].properties.Items), AbstractCmisServicesHelper
.OBJECT_IDENTIFIER_PROPERTY)).EndsWith(COMMON_VERSION_SUFFIX + 1));
for (int currentVersionNumber = (DIFFERENT_VERSIONS_AMOUNT - 1); currentVersionNumber > 0;
currentVersionNumber--) {
Assert.IsTrue(((string)AbstractCmisServicesHelper.searchPropertyAndGetValueByName(
AbstractCmisServicesHelper.VERSIONING_CONVERTER.convertProperties(
response[DIFFERENT_VERSIONS_AMOUNT - currentVersionNumber].properties.Items),
AbstractCmisServicesHelper.OBJECT_IDENTIFIER_PROPERTY)).EndsWith(
COMMON_VERSION_SUFFIX + currentVersionNumber));
}
}
private static cmisContentStreamType createVersioningContentStream(string documentName) {
cmisContentStreamType result = new cmisContentStreamType();
result.filename = documentName;
result.length = checkinContentEntry.Length.ToString();
result.mimeType = AbstractCmisServicesHelper.TEXT_DOCUMENT_MIMETYPE;
result.stream = checkinContentEntry;
return result;
}
}
}

View File

@@ -0,0 +1,210 @@
namespace WcfCmisWSTests {
///
/// author: Dmitry Velichkevich
///
public class VersioningServiceToObjectServiceTypesConverter: CmisTypesConverter
<WcfTestClient.ObjectService.cmisProperty[], WcfTestClient.VersioningService.cmisProperty[]> {
WcfTestClient.ObjectService.cmisProperty[] CmisTypesConverter<WcfTestClient.ObjectService.cmisProperty[],
WcfTestClient.VersioningService.cmisProperty[]>
.convertProperties(WcfTestClient.VersioningService.cmisProperty[] sourceData) {
WcfTestClient.ObjectService.cmisProperty[] result =
new WcfTestClient.ObjectService.cmisProperty[sourceData.Length];
int index = 0;
foreach (WcfTestClient.VersioningService.cmisProperty property in sourceData) {
index = determineObjectServiceProperty(result, index, property);
}
return result;
}
private static int determineObjectServiceProperty(WcfTestClient.ObjectService.cmisProperty[] result,
int index, WcfTestClient.VersioningService.cmisProperty property) {
if (property is WcfTestClient.VersioningService.cmisPropertyString) {
result[index++] = convertToStringObjectServiceProperty(
(WcfTestClient.VersioningService.cmisPropertyString)property);
}
if (property is WcfTestClient.VersioningService.cmisPropertyBoolean) {
result[index++] = convertToBooleanObjectServiceProperty(
(WcfTestClient.VersioningService.cmisPropertyBoolean)property);
}
if (property is WcfTestClient.VersioningService.cmisPropertyDateTime) {
result[index++] = convertToDateTimeObjectServiceProperty(
(WcfTestClient.VersioningService.cmisPropertyDateTime)property);
}
if (property is WcfTestClient.VersioningService.cmisPropertyDecimal) {
result[index++] = convertToDecimalObjectServiceProperty(
(WcfTestClient.VersioningService.cmisPropertyDecimal)property);
}
if (property is WcfTestClient.VersioningService.cmisPropertyId) {
result[index++] = convertToIdObjectServiceProperty(
(WcfTestClient.VersioningService.cmisPropertyId)property);
}
if (property is WcfTestClient.VersioningService.cmisPropertyInteger) {
result[index++] = convertToIntegerObjectServiceProperty(
(WcfTestClient.VersioningService.cmisPropertyInteger)property);
}
if (property is WcfTestClient.VersioningService.cmisPropertyUri) {
result[index++] = convertToUriObjectServiceProperty(
(WcfTestClient.VersioningService.cmisPropertyUri)property);
}
return index;
}
private static WcfTestClient.ObjectService.cmisProperty convertToStringObjectServiceProperty(
WcfTestClient.VersioningService.cmisPropertyString source) {
WcfTestClient.ObjectService.cmisPropertyString result =
new WcfTestClient.ObjectService.cmisPropertyString();
result.AnyAttr = source.AnyAttr;
result.index = source.index;
result.name = source.name;
result.propertyType = convertToObjectServicePropertyTypeEnum(source.propertyType);
result.propertyTypeSpecified = source.propertyTypeSpecified;
result.value = source.value;
return result;
}
private static WcfTestClient.ObjectService.cmisProperty convertToBooleanObjectServiceProperty(
WcfTestClient.VersioningService.cmisPropertyBoolean source) {
WcfTestClient.ObjectService.cmisPropertyBoolean result =
new WcfTestClient.ObjectService.cmisPropertyBoolean();
result.AnyAttr = source.AnyAttr;
result.index = source.index;
result.name = source.name;
result.propertyType = convertToObjectServicePropertyTypeEnum(source.propertyType);
result.propertyTypeSpecified = source.propertyTypeSpecified;
result.value = source.value;
return result;
}
private static WcfTestClient.ObjectService.cmisProperty convertToDateTimeObjectServiceProperty(
WcfTestClient.VersioningService.cmisPropertyDateTime source) {
WcfTestClient.ObjectService.cmisPropertyDateTime result =
new WcfTestClient.ObjectService.cmisPropertyDateTime();
result.AnyAttr = source.AnyAttr;
result.index = source.index;
result.name = source.name;
result.propertyType = convertToObjectServicePropertyTypeEnum(source.propertyType);
result.propertyTypeSpecified = source.propertyTypeSpecified;
result.value = source.value;
return result;
}
private static WcfTestClient.ObjectService.cmisProperty convertToDecimalObjectServiceProperty(
WcfTestClient.VersioningService.cmisPropertyDecimal source) {
WcfTestClient.ObjectService.cmisPropertyDecimal result =
new WcfTestClient.ObjectService.cmisPropertyDecimal();
result.AnyAttr = source.AnyAttr;
result.index = source.index;
result.name = source.name;
result.propertyType = convertToObjectServicePropertyTypeEnum(source.propertyType);
result.propertyTypeSpecified = source.propertyTypeSpecified;
result.value = source.value;
return result;
}
private static WcfTestClient.ObjectService.cmisProperty convertToIdObjectServiceProperty(
WcfTestClient.VersioningService.cmisPropertyId source) {
WcfTestClient.ObjectService.cmisPropertyId result = new WcfTestClient.ObjectService.cmisPropertyId();
result.AnyAttr = source.AnyAttr;
result.index = source.index;
result.name = source.name;
result.propertyType = convertToObjectServicePropertyTypeEnum(source.propertyType);
result.propertyTypeSpecified = source.propertyTypeSpecified;
result.value = source.value;
return result;
}
private static WcfTestClient.ObjectService.cmisProperty convertToIntegerObjectServiceProperty(
WcfTestClient.VersioningService.cmisPropertyInteger source) {
WcfTestClient.ObjectService.cmisPropertyInteger result =
new WcfTestClient.ObjectService.cmisPropertyInteger();
result.AnyAttr = source.AnyAttr;
result.index = source.index;
result.name = source.name;
result.propertyType = convertToObjectServicePropertyTypeEnum(source.propertyType);
result.propertyTypeSpecified = source.propertyTypeSpecified;
result.value = source.value;
return result;
}
private static WcfTestClient.ObjectService.cmisProperty convertToUriObjectServiceProperty(
WcfTestClient.VersioningService.cmisPropertyUri source) {
WcfTestClient.ObjectService.cmisPropertyUri result = new WcfTestClient.ObjectService.cmisPropertyUri();
result.AnyAttr = source.AnyAttr;
result.index = source.index;
result.name = source.name;
result.propertyType = convertToObjectServicePropertyTypeEnum(source.propertyType);
result.propertyTypeSpecified = source.propertyTypeSpecified;
result.value = source.value;
return result;
}
private static WcfTestClient.ObjectService.enumPropertyType convertToObjectServicePropertyTypeEnum(
WcfTestClient.VersioningService.enumPropertyType source) {
switch (source) {
case WcfTestClient.VersioningService.enumPropertyType.boolean: {
return WcfTestClient.ObjectService.enumPropertyType.boolean;
}
case WcfTestClient.VersioningService.enumPropertyType.datetime: {
return WcfTestClient.ObjectService.enumPropertyType.datetime;
}
case WcfTestClient.VersioningService.enumPropertyType.html: {
return WcfTestClient.ObjectService.enumPropertyType.html;
}
case WcfTestClient.VersioningService.enumPropertyType.id: {
return WcfTestClient.ObjectService.enumPropertyType.id;
}
case WcfTestClient.VersioningService.enumPropertyType.integer: {
return WcfTestClient.ObjectService.enumPropertyType.integer;
}
case WcfTestClient.VersioningService.enumPropertyType.uri: {
return WcfTestClient.ObjectService.enumPropertyType.uri;
}
case WcfTestClient.VersioningService.enumPropertyType.xml: {
return WcfTestClient.ObjectService.enumPropertyType.xml;
}
}
return WcfTestClient.ObjectService.enumPropertyType.@decimal;
}
}
}

View File

@@ -0,0 +1,271 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{55907DD1-87C0-4544-AFBC-4B9761E2CFBA}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>WcfCmisWSTests</RootNamespace>
<AssemblyName>WcfCmisWSTests</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>build\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821, processorArchitecture=MSIL" />
<Reference Include="nunit.core, Version=2.4.5.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL" />
<Reference Include="nunit.core.extensions, Version=2.4.5.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL" />
<Reference Include="nunit.core.interfaces, Version=2.4.5.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL" />
<Reference Include="nunit.core.tests, Version=2.4.5.0, Culture=neutral, processorArchitecture=MSIL" />
<Reference Include="nunit.extensions.tests, Version=2.4.5.0, Culture=neutral, processorArchitecture=MSIL" />
<Reference Include="nunit.fixtures, Version=2.4.5.0, Culture=neutral, processorArchitecture=MSIL" />
<Reference Include="nunit.framework, Version=2.4.5.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL" />
<Reference Include="nunit.framework.extensions, Version=2.4.5.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL" />
<Reference Include="nunit.mocks, Version=2.4.5.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL" />
<Reference Include="nunit.uikit, Version=2.4.5.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL" />
<Reference Include="nunit.uikit.tests, Version=2.4.5.0, Culture=neutral, processorArchitecture=MSIL" />
<Reference Include="nunit.util, Version=2.4.5.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL" />
<Reference Include="System" />
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Runtime.Serialization">
<RequiredTargetFramework>3.0</RequiredTargetFramework>
</Reference>
<Reference Include="System.ServiceModel">
<RequiredTargetFramework>3.0</RequiredTargetFramework>
</Reference>
<Reference Include="System.Xml.Linq">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data.DataSetExtensions">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Source\AbstractCmisServicesHelper.cs" />
<Compile Include="Source\FolderCreatorStrategy.cs" />
<Compile Include="Source\CmisManipulationsStrategy.cs" />
<Compile Include="Source\CmisTypesConverter.cs" />
<Compile Include="Source\DiscoveryServiceClientTest.cs" />
<Compile Include="Source\DocumentCreatorStrategy.cs" />
<Compile Include="Source\MultiFilingServiceClientTest.cs" />
<Compile Include="Source\NavigationServiceClientTest.cs" />
<Compile Include="Source\NavigationServiceToObjectServiceTypesConverter.cs" />
<Compile Include="Source\ObjectServiceClientTest.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Source\RepositoryServiceClientTest.cs" />
<Compile Include="Source\SecurityMessageHeader.cs" />
<Compile Include="Service References\DiscoveryService\Reference.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Reference.svcmap</DependentUpon>
</Compile>
<Compile Include="Service References\MultiFilingService\Reference.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Reference.svcmap</DependentUpon>
</Compile>
<Compile Include="Service References\NavigationService\Reference.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Reference.svcmap</DependentUpon>
</Compile>
<Compile Include="Service References\ObjectService\Reference.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Reference.svcmap</DependentUpon>
</Compile>
<Compile Include="Service References\RepositoryService\Reference.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Reference.svcmap</DependentUpon>
</Compile>
<Compile Include="Service References\VersioningService\Reference.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Reference.svcmap</DependentUpon>
</Compile>
<Compile Include="Source\SoapRequestHeaderProcessorAttribute.cs" />
<Compile Include="Source\SoapRequestMassagesInspector.cs" />
<Compile Include="Source\VersioningServiceToObjectServiceTypesConverter.cs" />
<Compile Include="Source\VersioninServiceClientTest.cs" />
</ItemGroup>
<ItemGroup>
<WCFMetadata Include="Service References\" />
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
<None Include="Service References\RepositoryService\RepositoryService.wsdl" />
<None Include="Service References\RepositoryService\RepositoryServicePort.wsdl" />
</ItemGroup>
<ItemGroup>
<WCFMetadataStorage Include="Service References\DiscoveryService\" />
<WCFMetadataStorage Include="Service References\MultiFilingService\" />
<WCFMetadataStorage Include="Service References\NavigationService\" />
<WCFMetadataStorage Include="Service References\ObjectService\" />
<WCFMetadataStorage Include="Service References\RepositoryService\" />
<WCFMetadataStorage Include="Service References\VersioningService\" />
</ItemGroup>
<ItemGroup>
<None Include="Service References\RepositoryService\configuration91.svcinfo" />
</ItemGroup>
<ItemGroup>
<None Include="Service References\RepositoryService\configuration.svcinfo" />
</ItemGroup>
<ItemGroup>
<None Include="Properties\DataSources\System.Xml.XmlElement.datasource" />
<None Include="Service References\ObjectService\ObjectService.wsdl" />
<None Include="Service References\ObjectService\ObjectServicePort.wsdl" />
<None Include="Service References\RepositoryService\Reference.svcmap">
<Generator>WCF Proxy Generator</Generator>
<LastGenOutput>Reference.cs</LastGenOutput>
</None>
<None Include="Service References\RepositoryService\WcfCmisWSTests.RepositoryService.cmisAnyXml.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Service References\RepositoryService\WcfCmisWSTests.RepositoryService.cmisRepositoryCapabilitiesType.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Service References\RepositoryService\WcfCmisWSTests.RepositoryService.cmisRepositoryEntryType.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Service References\RepositoryService\WcfCmisWSTests.RepositoryService.cmisTypeDefinitionType.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
</ItemGroup>
<ItemGroup>
<None Include="Service References\ObjectService\configuration91.svcinfo" />
</ItemGroup>
<ItemGroup>
<None Include="Service References\ObjectService\configuration.svcinfo" />
</ItemGroup>
<ItemGroup>
<None Include="Service References\NavigationService\NavigationService.wsdl" />
<None Include="Service References\NavigationService\NavigationServicePort.wsdl" />
<None Include="Service References\ObjectService\Reference.svcmap">
<Generator>WCF Proxy Generator</Generator>
<LastGenOutput>Reference.cs</LastGenOutput>
</None>
<None Include="Service References\ObjectService\WcfCmisWSTests.ObjectService.cmisAllowableActionsType.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Service References\ObjectService\WcfCmisWSTests.ObjectService.cmisContentStreamType.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Service References\ObjectService\WcfCmisWSTests.ObjectService.cmisObjectType.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
</ItemGroup>
<ItemGroup>
<None Include="Service References\NavigationService\configuration91.svcinfo" />
</ItemGroup>
<ItemGroup>
<None Include="Service References\NavigationService\configuration.svcinfo" />
</ItemGroup>
<ItemGroup>
<None Include="Service References\NavigationService\Reference.svcmap">
<Generator>WCF Proxy Generator</Generator>
<LastGenOutput>Reference.cs</LastGenOutput>
</None>
<None Include="Service References\NavigationService\WcfCmisWSTests.NavigationService.cmisObjectType.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Service References\VersioningService\VersioningService.wsdl" />
<None Include="Service References\VersioningService\VersioningServicePort.wsdl" />
</ItemGroup>
<ItemGroup>
<None Include="Service References\VersioningService\configuration91.svcinfo" />
</ItemGroup>
<ItemGroup>
<None Include="Service References\VersioningService\configuration.svcinfo" />
</ItemGroup>
<ItemGroup>
<None Include="Service References\DiscoveryService\DiscoveryService.wsdl" />
<None Include="Service References\DiscoveryService\DiscoveryServicePort.wsdl" />
<None Include="Service References\VersioningService\Reference.svcmap">
<Generator>WCF Proxy Generator</Generator>
<LastGenOutput>Reference.cs</LastGenOutput>
</None>
<None Include="Service References\VersioningService\WcfCmisWSTests.VersioningService.cmisObjectType.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
</ItemGroup>
<ItemGroup>
<None Include="Service References\DiscoveryService\configuration91.svcinfo" />
</ItemGroup>
<ItemGroup>
<None Include="Service References\DiscoveryService\configuration.svcinfo" />
</ItemGroup>
<ItemGroup>
<None Include="Service References\DiscoveryService\Reference.svcmap">
<Generator>WCF Proxy Generator</Generator>
<LastGenOutput>Reference.cs</LastGenOutput>
</None>
<None Include="Service References\DiscoveryService\WcfCmisWSTests.DiscoveryService.cmisObjectType.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Service References\MultiFilingService\MultiFilingService.wsdl" />
<None Include="Service References\MultiFilingService\MultiFilingServicePort.wsdl" />
</ItemGroup>
<ItemGroup>
<None Include="Service References\MultiFilingService\configuration91.svcinfo" />
</ItemGroup>
<ItemGroup>
<None Include="Service References\MultiFilingService\configuration.svcinfo" />
</ItemGroup>
<ItemGroup>
<None Include="Service References\MultiFilingService\Reference.svcmap">
<Generator>WCF Proxy Generator</Generator>
<LastGenOutput>Reference.cs</LastGenOutput>
</None>
</ItemGroup>
<ItemGroup>
<Content Include="Properties\log4net\log4net.dll" />
<Content Include="Properties\log4net\log4net.xml" />
<Content Include="Properties\NUnit\nunit.core.dll" />
<Content Include="Properties\NUnit\nunit.core.extensions.dll" />
<Content Include="Properties\NUnit\nunit.core.interfaces.dll" />
<Content Include="Properties\NUnit\nunit.core.tests.dll" />
<Content Include="Properties\NUnit\nunit.extensions.tests.dll" />
<Content Include="Properties\NUnit\nunit.fixtures.dll" />
<Content Include="Properties\NUnit\nunit.framework.dll" />
<Content Include="Properties\NUnit\nunit.framework.extensions.dll" />
<Content Include="Properties\NUnit\nunit.framework.xml" />
<Content Include="Properties\NUnit\nunit.mocks.dll" />
<Content Include="Properties\NUnit\nunit.uikit.dll" />
<Content Include="Properties\NUnit\nunit.uikit.tests.dll" />
<Content Include="Properties\NUnit\nunit.util.dll" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Target Name="BeforeBuild">
<RemoveDir Directories="build" ContinueOnError="true" />
</Target>
<Target Name="AfterBuild">
<RemoveDir Directories="obj" />
</Target>
<!-- 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.
-->
</Project>

View File

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

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WcfCmisWSTests", "WcfCmisWSTests.csproj", "{55907DD1-87C0-4544-AFBC-4B9761E2CFBA}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{55907DD1-87C0-4544-AFBC-4B9761E2CFBA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{55907DD1-87C0-4544-AFBC-4B9761E2CFBA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{55907DD1-87C0-4544-AFBC-4B9761E2CFBA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{55907DD1-87C0-4544-AFBC-4B9761E2CFBA}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

Binary file not shown.

View File

@@ -0,0 +1,176 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<client>
<endpoint address="https://localhost:8443/alfresco/cmis/ObjectService"
binding="basicHttpBinding" bindingConfiguration="ObjectServiceSoapBinding"
contract="ObjectService.ObjectServicePort" name="ObjectServicePort" />
<endpoint address="https://localhost:8443/alfresco/cmis/NavigationService"
binding="basicHttpBinding" bindingConfiguration="NavigationServiceSoapBinding"
contract="NavigationService.NavigationServicePort" name="NavigationServicePort" />
<endpoint address="https://localhost:8443/alfresco/cmis/VersioningService"
binding="basicHttpBinding" bindingConfiguration="VersioningServiceSoapBinding"
contract="VersioningService.VersioningServicePort" name="VersioningServicePort" />
<endpoint address="https://localhost:8443/alfresco/cmis/DiscoveryService"
binding="basicHttpBinding" bindingConfiguration="DiscoveryServiceSoapBinding"
contract="DiscoveryService.DiscoveryServicePort" name="DiscoveryServicePort" />
<endpoint address="https://localhost:8443/alfresco/cmis/MultiFilingService"
binding="basicHttpBinding" bindingConfiguration="MultiFilingServiceSoapBinding"
contract="MultiFilingService.MultiFilingServicePort" name="MultiFilingServicePort" />
</client>
<bindings>
<basicHttpBinding>
<binding name="cmisUnsecureHttpBinding" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="Exact"
maxBufferSize="196608" maxBufferPoolSize="524288" maxReceivedMessageSize="196608"
messageEncoding="Text" textEncoding="utf-8" transferMode="Streamed"
useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="None" />
</binding>
<binding name="ObjectServiceSoapBinding" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="196608" maxBufferPoolSize="524288" maxReceivedMessageSize="196608"
messageEncoding="Mtom" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="Transport">
<transport clientCredentialType="None" proxyCredentialType="None"
realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
<binding name="ObjectServiceSoapBinding1" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="196608" maxBufferPoolSize="524288" maxReceivedMessageSize="196608"
messageEncoding="Mtom" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="None">
<transport clientCredentialType="None" proxyCredentialType="None"
realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
<binding name="NavigationServiceSoapBinding" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="196608" maxBufferPoolSize="524288" maxReceivedMessageSize="196608"
messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="Transport">
<transport clientCredentialType="None" proxyCredentialType="None"
realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
<binding name="NavigationServiceSoapBinding1" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="196608" maxBufferPoolSize="524288" maxReceivedMessageSize="196608"
messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="None">
<transport clientCredentialType="None" proxyCredentialType="None"
realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
<binding name="VersioningServiceSoapBinding" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="196608" maxBufferPoolSize="524288" maxReceivedMessageSize="196608"
messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="Transport">
<transport clientCredentialType="None" proxyCredentialType="None"
realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
<binding name="VersioningServiceSoapBinding1" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="196608" maxBufferPoolSize="524288" maxReceivedMessageSize="196608"
messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="None">
<transport clientCredentialType="None" proxyCredentialType="None"
realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
<binding name="DiscoveryServiceSoapBinding" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="196608" maxBufferPoolSize="524288" maxReceivedMessageSize="196608"
messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="Transport">
<transport clientCredentialType="None" proxyCredentialType="None"
realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
<binding name="DiscoveryServiceSoapBinding1" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="196608" maxBufferPoolSize="524288" maxReceivedMessageSize="196608"
messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="None">
<transport clientCredentialType="None" proxyCredentialType="None"
realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
<binding name="MultiFilingServiceSoapBinding" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="196608" maxBufferPoolSize="524288" maxReceivedMessageSize="196608"
messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="Transport">
<transport clientCredentialType="None" proxyCredentialType="None"
realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
<binding name="MultiFilingServiceSoapBinding1" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="196608" maxBufferPoolSize="524288" maxReceivedMessageSize="196608"
messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="None">
<transport clientCredentialType="None" proxyCredentialType="None"
realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
</basicHttpBinding>
</bindings>
</system.serviceModel>
</configuration>

View File

@@ -0,0 +1,16 @@
@echo off
set SDK_LOCATION=c:\WINDOWS\Microsoft.NET\Framework
set COMPILER=%SDK_LOCATION%\v3.5\MSBuild.exe
if not exist %COMPILER% goto reportErrorAndExit
%COMPILER% WcfCmisWSTests.csproj
goto end
:reportErrorAndExit
echo --- CRITICAL ENVIRONMENT ERROR: .NET v3.5 compiler ("%COMPILER%") was not found at "%SDK_LOCATION%" location! Please, install .NET v3.5 SDK or reconfigure SDK_LOCATION variable
:end
pause

View File

@@ -0,0 +1,45 @@
COMPILATION
To compile "WcfCmisWSTests" project you need:
1) install .NET SDK v3.5 to your system;
2) copy full "WcfCmisWSTests" project to some directory (e.g.: "C:\WcfCmisWSTests");
3) check if the .NET SDK location and "SDK_LOCATION" variable value in the "build.bat" file are the same
and introduce neccessary corrections;
4) run "build.bat" file.
After compilation finished "build" folder should be created in the project directory. This folder will
contain all neccessary for tests execution libraries and configuration files.
"WcfCmisWSTests.dll" library is the library that design for execution in the NUnit.
NOTE: this tests were developed under NUnit 2.4.5 version.
TESTS RUNNING
To run tests you may use one of the next two methods:
I. 1) launch "NUnit.exe" executable;
2) choose "File" > "Open project..." menu and in file dialog select "WcfCmisWSTests.dll" file and
click "Open" button;
3) in the left side of the main "NUnit" window select neccessary test tree node.
NOTE: select most top node to select all tests; you can make right click on that tree and click on
"Show CheckBoxes" menu item to select not grouped tests;
4) After "Run" button clicking "NUnit" will start test execution. "Run" button became disable and
"Stop" button - enabled. During tests execution "NUnit" will mark tests nodes in the tree with
icons those will be conform to passing status (see "NUnit" documentation for more details). After
"Run" button became enabled again you can see for errors and/or warnings reports and some other log
information if any clicking on the tabs placed in the below of main "NUnit" window.
II. 1) launch system command line console ("Start" > "Run...", type "cmd" in the appeared window and click
"Ok");
2) if system environment not configured with "NUnit" home path navigate with "cd" system command to
"NUnit" home folder;
3) type "nunit-console.exe", break and full path to "WcfCmisWSTests.dll" file (e.g.: nunit-console.exe
C:\WcfCmisWSTests\build\WcfCmisWSTests.dll);
4)* type break. Now you can introduce some options for "NUnit" system and report generation. For
example, to store testing results to the xml you can add "xml=C:\test-report.xml". For more details
about "NUnit" conlose options see "NUnit" documentation or execute "nunit-console.exe" without any
parameters;
5) press "Enter" key. After "NUnit" finish tests execution you can see generated report.
* This step is optional and may be skipped.
NOTE: by default "NUnit" save testing results in the "TestResult.xml" or "<SelectedClassName>.xml"
file in the "NUnit" home directory. Also some information about tests execution will be displayed in
the console window.