chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@apache.org
Subject svn commit: r1061233 [15/15] - in /incubator/chemistry/dotcmis: branches/ tags/ trunk/ trunk/DotCMIS/ trunk/DotCMIS/Properties/ trunk/DotCMIS/Service References/ trunk/DotCMIS/Service References/CMISWebServicesReference/ trunk/DotCMIS/binding/ trunk/Do...
Date Thu, 20 Jan 2011 11:38:50 GMT
Added: incubator/chemistry/dotcmis/trunk/DotCMIS/wsdl/CMISWS-Service.wsdl
URL: http://svn.apache.org/viewvc/incubator/chemistry/dotcmis/trunk/DotCMIS/wsdl/CMISWS-Service.wsdl?rev=1061233&view=auto
==============================================================================
--- incubator/chemistry/dotcmis/trunk/DotCMIS/wsdl/CMISWS-Service.wsdl (added)
+++ incubator/chemistry/dotcmis/trunk/DotCMIS/wsdl/CMISWS-Service.wsdl Thu Jan 20 11:38:48 2011
@@ -0,0 +1,1173 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+	<!--
+		Licensed under the Apache License, Version 2.0 (the "License"); you
+		may not use this file except in compliance with the License. You may
+		obtain a copy of the License at
+
+		http://www.apache.org/licenses/LICENSE-2.0 Unless required by
+		applicable law or agreed to in writing, software distributed under the
+		License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+		CONDITIONS OF ANY KIND, either express or implied. See the License for
+		the specific language governing permissions and limitations under the
+		License.
+	-->
+
+<definitions xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200908/"
+	xmlns:cmism="http://docs.oasis-open.org/ns/cmis/messaging/200908/"
+	xmlns:cmisw="http://docs.oasis-open.org/ns/cmis/ws/200908/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://schemas.xmlsoap.org/wsdl/"
+	xmlns:ns="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://docs.oasis-open.org/ns/cmis/ws/200908/"
+	xmlns:jaxws="http://java.sun.com/xml/ns/jaxws" name="CMISWebServices">
+	<types>
+		<xsd:schema elementFormDefault="qualified"
+			targetNamespace="http://docs.oasis-open.org/ns/cmis/ws/200908/">
+			<xsd:import schemaLocation="CMIS-Core.xsd"
+				namespace="http://docs.oasis-open.org/ns/cmis/core/200908/" />
+			<xsd:import schemaLocation="CMIS-Messaging.xsd"
+				namespace="http://docs.oasis-open.org/ns/cmis/messaging/200908/" />
+		</xsd:schema>
+	</types>
+
+	<message name="cmisException">
+		<part name="fault" element="cmism:cmisFault" />
+	</message>
+
+	<message name="getACLRequest">
+		<part name="parameters" element="cmism:getACL" />
+	</message>
+	<message name="getACLResponse">
+		<part name="parameters" element="cmism:getACLResponse" />
+	</message>
+
+	<message name="applyACLRequest">
+		<part name="parameters" element="cmism:applyACL" />
+	</message>
+	<message name="applyACLResponse">
+		<part name="parameters" element="cmism:applyACLResponse" />
+	</message>
+
+	<message name="queryRequest">
+		<part name="parameters" element="cmism:query" />
+	</message>
+	<message name="queryResponse">
+		<part name="parameters" element="cmism:queryResponse" />
+	</message>
+	<message name="getContentChangesRequest">
+		<part name="parameters" element="cmism:getContentChanges" />
+	</message>
+	<message name="getContentChangesResponse">
+		<part name="parameters" element="cmism:getContentChangesResponse" />
+	</message>
+
+	<message name="addObjectToFolderRequest">
+		<part name="parameters" element="cmism:addObjectToFolder" />
+	</message>
+	<message name="addObjectToFolderResponse">
+		<part name="parameters" element="cmism:addObjectToFolderResponse" />
+	</message>
+	<message name="removeObjectFromFolderRequest">
+		<part name="parameters" element="cmism:removeObjectFromFolder" />
+	</message>
+	<message name="removeObjectFromFolderResponse">
+		<part name="parameters" element="cmism:removeObjectFromFolderResponse" />
+	</message>
+
+	<message name="getDescendantsRequest">
+		<part name="parameters" element="cmism:getDescendants" />
+	</message>
+	<message name="getDescendantsResponse">
+		<part name="parameters" element="cmism:getDescendantsResponse" />
+	</message>
+	<message name="getChildrenRequest">
+		<part name="parameters" element="cmism:getChildren" />
+	</message>
+	<message name="getChildrenResponse">
+		<part name="parameters" element="cmism:getChildrenResponse" />
+	</message>
+	<message name="getFolderParentRequest">
+		<part name="parameters" element="cmism:getFolderParent" />
+	</message>
+	<message name="getFolderParentResponse">
+		<part name="parameters" element="cmism:getFolderParentResponse" />
+	</message>
+	<message name="getObjectParentsRequest">
+		<part name="parameters" element="cmism:getObjectParents" />
+	</message>
+	<message name="getObjectParentsResponse">
+		<part name="parameters" element="cmism:getObjectParentsResponse" />
+	</message>
+	<message name="getRenditionsRequest">
+		<part name="parameters" element="cmism:getRenditions" />
+	</message>
+	<message name="getRenditionsResponse">
+		<part name="parameters" element="cmism:getRenditionsResponse" />
+	</message>
+	<message name="getCheckedOutDocsRequest">
+		<part name="parameters" element="cmism:getCheckedOutDocs" />
+	</message>
+	<message name="getCheckedOutDocsResponse">
+		<part name="parameters" element="cmism:getCheckedOutDocsResponse" />
+	</message>
+
+	<message name="createDocumentRequest">
+		<part name="parameters" element="cmism:createDocument" />
+	</message>
+	<message name="createDocumentResponse">
+		<part name="parameters" element="cmism:createDocumentResponse" />
+	</message>
+	<message name="createDocumentFromSourceRequest">
+		<part name="parameters" element="cmism:createDocumentFromSource" />
+	</message>
+	<message name="createDocumentFromSourceResponse">
+		<part name="parameters" element="cmism:createDocumentFromSourceResponse" />
+	</message>
+	<message name="createFolderRequest">
+		<part name="parameters" element="cmism:createFolder" />
+	</message>
+	<message name="createFolderResponse">
+		<part name="parameters" element="cmism:createFolderResponse" />
+	</message>
+	<message name="createRelationshipRequest">
+		<part name="parameters" element="cmism:createRelationship" />
+	</message>
+	<message name="createRelationshipResponse">
+		<part name="parameters" element="cmism:createRelationshipResponse" />
+	</message>
+	<message name="createPolicyRequest">
+		<part name="parameters" element="cmism:createPolicy" />
+	</message>
+	<message name="createPolicyResponse">
+		<part name="parameters" element="cmism:createPolicyResponse" />
+	</message>
+	<message name="getAllowableActionsRequest">
+		<part name="parameters" element="cmism:getAllowableActions" />
+	</message>
+	<message name="getAllowableActionsResponse">
+		<part name="parameters" element="cmism:getAllowableActionsResponse" />
+	</message>
+	<message name="getObjectRequest">
+		<part name="parameters" element="cmism:getObject" />
+	</message>
+	<message name="getObjectResponse">
+		<part name="parameters" element="cmism:getObjectResponse" />
+	</message>
+	<message name="getPropertiesRequest">
+		<part name="parameters" element="cmism:getProperties" />
+	</message>
+	<message name="getPropertiesResponse">
+		<part name="parameters" element="cmism:getPropertiesResponse" />
+	</message>
+
+	<message name="getObjectByPathRequest">
+		<part name="parameters" element="cmism:getObjectByPath" />
+	</message>
+	<message name="getObjectByPathResponse">
+		<part name="parameters" element="cmism:getObjectByPathResponse" />
+	</message>
+
+	<message name="getContentStreamRequest">
+		<part name="parameters" element="cmism:getContentStream" />
+	</message>
+	<message name="getContentStreamResponse">
+		<part name="parameters" element="cmism:getContentStreamResponse" />
+	</message>
+	<message name="updatePropertiesRequest">
+		<part name="parameters" element="cmism:updateProperties" />
+	</message>
+	<message name="updatePropertiesResponse">
+		<part name="parameters" element="cmism:updatePropertiesResponse" />
+	</message>
+	<message name="moveObjectRequest">
+		<part name="parameters" element="cmism:moveObject" />
+	</message>
+	<message name="moveObjectResponse">
+		<part name="parameters" element="cmism:moveObjectResponse" />
+	</message>
+	<message name="deleteObjectRequest">
+		<part name="parameters" element="cmism:deleteObject" />
+	</message>
+	<message name="deleteObjectResponse">
+		<part name="parameters" element="cmism:deleteObjectResponse" />
+	</message>
+	<message name="deleteTreeRequest">
+		<part name="parameters" element="cmism:deleteTree" />
+	</message>
+	<message name="deleteTreeResponse">
+		<part name="parameters" element="cmism:deleteTreeResponse" />
+	</message>
+	<message name="setContentStreamRequest">
+		<part name="parameters" element="cmism:setContentStream" />
+	</message>
+	<message name="setContentStreamResponse">
+		<part name="parameters" element="cmism:setContentStreamResponse" />
+	</message>
+	<message name="deleteContentStreamRequest">
+		<part name="parameters" element="cmism:deleteContentStream" />
+	</message>
+	<message name="deleteContentStreamResponse">
+		<part name="parameters" element="cmism:deleteContentStreamResponse" />
+	</message>
+
+	<message name="applyPolicyRequest">
+		<part name="parameters" element="cmism:applyPolicy" />
+	</message>
+	<message name="applyPolicyResponse">
+		<part name="parameters" element="cmism:applyPolicyResponse" />
+	</message>
+	<message name="removePolicyRequest">
+		<part name="parameters" element="cmism:removePolicy" />
+	</message>
+	<message name="removePolicyResponse">
+		<part name="parameters" element="cmism:removePolicyResponse" />
+	</message>
+	<message name="getAppliedPoliciesRequest">
+		<part name="parameters" element="cmism:getAppliedPolicies" />
+	</message>
+	<message name="getAppliedPoliciesResponse">
+		<part name="parameters" element="cmism:getAppliedPoliciesResponse" />
+	</message>
+
+	<message name="getObjectRelationshipsRequest">
+		<part name="parameters" element="cmism:getObjectRelationships" />
+	</message>
+	<message name="getObjectRelationshipsResponse">
+		<part name="parameters" element="cmism:getObjectRelationshipsResponse" />
+	</message>
+
+	<message name="getRepositoriesRequest">
+		<part name="parameters" element="cmism:getRepositories" />
+	</message>
+	<message name="getRepositoriesResponse">
+		<part name="parameters" element="cmism:getRepositoriesResponse" />
+	</message>
+	<message name="getRepositoryInfoRequest">
+		<part name="parameters" element="cmism:getRepositoryInfo" />
+	</message>
+	<message name="getRepositoryInfoResponse">
+		<part name="parameters" element="cmism:getRepositoryInfoResponse" />
+	</message>
+	<message name="getTypeChildrenRequest">
+		<part name="parameters" element="cmism:getTypeChildren" />
+	</message>
+	<message name="getTypeChildrenResponse">
+		<part name="parameters" element="cmism:getTypeChildrenResponse" />
+	</message>
+	<message name="getTypeDescendantsRequest">
+		<part name="parameters" element="cmism:getTypeDescendants" />
+	</message>
+	<message name="getTypeDescendantsResponse">
+		<part name="parameters" element="cmism:getTypeDescendantsResponse" />
+	</message>
+	<message name="getTypeDefinitionRequest">
+		<part name="parameters" element="cmism:getTypeDefinition" />
+	</message>
+	<message name="getTypeDefinitionResponse">
+		<part name="parameters" element="cmism:getTypeDefinitionResponse" />
+	</message>
+
+	<message name="checkOutRequest">
+		<part name="parameters" element="cmism:checkOut" />
+	</message>
+	<message name="checkOutResponse">
+		<part name="parameters" element="cmism:checkOutResponse" />
+	</message>
+	<message name="cancelCheckOutRequest">
+		<part name="parameters" element="cmism:cancelCheckOut" />
+	</message>
+	<message name="cancelCheckOutResponse">
+		<part name="parameters" element="cmism:cancelCheckOutResponse" />
+	</message>
+	<message name="checkInRequest">
+		<part name="parameters" element="cmism:checkIn" />
+	</message>
+	<message name="checkInResponse">
+		<part name="parameters" element="cmism:checkInResponse" />
+	</message>
+	<message name="getObjectOfLatestVersionRequest">
+		<part name="parameters" element="cmism:getObjectOfLatestVersion" />
+	</message>
+	<message name="getObjectOfLatestVersionResponse">
+		<part name="parameters" element="cmism:getObjectOfLatestVersionResponse" />
+	</message>	
+	<message name="getPropertiesOfLatestVersionRequest">
+		<part name="parameters" element="cmism:getPropertiesOfLatestVersion" />
+	</message>
+	<message name="getPropertiesOfLatestVersionResponse">
+		<part name="parameters" element="cmism:getPropertiesOfLatestVersionResponse" />
+	</message>
+	<message name="getAllVersionsRequest">
+		<part name="parameters" element="cmism:getAllVersions" />
+	</message>
+	<message name="getAllVersionsResponse">
+		<part name="parameters" element="cmism:getAllVersionsResponse" />
+	</message>
+
+	<message name="getFolderTreeRequest">
+		<part name="parameters" element="cmism:getFolderTree" />
+	</message>
+	<message name="getFolderTreeResponse">
+		<part name="parameters" element="cmism:getFolderTreeResponse" />
+	</message>
+
+	<portType name="DiscoveryServicePort">
+		<operation name="query">
+			<input message="cmisw:queryRequest" />
+			<output message="cmisw:queryResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+		<operation name="getContentChanges">
+			<input message="cmisw:getContentChangesRequest" />
+			<output message="cmisw:getContentChangesResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+	</portType>
+
+	<portType name="MultiFilingServicePort">
+		<operation name="addObjectToFolder">
+			<input message="cmisw:addObjectToFolderRequest" />
+			<output message="cmisw:addObjectToFolderResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+		<operation name="removeObjectFromFolder">
+			<input message="cmisw:removeObjectFromFolderRequest" />
+			<output message="cmisw:removeObjectFromFolderResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+	</portType>
+	<portType name="NavigationServicePort">
+		<operation name="getDescendants">
+			<input message="cmisw:getDescendantsRequest" />
+			<output message="cmisw:getDescendantsResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+		<operation name="getChildren">
+			<input message="cmisw:getChildrenRequest" />
+			<output message="cmisw:getChildrenResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+		<operation name="getFolderParent">
+			<input message="cmisw:getFolderParentRequest" />
+			<output message="cmisw:getFolderParentResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+		<operation name="getFolderTree">
+			<input message="cmisw:getFolderTreeRequest" />
+			<output message="cmisw:getFolderTreeResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+		<operation name="getObjectParents">
+			<input message="cmisw:getObjectParentsRequest" />
+			<output message="cmisw:getObjectParentsResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+		<operation name="getCheckedOutDocs">
+			<input message="cmisw:getCheckedOutDocsRequest" />
+			<output message="cmisw:getCheckedOutDocsResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+	</portType>
+	<portType name="ObjectServicePort">
+		<operation name="createDocument">
+			<input message="cmisw:createDocumentRequest" />
+			<output message="cmisw:createDocumentResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+		<operation name="createDocumentFromSource">
+			<input message="cmisw:createDocumentFromSourceRequest" />
+			<output message="cmisw:createDocumentFromSourceResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+		<operation name="createFolder">
+			<input message="cmisw:createFolderRequest" />
+			<output message="cmisw:createFolderResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+		<operation name="createRelationship">
+			<input message="cmisw:createRelationshipRequest" />
+			<output message="cmisw:createRelationshipResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+		<operation name="createPolicy">
+			<input message="cmisw:createPolicyRequest" />
+			<output message="cmisw:createPolicyResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+		<operation name="getAllowableActions">
+			<input message="cmisw:getAllowableActionsRequest" />
+			<output message="cmisw:getAllowableActionsResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+		<operation name="getObject">
+			<input message="cmisw:getObjectRequest" />
+			<output message="cmisw:getObjectResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+		<operation name="getProperties">
+			<input message="cmisw:getPropertiesRequest" />
+			<output message="cmisw:getPropertiesResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+		<operation name="getRenditions">
+			<input message="cmisw:getRenditionsRequest" />
+			<output message="cmisw:getRenditionsResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+		<operation name="getObjectByPath">
+			<input message="cmisw:getObjectByPathRequest" />
+			<output message="cmisw:getObjectByPathResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+		<operation name="getContentStream">
+			<input message="cmisw:getContentStreamRequest" />
+			<output message="cmisw:getContentStreamResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+		<operation name="updateProperties">
+			<input message="cmisw:updatePropertiesRequest" />
+			<output message="cmisw:updatePropertiesResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+		<operation name="moveObject">
+			<input message="cmisw:moveObjectRequest" />
+			<output message="cmisw:moveObjectResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+		<operation name="deleteObject">
+			<input message="cmisw:deleteObjectRequest" />
+			<output message="cmisw:deleteObjectResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+		<operation name="deleteTree">
+			<input message="cmisw:deleteTreeRequest" />
+			<output message="cmisw:deleteTreeResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+		<operation name="setContentStream">
+			<input message="cmisw:setContentStreamRequest" />
+			<output message="cmisw:setContentStreamResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+		<operation name="deleteContentStream">
+			<input message="cmisw:deleteContentStreamRequest" />
+			<output message="cmisw:deleteContentStreamResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+	</portType>
+	<portType name="PolicyServicePort">
+		<operation name="applyPolicy">
+			<input message="cmisw:applyPolicyRequest" />
+			<output message="cmisw:applyPolicyResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+		<operation name="removePolicy">
+			<input message="cmisw:removePolicyRequest" />
+			<output message="cmisw:removePolicyResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+		<operation name="getAppliedPolicies">
+			<input message="cmisw:getAppliedPoliciesRequest" />
+			<output message="cmisw:getAppliedPoliciesResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+	</portType>
+
+	<portType name="RelationshipServicePort">
+		<operation name="getObjectRelationships">
+			<input message="cmisw:getObjectRelationshipsRequest" />
+			<output message="cmisw:getObjectRelationshipsResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+	</portType>
+	<portType name="RepositoryServicePort">
+		<operation name="getRepositories">
+			<input message="cmisw:getRepositoriesRequest" />
+			<output message="cmisw:getRepositoriesResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+		<operation name="getRepositoryInfo">
+			<input message="cmisw:getRepositoryInfoRequest" />
+			<output message="cmisw:getRepositoryInfoResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+		<operation name="getTypeChildren">
+			<input message="cmisw:getTypeChildrenRequest" />
+			<output message="cmisw:getTypeChildrenResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+		<operation name="getTypeDescendants">
+			<input message="cmisw:getTypeDescendantsRequest" />
+			<output message="cmisw:getTypeDescendantsResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+		<operation name="getTypeDefinition">
+			<input message="cmisw:getTypeDefinitionRequest" />
+			<output message="cmisw:getTypeDefinitionResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+	</portType>
+	<portType name="VersioningServicePort">
+		<operation name="checkOut">
+			<input message="cmisw:checkOutRequest" />
+			<output message="cmisw:checkOutResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+		<operation name="cancelCheckOut">
+			<input message="cmisw:cancelCheckOutRequest" />
+			<output message="cmisw:cancelCheckOutResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+		<operation name="checkIn">
+			<input message="cmisw:checkInRequest" />
+			<output message="cmisw:checkInResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+		<operation name="getObjectOfLatestVersion">
+			<input message="cmisw:getObjectOfLatestVersionRequest" />
+			<output message="cmisw:getObjectOfLatestVersionResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+		<operation name="getPropertiesOfLatestVersion">
+			<input message="cmisw:getPropertiesOfLatestVersionRequest" />
+			<output message="cmisw:getPropertiesOfLatestVersionResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+		<operation name="getAllVersions">
+			<input message="cmisw:getAllVersionsRequest" />
+			<output message="cmisw:getAllVersionsResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+	</portType>
+	<portType name="ACLServicePort">
+		<operation name="getACL">
+			<input message="cmisw:getACLRequest" />
+			<output message="cmisw:getACLResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+		<operation name="applyACL">
+			<input message="cmisw:applyACLRequest" />
+			<output message="cmisw:applyACLResponse" />
+			<fault message="cmisw:cmisException" name="cmisException" />
+		</operation>
+	</portType>
+
+
+	<binding name="DiscoveryServicePortBinding" type="cmisw:DiscoveryServicePort">
+		<soap:binding style="document"
+			transport="http://schemas.xmlsoap.org/soap/http" />
+		<operation name="query">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+		<operation name="getContentChanges">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+	</binding>
+	<binding name="MultiFilingServicePortBinding" type="cmisw:MultiFilingServicePort">
+		<soap:binding style="document"
+			transport="http://schemas.xmlsoap.org/soap/http" />
+		<operation name="addObjectToFolder">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+		<operation name="removeObjectFromFolder">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+	</binding>
+	<binding name="NavigationServicePortBinding" type="cmisw:NavigationServicePort">
+		<soap:binding style="document"
+			transport="http://schemas.xmlsoap.org/soap/http" />
+		<operation name="getDescendants">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+		<operation name="getChildren">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+		<operation name="getFolderParent">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+		<operation name="getFolderTree">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+		<operation name="getObjectParents">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+		<operation name="getCheckedOutDocs">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+	</binding>
+	<binding name="ObjectServicePortBinding" type="cmisw:ObjectServicePort">
+		<soap:binding style="document"
+			transport="http://schemas.xmlsoap.org/soap/http" />
+		<operation name="createDocument">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+		<operation name="createDocumentFromSource">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+		<operation name="createFolder">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+		<operation name="createRelationship">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+		<operation name="createPolicy">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+		<operation name="getAllowableActions">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+		<operation name="getObject">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+		<operation name="getProperties">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+		<operation name="getRenditions">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+		<operation name="getObjectByPath">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+		<operation name="getContentStream">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+		<operation name="updateProperties">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+		<operation name="moveObject">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+		<operation name="deleteObject">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+		<operation name="deleteTree">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+		<operation name="setContentStream">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+		<operation name="deleteContentStream">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+	</binding>
+	<binding name="PolicyServicePortBinding" type="cmisw:PolicyServicePort">
+		<soap:binding style="document"
+			transport="http://schemas.xmlsoap.org/soap/http" />
+		<operation name="applyPolicy">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+		<operation name="removePolicy">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+		<operation name="getAppliedPolicies">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+	</binding>
+	<binding name="RelationshipServicePortBinding" type="cmisw:RelationshipServicePort">
+		<soap:binding style="document"
+			transport="http://schemas.xmlsoap.org/soap/http" />
+		<operation name="getObjectRelationships">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+	</binding>
+	<binding name="RepositoryServicePortBinding" type="cmisw:RepositoryServicePort">
+		<soap:binding style="document"
+			transport="http://schemas.xmlsoap.org/soap/http" />
+		<operation name="getRepositories">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+		<operation name="getRepositoryInfo">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+		<operation name="getTypeChildren">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+		<operation name="getTypeDescendants">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+		<operation name="getTypeDefinition">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+	</binding>
+	<binding name="VersioningServicePortBinding" type="cmisw:VersioningServicePort">
+		<soap:binding style="document"
+			transport="http://schemas.xmlsoap.org/soap/http" />
+		<operation name="checkOut">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+		<operation name="cancelCheckOut">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+		<operation name="checkIn">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+		<operation name="getObjectOfLatestVersion">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+		<operation name="getPropertiesOfLatestVersion">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+		<operation name="getAllVersions">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+	</binding>
+	<binding name="ACLServicePortBinding" type="cmisw:ACLServicePort">
+		<soap:binding style="document"
+			transport="http://schemas.xmlsoap.org/soap/http" />
+		<operation name="getACL">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+		<operation name="applyACL">
+			<soap:operation soapAction="" />
+			<input>
+				<soap:body use="literal" />
+			</input>
+			<output>
+				<soap:body use="literal" />
+			</output>
+			<fault name="cmisException">
+				<soap:fault name="cmisException" use="literal" />
+			</fault>
+		</operation>
+	</binding>
+
+
+	<service name="DiscoveryService">
+		<port name="DiscoveryServicePort" binding="cmisw:DiscoveryServicePortBinding">
+			<soap:address
+				location="http://cmis/services/DiscoveryService.DiscoveryServicePort" />
+		</port>
+	</service>
+	<service name="MultiFilingService">
+		<port name="MultiFilingServicePort" binding="cmisw:MultiFilingServicePortBinding">
+			<soap:address
+				location="http://cmis/services/MultiFilingService.MultiFilingServicePort" />
+		</port>
+	</service>
+	<service name="NavigationService">
+		<port name="NavigationServicePort" binding="cmisw:NavigationServicePortBinding">
+			<soap:address
+				location="http://cmis/services/NavigationService.NavigationServicePort" />
+		</port>
+	</service>
+	<service name="ObjectService">
+		<port name="ObjectServicePort" binding="cmisw:ObjectServicePortBinding">
+			<soap:address location="http://cmis/services/ObjectService.ObjectServicePort" />
+		</port>
+	</service>
+	<service name="PolicyService">
+		<port name="PolicyServicePort" binding="cmisw:PolicyServicePortBinding">
+			<soap:address location="http://cmis/services/PolicyService.PolicyServicePort" />
+		</port>
+	</service>
+	<service name="RelationshipService">
+		<port name="RelationshipServicePort" binding="cmisw:RelationshipServicePortBinding">
+			<soap:address
+				location="http://cmis/services/RelationshipService.RelationshipServicePort" />
+		</port>
+	</service>
+	<service name="RepositoryService">
+		<port name="RepositoryServicePort" binding="cmisw:RepositoryServicePortBinding">
+			<soap:address
+				location="http://cmis/services/RepositoryService.RepositoryServicePort" />
+		</port>
+	</service>
+	<service name="VersioningService">
+		<port name="VersioningServicePort" binding="cmisw:VersioningServicePortBinding">
+			<soap:address
+				location="http://cmis/services/VersioningService.VersioningServicePort" />
+		</port>
+	</service>
+	<service name="ACLService">
+		<port name="ACLServicePort" binding="cmisw:ACLServicePortBinding">
+			<soap:address location="http://cmis/services/ACLService.ACLServicePort" />
+		</port>
+	</service>
+
+</definitions>
\ No newline at end of file

Added: incubator/chemistry/dotcmis/trunk/DotCMIS/wsdl/xml.xsd
URL: http://svn.apache.org/viewvc/incubator/chemistry/dotcmis/trunk/DotCMIS/wsdl/xml.xsd?rev=1061233&view=auto
==============================================================================
--- incubator/chemistry/dotcmis/trunk/DotCMIS/wsdl/xml.xsd (added)
+++ incubator/chemistry/dotcmis/trunk/DotCMIS/wsdl/xml.xsd Thu Jan 20 11:38:48 2011
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance
+    with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless
+    required by applicable law or agreed to in writing, software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+    specific language governing permissions and limitations under the License.
+-->
+<xsd:schema 
+targetNamespace="http://www.w3.org/XML/1998/namespace" 
+xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
+xml:lang="en">
+ <xsd:attribute name="lang">
+  <xsd:simpleType>
+   <xsd:union memberTypes="xsd:language">
+    <xsd:simpleType>    
+     <xsd:restriction base="xsd:string">
+      <xsd:enumeration value=""/>
+     </xsd:restriction>
+    </xsd:simpleType>
+   </xsd:union>
+  </xsd:simpleType>
+ </xsd:attribute>
+
+ <xsd:attribute name="space">
+  <xsd:simpleType>
+   <xsd:restriction base="xsd:NCName">
+    <xsd:enumeration value="default"/>
+    <xsd:enumeration value="preserve"/>
+   </xsd:restriction>
+  </xsd:simpleType>
+ </xsd:attribute>
+
+ <xsd:attribute name="base" type="xsd:anyURI">
+  <xsd:annotation>
+   <xsd:documentation>See http://www.w3.org/TR/xmlbase/ for
+                     information about this attribute.</xsd:documentation>
+  </xsd:annotation>
+ </xsd:attribute>
+ 
+ <xsd:attribute name="id" type="xsd:ID">
+  <xsd:annotation>
+   <xsd:documentation>See http://www.w3.org/TR/xml-id/ for
+                     information about this attribute.</xsd:documentation>
+  </xsd:annotation>
+ </xsd:attribute>
+
+ <xsd:attributeGroup name="specialAttrs">
+  <xsd:attribute ref="xml:base"/>
+  <xsd:attribute ref="xml:lang"/>
+  <xsd:attribute ref="xml:space"/>
+  <xsd:attribute ref="xml:id"/>
+ </xsd:attributeGroup>
+
+</xsd:schema>
\ No newline at end of file

Added: incubator/chemistry/dotcmis/trunk/DotCMISUnitTest/CRUDTest.cs
URL: http://svn.apache.org/viewvc/incubator/chemistry/dotcmis/trunk/DotCMISUnitTest/CRUDTest.cs?rev=1061233&view=auto
==============================================================================
--- incubator/chemistry/dotcmis/trunk/DotCMISUnitTest/CRUDTest.cs (added)
+++ incubator/chemistry/dotcmis/trunk/DotCMISUnitTest/CRUDTest.cs Thu Jan 20 11:38:48 2011
@@ -0,0 +1,75 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+using DotCMIS.Data;
+using DotCMIS.Enums;
+using NUnit.Framework;
+
+namespace DotCMISUnitTest
+{
+    [TestFixture]
+    public class CRUDTest : TestFramework
+    {
+        [Test]
+        public void TestRepositoryInfo()
+        {
+            Assert.NotNull(RepositoryInfo.Id);
+            Assert.NotNull(RepositoryInfo.Name);
+            Assert.NotNull(RepositoryInfo.RootFolderId);
+        }
+
+        [Test]
+        public void TestRootFolder()
+        {
+            IObjectData rootFolder = GetFullObject(RepositoryInfo.RootFolderId);
+            Assert.AreEqual(BaseTypeId.CmisFolder, rootFolder.BaseTypeId);
+
+            IObjectData rootFolder2 = Binding.GetObjectService().GetObjectByPath(RepositoryInfo.Id, "/", null, true, IncludeRelationships.Both, null, true, true, null);
+            Assert.AreEqual(BaseTypeId.CmisFolder, rootFolder2.BaseTypeId);
+
+            Assert.AreEqual(rootFolder.Id, rootFolder2.Id);
+        }
+
+        [Test]
+        public void TestCreateDocument()
+        {
+               string content1 = "my content";
+
+            IObjectData doc = CreateDocument(RepositoryInfo.RootFolderId, "dottest", content1);
+
+            string content2 = GetTextContent(doc.Id);
+            Assert.AreEqual(content1, content2);
+
+            DeleteObject(doc.Id);
+        }
+
+        [Test]
+        public void TestCreateFolder()
+        {
+            IObjectData folder0 = CreateFolder(RepositoryInfo.RootFolderId, "folder0");
+            IObjectData folder1 = CreateFolder(folder0.Id, "folder1");
+            IObjectData folder2 = CreateFolder(folder1.Id, "folder2");
+            IObjectData folder3 = CreateFolder(folder2.Id, "folder3");
+
+            DeleteObject(folder3.Id);
+            DeleteObject(folder2.Id);
+            DeleteObject(folder1.Id);
+            DeleteObject(folder0.Id);
+        }
+    }
+}

Added: incubator/chemistry/dotcmis/trunk/DotCMISUnitTest/DotCMISUnitTest.csproj
URL: http://svn.apache.org/viewvc/incubator/chemistry/dotcmis/trunk/DotCMISUnitTest/DotCMISUnitTest.csproj?rev=1061233&view=auto
==============================================================================
--- incubator/chemistry/dotcmis/trunk/DotCMISUnitTest/DotCMISUnitTest.csproj (added)
+++ incubator/chemistry/dotcmis/trunk/DotCMISUnitTest/DotCMISUnitTest.csproj Thu Jan 20 11:38:48 2011
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProductVersion>8.0.30703</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{B4343D5F-BA78-4925-99C5-A0FFD80F862C}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>DotCMISUnitTest</RootNamespace>
+    <AssemblyName>DotCMISUnitTest</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>bin\Debug\</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>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="nunit.framework, Version=2.5.9.10348, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\..\..\..\Program Files (x86)\NUnit 2.5.9\bin\net-2.0\framework\nunit.framework.dll</HintPath>
+    </Reference>
+    <Reference Include="System" />
+    <Reference Include="System.Core" />
+    <Reference Include="System.Xml.Linq" />
+    <Reference Include="System.Data.DataSetExtensions" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="CRUDTest.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <Compile Include="TestFramework.cs" />
+    <Compile Include="TypeTest.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\DotCMIS\DotCMIS.csproj">
+      <Project>{529EF90F-A34C-4426-A4F9-65113AC23841}</Project>
+      <Name>DotCMIS</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+  <!-- 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.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+</Project>
\ No newline at end of file

Added: incubator/chemistry/dotcmis/trunk/DotCMISUnitTest/DotCMISUnitTest.csproj.user
URL: http://svn.apache.org/viewvc/incubator/chemistry/dotcmis/trunk/DotCMISUnitTest/DotCMISUnitTest.csproj.user?rev=1061233&view=auto
==============================================================================
--- incubator/chemistry/dotcmis/trunk/DotCMISUnitTest/DotCMISUnitTest.csproj.user (added)
+++ incubator/chemistry/dotcmis/trunk/DotCMISUnitTest/DotCMISUnitTest.csproj.user Thu Jan 20 11:38:48 2011
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
+    <StartAction>Program</StartAction>
+    <StartProgram>C:\Program Files (x86)\NUnit 2.5.9\bin\net-2.0\nunit-console.exe</StartProgram>
+    <StartArguments>C:\projects\opencmis\DotCMIS\DotCMISUnitTest\bin\Debug\DotCMISUnitTest.dll</StartArguments>
+    <StartWorkingDirectory>C:\projects\opencmis\DotCMIS\DotCMISUnitTest\bin\Debug</StartWorkingDirectory>
+  </PropertyGroup>
+</Project>
\ No newline at end of file

Added: incubator/chemistry/dotcmis/trunk/DotCMISUnitTest/Properties/AssemblyInfo.cs
URL: http://svn.apache.org/viewvc/incubator/chemistry/dotcmis/trunk/DotCMISUnitTest/Properties/AssemblyInfo.cs?rev=1061233&view=auto
==============================================================================
--- incubator/chemistry/dotcmis/trunk/DotCMISUnitTest/Properties/AssemblyInfo.cs (added)
+++ incubator/chemistry/dotcmis/trunk/DotCMISUnitTest/Properties/AssemblyInfo.cs Thu Jan 20 11:38:48 2011
@@ -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("DotCMIS Unit Tests")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Apache Software Foundation")]
+[assembly: AssemblyProduct("DotCMISUnitTest")]
+[assembly: AssemblyCopyright("")]
+[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("c4626bba-8086-4ad5-8116-2768c623ed6c")]
+
+// 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("0.1.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]

Added: incubator/chemistry/dotcmis/trunk/DotCMISUnitTest/TestFramework.cs
URL: http://svn.apache.org/viewvc/incubator/chemistry/dotcmis/trunk/DotCMISUnitTest/TestFramework.cs?rev=1061233&view=auto
==============================================================================
--- incubator/chemistry/dotcmis/trunk/DotCMISUnitTest/TestFramework.cs (added)
+++ incubator/chemistry/dotcmis/trunk/DotCMISUnitTest/TestFramework.cs Thu Jan 20 11:38:48 2011
@@ -0,0 +1,315 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+using System.Collections.Generic;
+using System.Net;
+using DotCMIS;
+using DotCMIS.Binding;
+using NUnit.Framework;
+using DotCMIS.Data;
+using DotCMIS.Enums;
+using DotCMIS.Exceptions;
+using System.Text;
+using System.IO;
+
+namespace DotCMISUnitTest
+{
+    public class TestFramework
+    {
+        private IRepositoryInfo repositoryInfo;
+
+        public ICmisBinding Binding { get; set; }
+        public IRepositoryInfo RepositoryInfo
+        {
+            get
+            {
+                if (repositoryInfo == null)
+                {
+                    repositoryInfo = Binding.GetRepositoryService().GetRepositoryInfos(null)[0];
+                    Assert.NotNull(repositoryInfo);
+                }
+
+                return repositoryInfo;
+            }
+        }
+
+        public string DefaultDocumentType { get; set; }
+        public string DefaultFolderType { get; set; }
+
+        [SetUp]
+        public void Init()
+        {
+            ServicePointManager.ServerCertificateValidationCallback = delegate { return true; };
+
+            DefaultDocumentType = "cmis:document";
+            DefaultFolderType = "cmis:folder";
+
+            Binding = ConnectAtomPub();
+        }
+
+        public ICmisBinding ConnectAtomPub()
+        {
+            Dictionary<string, string> parametersAtom = new Dictionary<string, string>();
+
+            string baseUrlAtom = "http://localhost:8080/alfresco/opencmis-atom";
+
+            parametersAtom[SessionParameter.AtomPubUrl] = baseUrlAtom;
+            parametersAtom[SessionParameter.User] = "admin";
+            parametersAtom[SessionParameter.Password] = "admin";
+
+            CmisBindingFactory factory = CmisBindingFactory.NewInstance();
+            ICmisBinding binding = factory.CreateCmisAtomPubBinding(parametersAtom);
+
+            Assert.NotNull(binding);
+
+            return binding;
+        }
+
+        public ICmisBinding ConnectWebServices()
+        {
+            Dictionary<string, string> parametersWS = new Dictionary<string, string>();
+
+            string baseUrlWS = "https://localhost:8443/alfresco/opencmis-ws";
+
+            parametersWS[SessionParameter.WebServicesRepositoryService] = baseUrlWS + "/RepositoryService?wsdl";
+            parametersWS[SessionParameter.WebServicesAclService] = baseUrlWS + "/AclService?wsdl";
+            parametersWS[SessionParameter.WebServicesDiscoveryService] = baseUrlWS + "/DiscoveryService?wsdl";
+            parametersWS[SessionParameter.WebServicesMultifilingService] = baseUrlWS + "/MultifilingService?wsdl";
+            parametersWS[SessionParameter.WebServicesNavigationService] = baseUrlWS + "/NavigationService?wsdl";
+            parametersWS[SessionParameter.WebServicesObjectService] = baseUrlWS + "/ObjectService?wsdl";
+            parametersWS[SessionParameter.WebServicesPolicyService] = baseUrlWS + "/PolicyService?wsdl";
+            parametersWS[SessionParameter.WebServicesRelationshipService] = baseUrlWS + "/RelationshipService?wsdl";
+            parametersWS[SessionParameter.WebServicesVersioningService] = baseUrlWS + "/VersioningService?wsdl";
+            parametersWS[SessionParameter.User] = "admin";
+            parametersWS[SessionParameter.Password] = "admin";
+
+            CmisBindingFactory factory = CmisBindingFactory.NewInstance();
+            ICmisBinding binding = factory.CreateCmisWebServicesBinding(parametersWS);
+
+            Assert.NotNull(binding);
+
+            return binding;
+        }
+
+        public IObjectData GetFullObject(string objectId)
+        {
+            IObjectData result = Binding.GetObjectService().GetObject(RepositoryInfo.Id, objectId, "*", true, IncludeRelationships.Both, "*", true, true, null);
+
+            Assert.NotNull(result);
+            Assert.NotNull(result.Id);
+            Assert.NotNull(result.BaseTypeId);
+            Assert.NotNull(result.Properties);
+
+            return result;
+        }
+
+        public IObjectData CreateDocument(string folderId, string name, string content)
+        {
+            Properties properties = new Properties();
+
+            PropertyId objectTypeIdProperty = new PropertyId();
+            objectTypeIdProperty.Id = PropertyIds.ObjectTypeId;
+            objectTypeIdProperty.Values = new List<string>();
+            objectTypeIdProperty.Values.Add(DefaultDocumentType);
+            properties.AddProperty(objectTypeIdProperty);
+
+            PropertyString nameProperty = new PropertyString();
+            nameProperty.Id = PropertyIds.Name;
+            nameProperty.Values = new List<string>();
+            nameProperty.Values.Add(name);
+            properties.AddProperty(nameProperty);
+
+            ContentStream contentStream = null;
+            if (content != null)
+            {
+                byte[] bytes = Encoding.UTF8.GetBytes(content);
+
+                contentStream = new ContentStream();
+                contentStream.FileName = name;
+                contentStream.MimeType = "text/plain";
+                contentStream.Stream = new MemoryStream(bytes);
+                contentStream.Length = bytes.Length;
+            }
+
+            string newDocId = Binding.GetObjectService().CreateDocument(RepositoryInfo.Id, properties, folderId, contentStream, null, null, null, null, null);
+
+            Assert.NotNull(newDocId);
+
+            IObjectData doc = GetFullObject(newDocId);
+
+            Assert.NotNull(doc);
+            Assert.NotNull(doc.Id);
+            Assert.AreEqual(BaseTypeId.CmisDocument, doc.BaseTypeId);
+            Assert.NotNull(doc.Properties);
+            Assert.True(doc.Properties[PropertyIds.ObjectTypeId] is PropertyId);
+            Assert.AreEqual(DefaultDocumentType, ((PropertyId)doc.Properties[PropertyIds.ObjectTypeId]).FirstValue);
+            Assert.True(doc.Properties[PropertyIds.Name] is PropertyString);
+            Assert.AreEqual(name, ((PropertyString)doc.Properties[PropertyIds.Name]).FirstValue);
+
+            if (folderId != null)
+            {
+                CheckObjectInFolder(newDocId, folderId);
+            }
+
+            return doc;
+        }
+
+        public IObjectData CreateFolder(string folderId, string name)
+        {
+            Properties properties = new Properties();
+
+            PropertyId objectTypeIdProperty = new PropertyId();
+            objectTypeIdProperty.Id = PropertyIds.ObjectTypeId;
+            objectTypeIdProperty.Values = new List<string>();
+            objectTypeIdProperty.Values.Add(DefaultFolderType);
+            properties.AddProperty(objectTypeIdProperty);
+
+            PropertyString nameProperty = new PropertyString();
+            nameProperty.Id = PropertyIds.Name;
+            nameProperty.Values = new List<string>();
+            nameProperty.Values.Add(name);
+            properties.AddProperty(nameProperty);
+
+            string newFolderId = Binding.GetObjectService().CreateFolder(RepositoryInfo.Id, properties, folderId, null, null, null, null);
+
+            Assert.NotNull(newFolderId);
+
+            IObjectData folder = GetFullObject(newFolderId);
+
+            Assert.NotNull(folder);
+            Assert.NotNull(folder.Id);
+            Assert.AreEqual(BaseTypeId.CmisFolder, folder.BaseTypeId);
+            Assert.NotNull(folder.Properties);
+            Assert.True(folder.Properties[PropertyIds.ObjectTypeId] is PropertyId);
+            Assert.AreEqual(DefaultFolderType, ((PropertyId)folder.Properties[PropertyIds.ObjectTypeId]).FirstValue);
+            Assert.True(folder.Properties[PropertyIds.Name] is PropertyString);
+            Assert.AreEqual(name, ((PropertyString)folder.Properties[PropertyIds.Name]).FirstValue);
+
+            if (folderId != null)
+            {
+                CheckObjectInFolder(newFolderId, folderId);
+            }
+
+            return folder;
+        }
+
+        public void CheckObjectInFolder(string objectId, string folderId)
+        {
+            // check parents
+            IList<IObjectParentData> parents = Binding.GetNavigationService().GetObjectParents(RepositoryInfo.Id, objectId, null, null, null, null, null, null);
+
+            Assert.NotNull(parents);
+            Assert.True(parents.Count > 0);
+
+            bool found = false;
+            foreach (IObjectParentData parent in parents)
+            {
+                Assert.NotNull(parent);
+                Assert.NotNull(parent.Object);
+                Assert.NotNull(parent.Object.Id);
+                if (parent.Object.Id == folderId)
+                {
+                    found = true;
+                }
+            }
+            Assert.True(found);
+
+            // check children
+            found = false;
+            IObjectInFolderList children = Binding.GetNavigationService().GetChildren(RepositoryInfo.Id, folderId, null, null, null, null, null, null, null, null, null);
+
+            Assert.NotNull(children);
+            if (children.NumItems != null)
+            {
+                Assert.True(children.NumItems > 0);
+            }
+
+            foreach (ObjectInFolderData obj in children.Objects)
+            {
+                Assert.NotNull(obj);
+                Assert.NotNull(obj.Object);
+                Assert.NotNull(obj.Object.Id);
+                if (obj.Object.Id == objectId)
+                {
+                    found = true;
+                }
+            }
+            Assert.True(found);
+
+            // check descendants
+            if (RepositoryInfo.Capabilities == null ||
+                RepositoryInfo.Capabilities.IsGetDescendantsSupported == null ||
+                !(bool)RepositoryInfo.Capabilities.IsGetDescendantsSupported)
+            {
+                return;
+            }
+
+            found = false;
+            IList<IObjectInFolderContainer> descendants = Binding.GetNavigationService().GetDescendants(RepositoryInfo.Id, folderId, 1, null, null, null, null, null, null);
+
+            Assert.NotNull(descendants);
+
+            foreach (IObjectInFolderContainer obj in descendants)
+            {
+                Assert.NotNull(obj);
+                Assert.NotNull(obj.Object);
+                Assert.NotNull(obj.Object.Object);
+                Assert.NotNull(obj.Object.Object.Id);
+                if (obj.Object.Object.Id == objectId)
+                {
+                    found = true;
+                }
+            }
+            Assert.True(found);
+        }
+
+        public void DeleteObject(string objectId)
+        {
+            Binding.GetObjectService().DeleteObject(RepositoryInfo.Id, objectId, true, null);
+
+            try
+            {
+                Binding.GetObjectService().GetObject(RepositoryInfo.Id, objectId, null, null, null, null, null, null, null);
+                Assert.Fail("CmisObjectNotFoundException excepted!");
+            }
+            catch (CmisObjectNotFoundException)
+            {
+            }
+        }
+
+        public string GetTextContent(string objectId)
+        {
+            IContentStream contentStream = Binding.GetObjectService().GetContentStream(RepositoryInfo.Id, objectId, null, null, null, null);
+
+            Assert.NotNull(contentStream);
+            Assert.NotNull(contentStream.Stream);
+
+            MemoryStream memStream = new MemoryStream();
+            byte[] buffer = new byte[4096];
+            int b;
+            while ((b = contentStream.Stream.Read(buffer, 0, buffer.Length)) > 0)
+            {
+                memStream.Write(buffer, 0, b);
+            }
+
+            string result = Encoding.UTF8.GetString(memStream.GetBuffer(), 0, (int)memStream.Length);
+
+            return result;
+        }
+    }
+}

Added: incubator/chemistry/dotcmis/trunk/DotCMISUnitTest/TypeTest.cs
URL: http://svn.apache.org/viewvc/incubator/chemistry/dotcmis/trunk/DotCMISUnitTest/TypeTest.cs?rev=1061233&view=auto
==============================================================================
--- incubator/chemistry/dotcmis/trunk/DotCMISUnitTest/TypeTest.cs (added)
+++ incubator/chemistry/dotcmis/trunk/DotCMISUnitTest/TypeTest.cs Thu Jan 20 11:38:48 2011
@@ -0,0 +1,113 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using NUnit.Framework;
+using DotCMIS.Data;
+using DotCMIS.Enums;
+using DotCMIS.Exceptions;
+
+namespace DotCMISUnitTest
+{
+    [TestFixture]
+    public class TypeTest : TestFramework
+    {
+        [Test]
+        public void TestBaseTypes()
+        {
+            ITypeDefinition type;
+
+            // cmis:document
+            type = Binding.GetRepositoryService().GetTypeDefinition(RepositoryInfo.Id, "cmis:document", null);
+
+            Assert.NotNull(type);
+            Assert.AreEqual(BaseTypeId.CmisDocument, type.BaseTypeId);
+            Assert.AreEqual("cmis:document", type.Id);
+
+            // cmis:folder
+            type = Binding.GetRepositoryService().GetTypeDefinition(RepositoryInfo.Id, "cmis:folder", null);
+
+            Assert.NotNull(type);
+            Assert.AreEqual(BaseTypeId.CmisFolder, type.BaseTypeId);
+            Assert.AreEqual("cmis:folder", type.Id);
+
+            // cmis:relationship
+            try
+            {
+                type = Binding.GetRepositoryService().GetTypeDefinition(RepositoryInfo.Id, "cmis:relationship", null);
+
+                Assert.NotNull(type);
+                Assert.AreEqual(BaseTypeId.CmisRelationship, type.BaseTypeId);
+                Assert.AreEqual("cmis:relationship", type.Id);
+            }
+            catch (CmisObjectNotFoundException)
+            {
+                // not supported by the repository
+            }
+
+            // cmis:policy
+            try
+            {
+                type = Binding.GetRepositoryService().GetTypeDefinition(RepositoryInfo.Id, "cmis:policy", null);
+
+                Assert.NotNull(type);
+                Assert.AreEqual(BaseTypeId.CmisPolicy, type.BaseTypeId);
+                Assert.AreEqual("cmis:policy", type.Id);
+            }
+            catch (CmisObjectNotFoundException)
+            {
+                // not supported by the repository
+            }
+        }
+
+        [Test]
+        public void TestTypeChildren()
+        {
+            ITypeDefinitionList typeList = Binding.GetRepositoryService().GetTypeChildren(RepositoryInfo.Id, null, null, null, null, null);
+
+            Assert.NotNull(typeList);
+            Assert.NotNull(typeList.List);
+            Assert.NotNull(typeList.NumItems);
+            Assert.True(typeList.NumItems >= 2);
+            Assert.True(typeList.NumItems <= 4);
+
+            bool foundDocument = false;
+            bool foundFolder = false;
+            foreach (ITypeDefinition type in typeList.List)
+            {
+                Assert.NotNull(type);
+                Assert.NotNull(type.Id);
+
+                if (type.Id == "cmis:document")
+                {
+                    foundDocument = true;
+                }
+                if (type.Id == "cmis:folder")
+                {
+                    foundFolder = true;
+                }
+            }
+
+            Assert.True(foundDocument);
+            Assert.True(foundFolder);
+        }
+    }
+}

Added: incubator/chemistry/dotcmis/trunk/LICENSE
URL: http://svn.apache.org/viewvc/incubator/chemistry/dotcmis/trunk/LICENSE?rev=1061233&view=auto
==============================================================================
--- incubator/chemistry/dotcmis/trunk/LICENSE (added)
+++ incubator/chemistry/dotcmis/trunk/LICENSE Thu Jan 20 11:38:48 2011
@@ -0,0 +1,202 @@
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.

Added: incubator/chemistry/dotcmis/trunk/NOTICE
URL: http://svn.apache.org/viewvc/incubator/chemistry/dotcmis/trunk/NOTICE?rev=1061233&view=auto
==============================================================================
--- incubator/chemistry/dotcmis/trunk/NOTICE (added)
+++ incubator/chemistry/dotcmis/trunk/NOTICE Thu Jan 20 11:38:48 2011
@@ -0,0 +1,2 @@
+DotCMIS
+Copyright 2009-2011 The Apache Software Foundation
\ No newline at end of file



Mime
View raw message