Hi ,
<!– This bean is used for getting the nodeRef for the passed location with respect to company Home –>
<bean id="webscript.com.patil.common.getNodeRefForLocation.get" class="com.patil.webscript.GetNodeRefForLocation"
parent="webscript">
<property name="serviceRegistry">
<ref bean="ServiceRegistry" />
</property>
</bean>
Inside your GetNodeRefForLocation class you should have setter and getter method for serviceRegistry.
Then you will be able to access ServiceRegistry and get any services.
Make sure you have put the description file in the proper location.
In the webscript you can extend either AbstractWebScript or DeclarativeWebScript.
Thanks,
Patil
Cignex Technologies
Bangalore