Skip to Content
0
Former Member
Feb 02, 2007 at 10:57 PM

calling portal service ?

24 Views

Hi,

am trying to call a portal service from portal application.

2 scenarios:

SCENARIO 1:

componnent and the service in the same project.

in the KEY filed of ImyService. when I provide the value as Parfilename|servicename, it works

when i change the KEY field to name of the classfile, i.e. com.mycomp.myService [ implemention class of that interface], it doesnt work. throwing exception "could not instatiate the implementation class".

SCENARIO 2:

SERVICE and the usage component is in different projects and I provided the value of service to sharingreference in the portalapp.xml file

it doesnt work when the KEY is "Parfilename|servicename" or when it is set to the class file name, i.e. "com.mycomp.myService".

BTW, the portal service is started.

any ideas are highly appreciated.