<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>DFS Notes</title>
	<link>http://www.dfsnotes.com</link>
	<description>Documentum Foundation Services</description>
	<pubDate>Thu, 17 Jan 2008 15:04:18 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
	<language>en</language>
			<item>
		<title>Blog registration is opened!</title>
		<link>http://www.dfsnotes.com/2008/01/17/blog-registration-is-opened/</link>
		<comments>http://www.dfsnotes.com/2008/01/17/blog-registration-is-opened/#comments</comments>
		<pubDate>Thu, 17 Jan 2008 15:04:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[DFS support]]></category>

		<guid isPermaLink="false">http://www.dfsnotes.com/2008/01/17/blog-registration-is-opened/</guid>
		<description><![CDATA[It was revealed that blog registration was closed, so blog readers could not register and post their comments. From now,  this bug is fixed. Please feel free to post any questions and propose what articles you&#8217;d like to see in the future.
]]></description>
			<content:encoded><![CDATA[<p>It was revealed that blog registration was closed, so blog readers could not register and post their comments. From now,  this bug is fixed. Please feel free to post any questions and propose what articles you&#8217;d like to see in the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dfsnotes.com/2008/01/17/blog-registration-is-opened/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Custom DFS service development. .NET Client. Part 3.</title>
		<link>http://www.dfsnotes.com/2007/11/20/custom-dfs-service-development-net-client-part-3/</link>
		<comments>http://www.dfsnotes.com/2007/11/20/custom-dfs-service-development-net-client-part-3/#comments</comments>
		<pubDate>Tue, 20 Nov 2007 12:08:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[C#]]></category>

		<category><![CDATA[DFS]]></category>

		<category><![CDATA[DFS .NET]]></category>

		<category><![CDATA[DFS programming]]></category>

		<guid isPermaLink="false">http://www.dfsnotes.com/2007/11/20/custom-dfs-service-development-net-client-part-3/</guid>
		<description><![CDATA[It&#8217;s time to show you how to create .NET remote client for HelloWorldService.
In order to create .NET proxies for DFS service, developers should have:

Service&#8217;s WSDL URL.
DFS service-model.xml file which describes service artifacts to be generated by subsequent processes.

]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s time to show you how to create .NET remote client for HelloWorldService.</p>
<p>In order to create .NET proxies for DFS service, developers should have:</p>
<ul>
<li>Service&#8217;s WSDL URL.</li>
<li>DFS service-model.xml file which describes service artifacts to be generated by subsequent processes.</li>
</ul>
<p> <a href="http://www.dfsnotes.com/2007/11/20/custom-dfs-service-development-net-client-part-3/#more-9" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dfsnotes.com/2007/11/20/custom-dfs-service-development-net-client-part-3/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Custom DFS service development. Java client. Part 2.</title>
		<link>http://www.dfsnotes.com/2007/11/20/custom-dfs-service-development-java-client-part-2/</link>
		<comments>http://www.dfsnotes.com/2007/11/20/custom-dfs-service-development-java-client-part-2/#comments</comments>
		<pubDate>Tue, 20 Nov 2007 11:20:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[DFS]]></category>

		<category><![CDATA[Java]]></category>

		<category><![CDATA[DFS programming]]></category>

		<category><![CDATA[DFS remote client]]></category>

		<guid isPermaLink="false">http://www.dfsnotes.com/2007/11/20/custom-dfs-service-development-java-client-part-2/</guid>
		<description><![CDATA[Today we&#8217;ll talk about remote client creation which invokes our HelloWorldService from part 1.
Little more info about this sample:
]]></description>
			<content:encoded><![CDATA[<p>Today we&#8217;ll talk about remote client creation which invokes our HelloWorldService from <a href="http://www.dfsnotes.com/2007/11/14/custom-dfs-service-development-service-creation-part-1/" title="Custom DFS service development. Service Creation. Part 1.">part 1</a>.</p>
<p>Little more info about this sample:</p>
<p> <a href="http://www.dfsnotes.com/2007/11/20/custom-dfs-service-development-java-client-part-2/#more-8" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dfsnotes.com/2007/11/20/custom-dfs-service-development-java-client-part-2/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Custom DFS service development. Service Creation. Part 1.</title>
		<link>http://www.dfsnotes.com/2007/11/14/custom-dfs-service-development-service-creation-part-1/</link>
		<comments>http://www.dfsnotes.com/2007/11/14/custom-dfs-service-development-service-creation-part-1/#comments</comments>
		<pubDate>Wed, 14 Nov 2007 14:14:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[DFS]]></category>

		<category><![CDATA[Java]]></category>

		<category><![CDATA[DFS service example]]></category>

		<category><![CDATA[EMC Documentum]]></category>

		<guid isPermaLink="false">http://www.dfsnotes.com/2007/11/14/custom-dfs-service-development-service-creation-part-1/</guid>
		<description><![CDATA[Hey everyone,
Some persons from EMC Documentum Forums stated that AcmeCustomService which comes with DFS SDK seems to be too complex for beginners, and &#8220;HelloWorld&#8221; service would be more understandable. I will try to show you how to create your first own simple HelloWorld like DFS service.
This tutorial will contain of 3 parts:

Service creation
Java client creation
.NET [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.dfsnotes.com/2007/11/14/custom-dfs-service-development-service-creation-part-1/7/" rel="attachment wp-att-7" title="helloworldservice.zip"></a>Hey everyone,</p>
<p>Some persons from EMC Documentum Forums stated that AcmeCustomService which comes with DFS SDK seems to be too complex for beginners, and &#8220;HelloWorld&#8221; service would be more understandable. I will try to show you how to create your first own simple HelloWorld like DFS service.</p>
<p>This tutorial will contain of 3 parts:</p>
<ul>
<li>Service creation</li>
<li>Java client creation</li>
<li>.NET remote client</li>
</ul>
<p>Before we&#8217;ll start, we should setup our build environment.</p>
<p>Note: You should have ant installed in order to run tutorial scripts.</p>
<p>1. Download attached <a href="http://www.dfsnotes.com/wp-content/uploads/2007/11/helloworldservice.zip" title="helloworldservice.zip">helloworldservice.zip</a> and extract it into emc-dfs-sdk-6.0\samples folder. It contains project template similar to AcmeCustomService. Lets assume &#8220;HelloWorldService&#8221; folder as root.</p>
<p>2. Open etc\dfc.properties and set host, repository name, username and password for your docbase.</p>
<p>3. Open build.properties and set preferred context root and module names, or leave them as they&#8217;re now.</p>
<p>Here is service code:</p>
<blockquote><p>package com.service.example;</p>
<p>import com.emc.documentum.fs.rt.annotations.DfsPojoService;</p>
<p>@DfsPojoService(targetNamespace = &#8220;http://example.service.com&#8221;, requiresAuthentication = true)<br />
public class HelloWorldService<br />
{<br />
public String sayHello(String name)<br />
{<br />
return &#8220;Hello &#8221; + name;<br />
}<br />
}</p></blockquote>
<p><strong>@DfsPojoService</strong> annotation specifies service&#8217;s namespace, and states if service requires docbase authentication (true by default)</p>
<p>Place this source with appropriate package into src\service folder.</p>
<p>Go to root folder (HelloWorldService) and run from command line the following command:</p>
<blockquote><p>ant artifacts package</p></blockquote>
<p>This command converts annotated classes to DFS services and package them into ear file.</p>
<p>At this step, you should have example.ear deployment file in HelloWorldService\build folder. This ear file contains our service which can be deployed into Weblogic application server.</p>
<p>Copy this file into weblogic&#8217;s autodeploy directory. You can also set weblogic deployment dir at autodeploy.properties file and run &#8220;<strong>ant deploy</strong>&#8221; command.</p>
<p>With default values at build.properties, your service should be available by the path: http://host:port/services/example/HelloWorldService</p>
<p>That&#8217;s all for now. In the next part of tutorial I will explain how to create client and call this service remotely.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dfsnotes.com/2007/11/14/custom-dfs-service-development-service-creation-part-1/feed/</wfw:commentRss>
		</item>
		<item>
		<title>DFS 6.0 SP1 is coming</title>
		<link>http://www.dfsnotes.com/2007/11/13/dfs-60-sp1-is-coming/</link>
		<comments>http://www.dfsnotes.com/2007/11/13/dfs-60-sp1-is-coming/#comments</comments>
		<pubDate>Tue, 13 Nov 2007 12:06:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[C#]]></category>

		<category><![CDATA[DFS]]></category>

		<category><![CDATA[.NET]]></category>

		<category><![CDATA[documentum]]></category>

		<guid isPermaLink="false">http://www.dfsnotes.com/2007/11/13/dfs-60-sp1-is-coming/</guid>
		<description><![CDATA[Documentum Foundation Services service pack is coming. It will contain many performance improvements, as well as .NET layer support which will allow DFS developers to create .NET proxies for their custom services and invoke services through similar to DFS Java API.
Here is rough example of .NET client written in C#:
&#8230;&#8230;
ContextFactory contextFactory = ContextFactory.Instance;
IServiceContext serviceContext = [...]]]></description>
			<content:encoded><![CDATA[<p>Documentum Foundation Services service pack is coming. It will contain many performance improvements, as well as .NET layer support which will allow DFS developers to create .NET proxies for their custom services and invoke services through similar to DFS Java API.</p>
<p>Here is rough example of .NET client written in C#:</p>
<blockquote><p>&#8230;&#8230;<br />
ContextFactory contextFactory = ContextFactory.Instance;<br />
IServiceContext serviceContext = contextFactory.NewContext();</p>
<p>ContentTransferProfile transferProfile = new ContentTransferProfile();<br />
transferProfile.TransferMode = ContentTransferMode.MTOM;</p>
<p>RepositoryIdentity repoId = new RepositoryIdentity(repository, username, password, domain);</p>
<p>serviceContext.AddIdentity(repoId);<br />
serviceContext.SetProfile(transferProfile);</p>
<p>// Registering context into Context Registry Service<br />
IServiceContext registeredContext = contextFactory.Register(serviceContext);</p>
<p>// Now we create and call a service<br />
ServiceFactory factory = ServiceFactory.Instance;<br />
ICustomService service = factory.GetRemoteService&lt;ICustomService&gt;(registeredContext);</p>
<p>// Finally we invoke service&#8217;s method.<br />
service.SomeMethod();<br />
&#8230;&#8230;</p></blockquote>
<p>As you can see, working with DFS through .NET is much easier now, than working with bare WSDL. I will provide complete example soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dfsnotes.com/2007/11/13/dfs-60-sp1-is-coming/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Introduction</title>
		<link>http://www.dfsnotes.com/2007/09/19/introduction/</link>
		<comments>http://www.dfsnotes.com/2007/09/19/introduction/#comments</comments>
		<pubDate>Wed, 19 Sep 2007 19:55:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[DFS]]></category>

		<guid isPermaLink="false">http://dfsnotes.com/?p=3</guid>
		<description><![CDATA[Hey everyone !
This blog is dedicated to EMC Documentum Foundation Services - the key component in the D6 Services Oriented Architecture. In this blog I will try to explain DFS API as well as some tips and tricks for services usage.
It is supposed that the basic audience of this blog will be documentum developers which [...]]]></description>
			<content:encoded><![CDATA[<p>Hey everyone !</p>
<p>This blog is dedicated to EMC Documentum Foundation Services - the key component in the D6 Services Oriented Architecture. In this blog I will try to explain DFS API as well as some tips and tricks for services usage.</p>
<p>It is supposed that the basic audience of this blog will be documentum developers which wish to learn using DFS.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dfsnotes.com/2007/09/19/introduction/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
