How to get the tridion broker content through a webservice call?

648 Views Asked by At

I need to access the dynamic broker content through a web service call for html5 based mobile website. we are on SDL 2011 version build:6.1.0.55920.

  1. Is broker content already available as a web service?
  2. Is there any configuration setup that needs to be done ?

Can anyone provide the guidelines needed.

Thanks in advance.

2

There are 2 best solutions below

0
On

First you need to modify the cd_storage_confe.xml file for querying the broker database. This file is present in bin\config folder of website.

Enable this tag:

<SearchFilter Name="SearchFilter" Class="com.tridion.broker.components.meta.MsSqlSearchFilterHome" defaultStorageId="defaultdb"/>

After this, you can use the Broker query mechanism to fetch the content from broker database and display the data dynamically.

More help on SdlLive website (login required)

5
On

There is a Content Delivery OData web service that can be used to retrieve dynamic content from the Broker. To install it check the docs at the following locations:

.Net installation: http://sdllivecontent.sdl.com/LiveContent/content/en-US/SDL_Tridion_2011_SPONE/task_3E3A2FB1B4E34C20934B5A841C2E0930 (login needed)
Java installation: http://sdllivecontent.sdl.com/LiveContent/content/en-US/SDL_Tridion_2011_SPONE/task_DC046ED58691440E92ED1A8672851427 (login needed)

This information is also provided in the Installation Guide PDF.

For information regarding implementing the service check the docs at http://sdllivecontent.sdl.com/LiveContent/content/en-US/SDL_Tridion_2011_SPONE/concept_DFBA3FF3977045F892ABB4FCF8DA38B1