Highlighted
Mohit408
1 Nickel

How to checkout through DFS without DFC properties from my client

Jump to solution

Hi All

  I'm trying to checking out document by consuming DFS through a web service. For this i'm creating a web service and trying to checking out document from this web service. In this web service, i'm using versioncontrolservice.checkout() of DFS, document is checking out successfully, but it requires dfc.properties file in webservice application. Without dfc.properties files, it is generating a exception,"No Docbroker is specified".

I'm unable to understand why it is using dfc.properties file in webservices.When i'm passing control to the DFS for checking out of document from web service, then why it requires dfc.properties file.

It requires dfc.properties file only for checking out of document (or during version creation).

I'm successfully, fetching document content, its metadata, updated metadata through my web services(which is internally using DFS), butunable to create version through my web service.

I don't want to use dfc.properties file within my web service.

So, pls suggest me how to resolve this issue, how to checkout document from my web service without dfc,properties file

0 Kudos
1 Solution

Accepted Solutions
Mohit408
1 Nickel

Re: How to checkout through DFS without DFC properties from my client

Jump to solution

use ServiceFactory.getRemoteService() instead of ServiceFactory.getService(), to get IVersionControlService object.

0 Kudos
1 Reply
Mohit408
1 Nickel

Re: How to checkout through DFS without DFC properties from my client

Jump to solution

use ServiceFactory.getRemoteService() instead of ServiceFactory.getService(), to get IVersionControlService object.

0 Kudos