chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@apache.org
Subject svn commit: r785929 [2/6] - in /websites/production/chemistry: ./ content/ content/data/ content/dotnet/ content/images/ content/java/ content/php/ content/python/ content/resources/
Date Tue, 22 Feb 2011 09:11:34 GMT
Modified: websites/production/chemistry/content/getting-started-with-dotcmis.html
==============================================================================
--- websites/production/chemistry/content/getting-started-with-dotcmis.html (original)
+++ websites/production/chemistry/content/getting-started-with-dotcmis.html Tue Feb 22 09:11:32 2011
@@ -15,13 +15,14 @@
     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.
+
 -->
 <html>
   <head>
-    <link type="text/css" rel="stylesheet" href="http://incubator.apache.org/chemistry/resources/site.css"></link>
-    <script src="http://incubator.apache.org/chemistry/resources/space.js" type="text/javascript"></script>
+    <link type="text/css" rel="stylesheet" href="/resources/site.css"></link>
+    <script src="/resources/space.js" type="text/javascript"></script>
     <meta name="keywords" content="CMIS, Content Management Interoperability Service, ECM, Enterprise Content Management, OASIS, integration standards, Chemistry, OpenCMIS"/>
-    <meta name="description" content"Apache Chemistry, CMIS Implementation" />
+    <meta name="description" content="Apache Chemistry, CMIS Implementation" />
     <title>
 Apache Chemistry - Getting started with DotCMIS
     </title>
@@ -42,9 +43,14 @@ Apache Chemistry - Getting started with 
 <TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
 <TR>
 <TD align="left" class="topbardiv" nowrap="">
-<A href="http://incubator.apache.org/chemistry" title="Apache Chemistry">
-<IMG border="0" src="http://incubator.apache.org/chemistry/images/chemistry_logo_small.png"/>
-</A>
+  <A href="http://chemistry.apache.org/" title="Apache Chemistry">
+    <IMG border="0" src="/images/chemistry_tm_logo_small.png"/>
+  </A>
+</TD>
+<TD align="right" nowrap="">
+  <A href="http://www.apache.org/" title="The Apache Software Foundation">
+    <IMG border="0" src="/images/asf-logo.png"/>
+  </A>
 </TD>
 </TR>
 </TABLE>
@@ -64,7 +70,13 @@ Apache Chemistry - Getting started with 
               <td>
                 <div align="right">
                 <!-- Quicklinks -->
-<P><A href="http://www.apache.org/" class="external-link" rel="nofollow">Apache</A> <A href="http://www.apache.org/licenses/LICENSE-2.0.html" class="external-link" rel="nofollow">License</A> <A href="sitemap.html" title="SiteMap">Site Map</A></P>
+<P>
+<A href="http://www.apache.org/" class="external-link" rel="nofollow">Apache</A>
+|
+<A href="http://www.apache.org/licenses/LICENSE-2.0.html" class="external-link" rel="nofollow">License</A>
+|
+<A href="sitemap.html" title="SiteMap">Site Map</A>
+</P>
                 <!-- Quicklinks -->
                 </div>
               </td>
@@ -164,44 +176,30 @@ Apache Chemistry - Getting started with 
 <h2 id="connecting_to_a_cmis_atompub_endpoint">Connecting to a CMIS AtomPub endpoint</h2>
 <p><a name="GettingstartedwithDotCMIS-Connectingtothefirstrepository"></a></p>
 <h3 id="connecting_to_the_first_repository">Connecting to the first repository</h3>
-<div class="codehilite"><pre><span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">string</span><span class="o">&gt;</span> <span class="n">parameters</span> <span class="o">=</span> <span class="k">new</span> <span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">string</span><span class="o">&gt;</span><span class="p">();</span>
-
-<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">BindingType</span><span class="p">]</span>
-</pre></div>
+<div class="codehilite"><pre><span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">string</span><span class="o">&gt;</span> <span class="n">parameters</span> <span class="o">=</span> <span class="n">new</span> <span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">string</span><span class="o">&gt;</span><span class="p">();</span>
 
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">BindingType</span><span class="p">]</span> <span class="o">=</span> <span class="n">BindingType</span><span class="p">.</span><span class="n">AtomPub</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">AtomPubUrl</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;serviceDocumentPath&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">User</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;&lt;username&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">Password</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;&lt;password&gt;&quot;</span><span class="p">;</span>
 
-<p>= BindingType.AtomPub;
-    parameters[SessionParameter.AtomPubUrl]
- = "http://<host>/<serviceDocumentPath>";
-    parameters[SessionParameter.User]
- = "<username>";
-    parameters[SessionParameter.Password]
- = "<password>";</p>
-<div class="codehilite"><pre><span class="n">SessionFactory</span> <span class="n">factory</span> <span class="o">=</span> <span class="n">SessionFactory</span><span class="o">.</span><span class="n">NewInstance</span><span class="p">();</span>
-<span class="n">ISession</span> <span class="n">session</span> <span class="o">=</span> <span class="n">factory</span><span class="o">.</span><span class="n">GetRepositories</span><span class="p">(</span><span class="n">parameters</span><span class="p">)[</span><span class="mi">0</span><span class="p">]</span>
+<span class="n">SessionFactory</span> <span class="n">factory</span> <span class="o">=</span> <span class="n">SessionFactory</span><span class="p">.</span><span class="n">NewInstance</span><span class="p">();</span>
+<span class="n">ISession</span> <span class="n">session</span> <span class="o">=</span> <span class="n">factory</span><span class="p">.</span><span class="n">GetRepositories</span><span class="p">(</span><span class="n">parameters</span><span class="p">)[</span><span class="mi">0</span><span class="p">].</span><span class="n">CreateSession</span><span class="p">();</span>
 </pre></div>
 
 
-<p>.CreateSession();</p>
 <p><a name="GettingstartedwithDotCMIS-Connectingtoaspecificrepository"></a></p>
 <h3 id="connecting_to_a_specific_repository">Connecting to a specific repository</h3>
-<div class="codehilite"><pre><span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">string</span><span class="o">&gt;</span> <span class="n">parameters</span> <span class="o">=</span> <span class="k">new</span> <span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">string</span><span class="o">&gt;</span><span class="p">();</span>
-
-<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">BindingType</span><span class="p">]</span>
-</pre></div>
+<div class="codehilite"><pre><span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">string</span><span class="o">&gt;</span> <span class="n">parameters</span> <span class="o">=</span> <span class="n">new</span> <span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">string</span><span class="o">&gt;</span><span class="p">();</span>
 
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">BindingType</span><span class="p">]</span> <span class="o">=</span> <span class="n">BindingType</span><span class="p">.</span><span class="n">AtomPub</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">AtomPubUrl</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;serviceDocumentPath&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">User</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;&lt;username&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">Password</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;&lt;password&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">RepositoryId</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;&lt;repositoryId&gt;&quot;</span><span class="p">;</span>
 
-<p>= BindingType.AtomPub;
-    parameters[SessionParameter.AtomPubUrl]
- = "http://<host>/<serviceDocumentPath>";
-    parameters[SessionParameter.User]
- = "<username>";
-    parameters[SessionParameter.Password]
- = "<password>";
-    parameters[SessionParameter.RepositoryId]
- = "<repositoryId>";</p>
-<div class="codehilite"><pre><span class="n">SessionFactory</span> <span class="n">factory</span> <span class="o">=</span> <span class="n">SessionFactory</span><span class="o">.</span><span class="n">NewInstance</span><span class="p">();</span>
-<span class="n">ISession</span> <span class="n">session</span> <span class="o">=</span> <span class="n">factory</span><span class="o">.</span><span class="n">CreateSession</span><span class="p">(</span><span class="n">parameters</span><span class="p">);</span>
+<span class="n">SessionFactory</span> <span class="n">factory</span> <span class="o">=</span> <span class="n">SessionFactory</span><span class="p">.</span><span class="n">NewInstance</span><span class="p">();</span>
+<span class="n">ISession</span> <span class="n">session</span> <span class="o">=</span> <span class="n">factory</span><span class="p">.</span><span class="n">CreateSession</span><span class="p">(</span><span class="n">parameters</span><span class="p">);</span>
 </pre></div>
 
 
@@ -209,209 +207,155 @@ Apache Chemistry - Getting started with 
 <h2 id="connecting_to_a_cmis_web_services_endpoint">Connecting to a CMIS Web Services endpoint</h2>
 <p><a name="GettingstartedwithDotCMIS-Connectingtothefirstrepository"></a></p>
 <h3 id="connecting_to_the_first_repository_1">Connecting to the first repository</h3>
-<div class="codehilite"><pre><span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">string</span><span class="o">&gt;</span> <span class="n">parameters</span> <span class="o">=</span> <span class="k">new</span> <span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">string</span><span class="o">&gt;</span><span class="p">();</span>
-
-<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">BindingType</span><span class="p">]</span>
-</pre></div>
+<div class="codehilite"><pre><span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">string</span><span class="o">&gt;</span> <span class="n">parameters</span> <span class="o">=</span> <span class="n">new</span> <span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">string</span><span class="o">&gt;</span><span class="p">();</span>
 
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">BindingType</span><span class="p">]</span> <span class="o">=</span> <span class="n">BindingType</span><span class="p">.</span><span class="n">WebServices</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">WebServicesRepositoryService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;RepositoryServiceWSDL&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">WebServicesAclService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;AclServiceWSDL&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">WebServicesDiscoveryService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;DiscoveryServiceWSDL&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">WebServicesMultifilingService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;MultifilingServiceWSDL&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">WebServicesNavigationService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;NavigationServiceWSDL&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">WebServicesObjectService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;ObjectServiceWSDL&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">WebServicesPolicyService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;PolicyServiceWSDL&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">WebServicesRelationshipService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;RelationshipServiceWSDL&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">WebServicesVersioningService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;VersioningServiceWSDL&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">User</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;&lt;username&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">Password</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;&lt;password&gt;&quot;</span><span class="p">;</span>
 
-<p>= BindingType.WebServices;
-    parameters[SessionParameter.WebServicesRepositoryService]
- = "http://<host>/<RepositoryServiceWSDL>";
-    parameters[SessionParameter.WebServicesAclService]
- = "http://<host>/<AclServiceWSDL>";
-    parameters[SessionParameter.WebServicesDiscoveryService]
- = "http://<host>/<DiscoveryServiceWSDL>";
-    parameters[SessionParameter.WebServicesMultifilingService]
- = "http://<host>/<MultifilingServiceWSDL>";
-    parameters[SessionParameter.WebServicesNavigationService]
- = "http://<host>/<NavigationServiceWSDL>";
-    parameters[SessionParameter.WebServicesObjectService]
- = "http://<host>/<ObjectServiceWSDL>";
-    parameters[SessionParameter.WebServicesPolicyService]
- = "http://<host>/<PolicyServiceWSDL>";
-    parameters[SessionParameter.WebServicesRelationshipService]
- = "http://<host>/<RelationshipServiceWSDL>";
-    parameters[SessionParameter.WebServicesVersioningService]
- = "http://<host>/<VersioningServiceWSDL>";
-    parameters[SessionParameter.User]
- = "<username>";
-    parameters[SessionParameter.Password]
- = "<password>";</p>
-<div class="codehilite"><pre><span class="n">SessionFactory</span> <span class="n">factory</span> <span class="o">=</span> <span class="n">SessionFactory</span><span class="o">.</span><span class="n">NewInstance</span><span class="p">();</span>
-<span class="n">ISession</span> <span class="n">session</span> <span class="o">=</span> <span class="n">factory</span><span class="o">.</span><span class="n">GetRepositories</span><span class="p">(</span><span class="n">parameters</span><span class="p">)[</span><span class="mi">0</span><span class="p">]</span>
+<span class="n">SessionFactory</span> <span class="n">factory</span> <span class="o">=</span> <span class="n">SessionFactory</span><span class="p">.</span><span class="n">NewInstance</span><span class="p">();</span>
+<span class="n">ISession</span> <span class="n">session</span> <span class="o">=</span> <span class="n">factory</span><span class="p">.</span><span class="n">GetRepositories</span><span class="p">(</span><span class="n">parameters</span><span class="p">)[</span><span class="mi">0</span><span class="p">].</span><span class="n">CreateSession</span><span class="p">();</span>
 </pre></div>
 
 
-<p>.CreateSession();</p>
 <p><a name="GettingstartedwithDotCMIS-Connectingtoaspecificrepository"></a></p>
 <h3 id="connecting_to_a_specific_repository_1">Connecting to a specific repository</h3>
-<div class="codehilite"><pre><span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">string</span><span class="o">&gt;</span> <span class="n">parameters</span> <span class="o">=</span> <span class="k">new</span> <span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">string</span><span class="o">&gt;</span><span class="p">();</span>
-
-<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">BindingType</span><span class="p">]</span>
-</pre></div>
+<div class="codehilite"><pre><span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">string</span><span class="o">&gt;</span> <span class="n">parameters</span> <span class="o">=</span> <span class="n">new</span> <span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">string</span><span class="o">&gt;</span><span class="p">();</span>
 
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">BindingType</span><span class="p">]</span> <span class="o">=</span> <span class="n">BindingType</span><span class="p">.</span><span class="n">WebServices</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">WebServicesRepositoryService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;RepositoryServiceWSDL&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">WebServicesAclService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;AclServiceWSDL&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">WebServicesDiscoveryService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;DiscoveryServiceWSDL&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">WebServicesMultifilingService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;MultifilingServiceWSDL&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">WebServicesNavigationService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;NavigationServiceWSDL&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">WebServicesObjectService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;ObjectServiceWSDL&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">WebServicesPolicyService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;PolicyServiceWSDL&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">WebServicesRelationshipService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;RelationshipServiceWSDL&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">WebServicesVersioningService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;VersioningServiceWSDL&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">User</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;&lt;username&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">Password</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;&lt;password&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">RepositoryId</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;&lt;repositoryId&gt;&quot;</span><span class="p">;</span>
 
-<p>= BindingType.WebServices;
-    parameters[SessionParameter.WebServicesRepositoryService]
- = "http://<host>/<RepositoryServiceWSDL>";
-    parameters[SessionParameter.WebServicesAclService]
- = "http://<host>/<AclServiceWSDL>";
-    parameters[SessionParameter.WebServicesDiscoveryService]
- = "http://<host>/<DiscoveryServiceWSDL>";
-    parameters[SessionParameter.WebServicesMultifilingService]
- = "http://<host>/<MultifilingServiceWSDL>";
-    parameters[SessionParameter.WebServicesNavigationService]
- = "http://<host>/<NavigationServiceWSDL>";
-    parameters[SessionParameter.WebServicesObjectService]
- = "http://<host>/<ObjectServiceWSDL>";
-    parameters[SessionParameter.WebServicesPolicyService]
- = "http://<host>/<PolicyServiceWSDL>";
-    parameters[SessionParameter.WebServicesRelationshipService]
- = "http://<host>/<RelationshipServiceWSDL>";
-    parameters[SessionParameter.WebServicesVersioningService]
- = "http://<host>/<VersioningServiceWSDL>";
-    parameters[SessionParameter.User]
- = "<username>";
-    parameters[SessionParameter.Password]
- = "<password>";
-    parameters[SessionParameter.RepositoryId]
- = "<repositoryId>";</p>
-<div class="codehilite"><pre><span class="n">SessionFactory</span> <span class="n">factory</span> <span class="o">=</span> <span class="n">SessionFactory</span><span class="o">.</span><span class="n">NewInstance</span><span class="p">();</span>
-<span class="n">ISession</span> <span class="n">session</span> <span class="o">=</span> <span class="n">factory</span><span class="o">.</span><span class="n">CreateSession</span><span class="p">(</span><span class="n">parameters</span><span class="p">);</span>
+<span class="n">SessionFactory</span> <span class="n">factory</span> <span class="o">=</span> <span class="n">SessionFactory</span><span class="p">.</span><span class="n">NewInstance</span><span class="p">();</span>
+<span class="n">ISession</span> <span class="n">session</span> <span class="o">=</span> <span class="n">factory</span><span class="p">.</span><span class="n">CreateSession</span><span class="p">(</span><span class="n">parameters</span><span class="p">);</span>
 </pre></div>
 
 
 <p><a name="GettingstartedwithDotCMIS-Listingfolderchildren"></a></p>
 <h2 id="listing_folder_children">Listing folder children</h2>
-<div class="codehilite"><pre><span class="sr">//</span><span class="o">/</span> <span class="n">get</span> <span class="n">the</span> <span class="n">root</span> <span class="n">folder</span>
-<span class="n">IFolder</span> <span class="n">rootFolder</span> <span class="o">=</span> <span class="n">session</span><span class="o">.</span><span class="n">GetRootFolder</span><span class="p">();</span>
+<div class="codehilite"><pre><span class="c1">/// get the root folder</span>
+<span class="n">IFolder</span> <span class="n">rootFolder</span> <span class="o">=</span> <span class="n">session</span><span class="p">.</span><span class="n">GetRootFolder</span><span class="p">();</span>
 
-<span class="sr">//</span> <span class="n">list</span> <span class="n">all</span> <span class="n">children</span>
-<span class="k">foreach</span> <span class="p">(</span><span class="n">ICmisObject</span> <span class="n">cmisObject</span> <span class="n">in</span> <span class="n">rootFolder</span><span class="o">.</span><span class="n">GetChildren</span><span class="p">())</span>
+<span class="c1">// list all children</span>
+<span class="n">foreach</span> <span class="p">(</span><span class="n">ICmisObject</span> <span class="n">cmisObject</span> <span class="n">in</span> <span class="n">rootFolder</span><span class="p">.</span><span class="n">GetChildren</span><span class="p">())</span>
 <span class="p">{</span>
-    <span class="n">Console</span><span class="o">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="n">cmisObject</span><span class="o">.</span><span class="n">Name</span><span class="p">);</span>
+    <span class="n">Console</span><span class="p">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="n">cmisObject</span><span class="p">.</span><span class="n">Name</span><span class="p">);</span>
 <span class="p">}</span>
 
-<span class="sr">//</span> <span class="n">get</span> <span class="n">a</span> <span class="n">page</span>
-<span class="n">IItemEnumerable</span><span class="sr">&lt;ICmisObject&gt;</span> <span class="n">children</span> <span class="o">=</span> <span class="n">rootFolder</span><span class="o">.</span><span class="n">GetChildren</span><span class="p">();</span>
-<span class="n">IItemEnumerable</span><span class="sr">&lt;ICmisObject&gt;</span> <span class="n">page</span> <span class="o">=</span> <span class="n">children</span><span class="o">.</span><span class="n">SkipTo</span><span class="p">(</span><span class="mi">20</span><span class="p">)</span><span class="o">.</span><span class="n">GetPage</span><span class="p">(</span><span class="mi">10</span><span class="p">);</span> <span class="sr">//</span>
-</pre></div>
-
+<span class="c1">// get a page</span>
+<span class="n">IItemEnumerable</span><span class="o">&lt;</span><span class="n">ICmisObject</span><span class="o">&gt;</span> <span class="n">children</span> <span class="o">=</span> <span class="n">rootFolder</span><span class="p">.</span><span class="n">GetChildren</span><span class="p">();</span>
+<span class="n">IItemEnumerable</span><span class="o">&lt;</span><span class="n">ICmisObject</span><span class="o">&gt;</span> <span class="n">page</span> <span class="o">=</span> <span class="n">children</span><span class="p">.</span><span class="n">SkipTo</span><span class="p">(</span><span class="mi">20</span><span class="p">).</span><span class="n">GetPage</span><span class="p">(</span><span class="mi">10</span><span class="p">);</span> <span class="c1">// children 20 to 30</span>
 
-<p>children 20 to 30</p>
-<div class="codehilite"><pre><span class="k">foreach</span> <span class="p">(</span><span class="n">ICmisObject</span> <span class="n">cmisObject</span> <span class="n">in</span> <span class="n">page</span><span class="p">)</span>
+<span class="n">foreach</span> <span class="p">(</span><span class="n">ICmisObject</span> <span class="n">cmisObject</span> <span class="n">in</span> <span class="n">page</span><span class="p">)</span>
 <span class="p">{</span>
-    <span class="n">Console</span><span class="o">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="n">cmisObject</span><span class="o">.</span><span class="n">Name</span><span class="p">);</span>
+    <span class="n">Console</span><span class="p">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="n">cmisObject</span><span class="p">.</span><span class="n">Name</span><span class="p">);</span>
 <span class="p">}</span>
 </pre></div>
 
 
 <p><a name="GettingstartedwithDotCMIS-Fetchingadocument"></a></p>
 <h2 id="fetching_a_document">Fetching a document</h2>
-<div class="codehilite"><pre><span class="n">IObjectId</span> <span class="n">id</span> <span class="o">=</span> <span class="n">session</span><span class="o">.</span><span class="n">CreateObjectId</span><span class="p">(</span><span class="s">&quot;12345678&quot;</span><span class="p">);</span>
-<span class="n">IDocument</span> <span class="n">doc</span> <span class="o">=</span> <span class="n">session</span><span class="o">.</span><span class="n">GetObject</span><span class="p">(</span><span class="n">id</span><span class="p">)</span> <span class="n">as</span> <span class="n">IDocument</span><span class="p">;</span>
-
-<span class="sr">//</span> <span class="n">properties</span>
-<span class="n">Console</span><span class="o">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="n">doc</span><span class="o">.</span><span class="n">Name</span><span class="p">);</span>
-<span class="n">Console</span><span class="o">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="n">doc</span><span class="o">.</span><span class="n">GetPropertyValue</span><span class="p">(</span><span class="s">&quot;my:property&quot;</span><span class="p">));</span>
-
-<span class="n">IProperty</span> <span class="n">myProperty</span> <span class="o">=</span> <span class="n">doc</span><span class="p">[</span><span class="s">&quot;my:property&quot;</span><span class="p">]</span>
-</pre></div>
+<div class="codehilite"><pre><span class="n">IObjectId</span> <span class="n">id</span> <span class="o">=</span> <span class="n">session</span><span class="p">.</span><span class="n">CreateObjectId</span><span class="p">(</span><span class="s">&quot;12345678&quot;</span><span class="p">);</span>
+<span class="n">IDocument</span> <span class="n">doc</span> <span class="o">=</span> <span class="n">session</span><span class="p">.</span><span class="n">GetObject</span><span class="p">(</span><span class="n">id</span><span class="p">)</span> <span class="n">as</span> <span class="n">IDocument</span><span class="p">;</span>
 
-
-<p>;
-    Console.WriteLine("Id:    " + myProperty.Id);
-    Console.WriteLine("Value: " + myProperty.Value);
-    Console.WriteLine("Type:  " + myProperty.PropertyType);</p>
-<div class="codehilite"><pre><span class="sr">//</span> <span class="n">content</span>
-<span class="n">IContentStream</span> <span class="n">contentStream</span> <span class="o">=</span> <span class="n">doc</span><span class="o">.</span><span class="n">GetContentStream</span><span class="p">();</span>
-<span class="n">Console</span><span class="o">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="s">&quot;Filename:   &quot;</span> <span class="o">+</span> <span class="n">contentStream</span><span class="o">.</span><span class="n">FileName</span><span class="p">);</span>
-<span class="n">Console</span><span class="o">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="s">&quot;MIME type:  &quot;</span> <span class="o">+</span> <span class="n">contentStream</span><span class="o">.</span><span class="n">MimeType</span><span class="p">);</span>
-<span class="n">Console</span><span class="o">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="s">&quot;Has stream: &quot;</span> <span class="o">+</span> <span class="p">(</span><span class="n">contentStream</span><span class="o">.</span><span class="n">Stream</span> <span class="o">!=</span> <span class="n">null</span><span class="p">));</span>
+<span class="c1">// properties</span>
+<span class="n">Console</span><span class="p">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="n">doc</span><span class="p">.</span><span class="n">Name</span><span class="p">);</span>
+<span class="n">Console</span><span class="p">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="n">doc</span><span class="p">.</span><span class="n">GetPropertyValue</span><span class="p">(</span><span class="s">&quot;my:property&quot;</span><span class="p">));</span>
+
+<span class="n">IProperty</span> <span class="n">myProperty</span> <span class="o">=</span> <span class="n">doc</span><span class="p">[</span><span class="s">&quot;my:property&quot;</span><span class="p">];</span>
+<span class="n">Console</span><span class="p">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="s">&quot;Id:    &quot;</span> <span class="o">+</span> <span class="n">myProperty</span><span class="p">.</span><span class="n">Id</span><span class="p">);</span>
+<span class="n">Console</span><span class="p">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="s">&quot;Value: &quot;</span> <span class="o">+</span> <span class="n">myProperty</span><span class="p">.</span><span class="n">Value</span><span class="p">);</span>
+<span class="n">Console</span><span class="p">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="s">&quot;Type:  &quot;</span> <span class="o">+</span> <span class="n">myProperty</span><span class="p">.</span><span class="n">PropertyType</span><span class="p">);</span>
+
+<span class="c1">// content</span>
+<span class="n">IContentStream</span> <span class="n">contentStream</span> <span class="o">=</span> <span class="n">doc</span><span class="p">.</span><span class="n">GetContentStream</span><span class="p">();</span>
+<span class="n">Console</span><span class="p">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="s">&quot;Filename:   &quot;</span> <span class="o">+</span> <span class="n">contentStream</span><span class="p">.</span><span class="n">FileName</span><span class="p">);</span>
+<span class="n">Console</span><span class="p">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="s">&quot;MIME type:  &quot;</span> <span class="o">+</span> <span class="n">contentStream</span><span class="p">.</span><span class="n">MimeType</span><span class="p">);</span>
+<span class="n">Console</span><span class="p">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="s">&quot;Has stream: &quot;</span> <span class="o">+</span> <span class="p">(</span><span class="n">contentStream</span><span class="p">.</span><span class="n">Stream</span> <span class="o">!=</span> <span class="n">null</span><span class="p">));</span>
 </pre></div>
 
 
 <p><a name="GettingstartedwithDotCMIS-Creatingadocument"></a></p>
 <h2 id="creating_a_document">Creating a document</h2>
-<div class="codehilite"><pre><span class="n">IFolder</span> <span class="n">folder</span> <span class="o">=</span> <span class="o">...</span>
-
-<span class="n">IDictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">object</span><span class="o">&gt;</span> <span class="n">properties</span> <span class="o">=</span> <span class="k">new</span> <span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">object</span><span class="o">&gt;</span><span class="p">();</span>
-<span class="n">properties</span><span class="p">[</span><span class="n">PropertyIds</span><span class="o">.</span><span class="n">Name</span><span class="p">]</span>
-</pre></div>
-
+<div class="codehilite"><pre><span class="n">IFolder</span> <span class="n">folder</span> <span class="o">=</span> <span class="p">...</span>
 
-<p>= "Hello World Document";
-    properties[PropertyIds.ObjectTypeId]
- = "cmis:document";</p>
-<div class="codehilite"><pre><span class="n">byte</span><span class="o">[]</span>
-</pre></div>
+<span class="n">IDictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">object</span><span class="o">&gt;</span> <span class="n">properties</span> <span class="o">=</span> <span class="n">new</span> <span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">object</span><span class="o">&gt;</span><span class="p">();</span>
+<span class="n">properties</span><span class="p">[</span><span class="n">PropertyIds</span><span class="p">.</span><span class="n">Name</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;Hello World Document&quot;</span><span class="p">;</span>
+<span class="n">properties</span><span class="p">[</span><span class="n">PropertyIds</span><span class="p">.</span><span class="n">ObjectTypeId</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;cmis:document&quot;</span><span class="p">;</span>
 
+<span class="n">byte</span><span class="p">[]</span> <span class="n">content</span> <span class="o">=</span> <span class="n">UTF8Encoding</span><span class="p">.</span><span class="n">UTF8</span><span class="p">.</span><span class="n">GetBytes</span><span class="p">(</span><span class="s">&quot;Hello World!&quot;</span><span class="p">);</span>
 
-<p>content = UTF8Encoding.UTF8.GetBytes("Hello World!");</p>
-<div class="codehilite"><pre><span class="n">ContentStream</span> <span class="n">contentStream</span> <span class="o">=</span> <span class="k">new</span> <span class="n">ContentStream</span><span class="p">();</span>
-<span class="n">contentStream</span><span class="o">.</span><span class="n">FileName</span> <span class="o">=</span> <span class="s">&quot;hello-world.txt&quot;</span><span class="p">;</span>
-<span class="n">contentStream</span><span class="o">.</span><span class="n">MimeType</span> <span class="o">=</span> <span class="s">&quot;text/plain&quot;</span><span class="p">;</span>
-<span class="n">contentStream</span><span class="o">.</span><span class="n">Length</span> <span class="o">=</span> <span class="n">content</span><span class="o">.</span><span class="n">Length</span><span class="p">;</span>
-<span class="n">contentStream</span><span class="o">.</span><span class="n">Stream</span> <span class="o">=</span> <span class="k">new</span> <span class="n">MemoryStream</span><span class="p">(</span><span class="n">content</span><span class="p">);</span>
+<span class="n">ContentStream</span> <span class="n">contentStream</span> <span class="o">=</span> <span class="n">new</span> <span class="n">ContentStream</span><span class="p">();</span>
+<span class="n">contentStream</span><span class="p">.</span><span class="n">FileName</span> <span class="o">=</span> <span class="s">&quot;hello-world.txt&quot;</span><span class="p">;</span>
+<span class="n">contentStream</span><span class="p">.</span><span class="n">MimeType</span> <span class="o">=</span> <span class="s">&quot;text/plain&quot;</span><span class="p">;</span>
+<span class="n">contentStream</span><span class="p">.</span><span class="n">Length</span> <span class="o">=</span> <span class="n">content</span><span class="p">.</span><span class="n">Length</span><span class="p">;</span>
+<span class="n">contentStream</span><span class="p">.</span><span class="n">Stream</span> <span class="o">=</span> <span class="n">new</span> <span class="n">MemoryStream</span><span class="p">(</span><span class="n">content</span><span class="p">);</span>
 
-<span class="n">IDocument</span> <span class="n">doc</span> <span class="o">=</span> <span class="n">folder</span><span class="o">.</span><span class="n">CreateDocument</span><span class="p">(</span><span class="n">properties</span><span class="p">,</span> <span class="n">contentStream</span><span class="p">,</span> <span class="n">null</span><span class="p">);</span>
+<span class="n">IDocument</span> <span class="n">doc</span> <span class="o">=</span> <span class="n">folder</span><span class="p">.</span><span class="n">CreateDocument</span><span class="p">(</span><span class="n">properties</span><span class="p">,</span> <span class="n">contentStream</span><span class="p">,</span> <span class="n">null</span><span class="p">);</span>
 </pre></div>
 
 
 <p><a name="GettingstartedwithDotCMIS-Updatingproperties"></a></p>
 <h2 id="updating_properties">Updating properties</h2>
-<div class="codehilite"><pre><span class="n">ICmisObject</span> <span class="n">cmisObject</span> <span class="o">=</span> <span class="o">...</span>
-
-<span class="n">IDictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">object</span><span class="o">&gt;</span> <span class="n">properties</span> <span class="o">=</span> <span class="k">new</span> <span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">object</span><span class="o">&gt;</span><span class="p">();</span>
-<span class="n">properties</span><span class="p">[</span><span class="s">&quot;my:string&quot;</span><span class="p">]</span>
-</pre></div>
+<div class="codehilite"><pre><span class="n">ICmisObject</span> <span class="n">cmisObject</span> <span class="o">=</span> <span class="p">...</span>
 
+<span class="n">IDictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">object</span><span class="o">&gt;</span> <span class="n">properties</span> <span class="o">=</span> <span class="n">new</span> <span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">object</span><span class="o">&gt;</span><span class="p">();</span>
+<span class="n">properties</span><span class="p">[</span><span class="s">&quot;my:string&quot;</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;a string&quot;</span><span class="p">;</span>
+<span class="n">properties</span><span class="p">[</span><span class="s">&quot;my:int&quot;</span><span class="p">]</span> <span class="o">=</span> <span class="mi">42</span><span class="p">;</span>
+<span class="n">properties</span><span class="p">[</span><span class="s">&quot;my:date&quot;</span><span class="p">]</span> <span class="o">=</span> <span class="n">DateTime</span><span class="p">.</span><span class="n">Now</span><span class="p">;</span>
 
-<p>= "a string";
-    properties["my:int"]
- = 42;
-    properties["my:date"]
- = DateTime.Now;</p>
-<div class="codehilite"><pre><span class="n">IObjectId</span> <span class="n">newId</span> <span class="o">=</span> <span class="n">cmisObject</span><span class="o">.</span><span class="n">UpdateProperties</span><span class="p">(</span><span class="n">properties</span><span class="p">);</span>
+<span class="n">IObjectId</span> <span class="n">newId</span> <span class="o">=</span> <span class="n">cmisObject</span><span class="p">.</span><span class="n">UpdateProperties</span><span class="p">(</span><span class="n">properties</span><span class="p">);</span>
 
-<span class="k">if</span> <span class="p">(</span><span class="n">newId</span><span class="o">.</span><span class="n">Id</span> <span class="o">==</span> <span class="n">cmisObject</span><span class="o">.</span><span class="n">Id</span><span class="p">)</span> 
+<span class="k">if</span> <span class="p">(</span><span class="n">newId</span><span class="p">.</span><span class="n">Id</span> <span class="o">==</span> <span class="n">cmisObject</span><span class="p">.</span><span class="n">Id</span><span class="p">)</span> 
 <span class="p">{</span>
-    <span class="sr">//</span> <span class="n">the</span> <span class="n">repository</span> <span class="n">updated</span> <span class="n">this</span> <span class="n">object</span> <span class="o">-</span> <span class="n">refresh</span> <span class="n">the</span> <span class="n">object</span>
-    <span class="n">cmisObject</span><span class="o">.</span><span class="n">Refresh</span><span class="p">();</span>
+    <span class="c1">// the repository updated this object - refresh the object</span>
+    <span class="n">cmisObject</span><span class="p">.</span><span class="n">Refresh</span><span class="p">();</span>
 <span class="p">}</span>
 <span class="k">else</span>
 <span class="p">{</span>
-    <span class="sr">//</span> <span class="n">the</span> <span class="n">repository</span> <span class="n">created</span> <span class="n">a</span> <span class="k">new</span> <span class="n">version</span> <span class="o">-</span> <span class="n">fetch</span> <span class="n">the</span> <span class="k">new</span> <span class="n">version</span>
-    <span class="n">cmisObject</span> <span class="o">=</span> <span class="n">session</span><span class="o">.</span><span class="n">GetObject</span><span class="p">(</span><span class="n">newId</span><span class="p">);</span>
+    <span class="c1">// the repository created a new version - fetch the new version</span>
+    <span class="n">cmisObject</span> <span class="o">=</span> <span class="n">session</span><span class="p">.</span><span class="n">GetObject</span><span class="p">(</span><span class="n">newId</span><span class="p">);</span>
 <span class="p">}</span>
 </pre></div>
 
 
 <p><a name="GettingstartedwithDotCMIS-Deletinganobject"></a></p>
 <h2 id="deleting_an_object">Deleting an object</h2>
-<div class="codehilite"><pre><span class="n">IObjectId</span> <span class="n">newId</span> <span class="o">=</span> <span class="n">session</span><span class="o">.</span><span class="n">CreateObjectId</span><span class="p">(</span><span class="s">&quot;12345678&quot;</span><span class="p">):</span>
-<span class="n">ICmisObject</span> <span class="n">cmisObject</span> <span class="o">=</span> <span class="n">session</span><span class="o">.</span><span class="n">GetObject</span><span class="p">(</span><span class="n">newId</span><span class="p">);</span>
+<div class="codehilite"><pre><span class="n">IObjectId</span> <span class="n">newId</span> <span class="o">=</span> <span class="n">session</span><span class="p">.</span><span class="n">CreateObjectId</span><span class="p">(</span><span class="s">&quot;12345678&quot;</span><span class="p">)</span><span class="o">:</span>
+<span class="n">ICmisObject</span> <span class="n">cmisObject</span> <span class="o">=</span> <span class="n">session</span><span class="p">.</span><span class="n">GetObject</span><span class="p">(</span><span class="n">newId</span><span class="p">);</span>
 
-<span class="n">cmisObject</span><span class="o">.</span><span class="n">Delete</span><span class="p">(</span><span class="n">true</span><span class="p">);</span>
+<span class="n">cmisObject</span><span class="p">.</span><span class="n">Delete</span><span class="p">(</span><span class="nb">true</span><span class="p">);</span>
 </pre></div>
 
 
 <p><a name="GettingstartedwithDotCMIS-Performingaquery"></a></p>
 <h2 id="performing_a_query">Performing a query</h2>
-<div class="codehilite"><pre><span class="n">IItemEnumerable</span><span class="sr">&lt;IQueryResult&gt;</span> <span class="sx">qr = </span><span class="n">session</span><span class="o">.</span><span class="n">Query</span><span class="p">(</span><span class="err">&quot;</span><span class="n">SELECT</span> <span class="o">*</span> <span class="n">FROM</span>
-</pre></div>
+<div class="codehilite"><pre><span class="n">IItemEnumerable</span><span class="o">&lt;</span><span class="n">IQueryResult</span><span class="o">&gt;</span> <span class="n">qr</span> <span class="o">=</span> <span class="n">session</span><span class="p">.</span><span class="n">Query</span><span class="p">(</span><span class="s">&quot;SELECT * FROM cmis:document&quot;</span><span class="p">,</span> <span class="nb">false</span><span class="p">);</span>
 
-
-<p>cmis:document", false);</p>
-<div class="codehilite"><pre><span class="k">foreach</span> <span class="p">(</span><span class="n">IQueryResult</span> <span class="n">hit</span> <span class="n">in</span> <span class="n">qr</span><span class="p">)</span>
+<span class="n">foreach</span> <span class="p">(</span><span class="n">IQueryResult</span> <span class="n">hit</span> <span class="n">in</span> <span class="n">qr</span><span class="p">)</span>
 <span class="p">{</span>
-    <span class="n">Console</span><span class="o">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="n">hit</span><span class="p">[</span><span class="s">&quot;cmis:name&quot;</span><span class="p">]</span>
-</pre></div>
-
-
-<p>.FirstValue + " (" + hit["cmis:objectId"].FirstValue + ")");
-    }</p></div>
+    <span class="n">Console</span><span class="p">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="n">hit</span><span class="p">[</span><span class="s">&quot;cmis:name&quot;</span><span class="p">].</span><span class="n">FirstValue</span> <span class="o">+</span> <span class="s">&quot; (&quot;</span> <span class="o">+</span> <span class="n">hit</span><span class="p">[</span><span class="s">&quot;cmis:objectId&quot;</span><span class="p">].</span><span class="n">FirstValue</span> <span class="o">+</span> <span class="s">&quot;)&quot;</span><span class="p">);</span>
+<span class="p">}</span>
+</pre></div></div>
              <!-- Content -->
            </td>
           </tr>
@@ -420,6 +364,11 @@ Apache Chemistry - Getting started with 
      <td id="cell-2-2">&nbsp;</td>
     </tr>
     <tr width="100%">
+      <td id="cell-3-0">&nbsp;</td>
+      <td id="cell-3-1">&nbsp;</td>
+      <td id="cell-3-2">&nbsp;</td>
+    </tr>
+    <tr width="100%">
      <td id="cell-3-0">&nbsp;</td>
      <td id="cell-3-1">
        <div id="footer">
@@ -428,7 +377,8 @@ Apache Chemistry - Getting started with 
           
           Apache Chemistry, Apache, the Apache feather logo, and the Apache 
           Chemistry project logo are trademarks of The Apache Software 
-          Foundation.<br /><br />
+          Foundation.
+          <BR />
           Content Management Interoperability Services (CMIS) is an
           <a href="http://www.oasis-open.org/committees/cmis/">OASIS</a>
           specification.



Mime
View raw message