<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Not able to access serviceRegistry in webscript bean class in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/not-able-to-access-serviceregistry-in-webscript-bean-class/m-p/272614#M225744</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Patil…The configurations were all set correctly only.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There was one silly mistake I had made while calling my method which was in turn accessing the serviceregistry…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is corrected now…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ramesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Dec 2010 10:20:46 GMT</pubDate>
    <dc:creator>romschn</dc:creator>
    <dc:date>2010-12-24T10:20:46Z</dc:date>
    <item>
      <title>Not able to access serviceRegistry in webscript bean class</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/not-able-to-access-serviceregistry-in-webscript-bean-class/m-p/272611#M225741</link>
      <description>Hi,I have done the required configurations related to webscript.See below code snippets for each of the required files :context file : &amp;lt;bean id="webscript.com.test.deployment.get" class="com.test.Deployment" parent="webscript"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="serviceRegistry" ref="ServiceRegistry"/&amp;gt;</description>
      <pubDate>Thu, 23 Dec 2010 09:22:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/not-able-to-access-serviceregistry-in-webscript-bean-class/m-p/272611#M225741</guid>
      <dc:creator>romschn</dc:creator>
      <dc:date>2010-12-23T09:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to access serviceRegistry in webscript bean class</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/not-able-to-access-serviceregistry-in-webscript-bean-class/m-p/272612#M225742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi ,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;!– This bean is used for getting the nodeRef for the passed location with respect to company Home –&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;bean id="webscript.com.patil.common.getNodeRefForLocation.get" class="com.patil.webscript.GetNodeRefForLocation"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;parent="webscript"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;property name="serviceRegistry"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;ref bean="ServiceRegistry" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/property&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/bean&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Inside your GetNodeRefForLocation class you should have setter and getter method for serviceRegistry.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then you will be able to access ServiceRegistry and get any services.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Make sure you have put the description file in the proper location.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the webscript you can extend either AbstractWebScript or DeclarativeWebScript.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Patil&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cignex Technologies&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bangalore&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Dec 2010 10:46:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/not-able-to-access-serviceregistry-in-webscript-bean-class/m-p/272612#M225742</guid>
      <dc:creator>patil</dc:creator>
      <dc:date>2010-12-23T10:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to access serviceRegistry in webscript bean class</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/not-able-to-access-serviceregistry-in-webscript-bean-class/m-p/272613#M225743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;property name="serviceRegistry" ref="ServiceRegistry"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;has to be replaced with &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;property name="serviceRegistry"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;lt;ref bean="ServiceRegistry" /&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And in the bean setter and getter is required for serviceRegistry.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Patil&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cignex Technologies&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bangalore&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Dec 2010 11:07:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/not-able-to-access-serviceregistry-in-webscript-bean-class/m-p/272613#M225743</guid>
      <dc:creator>patil</dc:creator>
      <dc:date>2010-12-23T11:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to access serviceRegistry in webscript bean class</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/not-able-to-access-serviceregistry-in-webscript-bean-class/m-p/272614#M225744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Patil…The configurations were all set correctly only.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There was one silly mistake I had made while calling my method which was in turn accessing the serviceregistry…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is corrected now…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ramesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Dec 2010 10:20:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/not-able-to-access-serviceregistry-in-webscript-bean-class/m-p/272614#M225744</guid>
      <dc:creator>romschn</dc:creator>
      <dc:date>2010-12-24T10:20:46Z</dc:date>
    </item>
  </channel>
</rss>

