cancel
Showing results for 
Search instead for 
Did you mean: 

accessing service(s) in par file

jerome_lim
Participant
0 Kudos

Hi expert,

I need to create an portal application and passing some parameters to other service(s) in some par file.

I have download the par file from the server, and would like to use some class and interface from that par file.

any idea how to do this ? code snippets will be very appreciated.

Do I need to configure my portalpp.xml ?

kind regards

Ben.J.

Edited by: Ben.J. on Aug 12, 2010 10:03 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

MaheshChandra
Active Contributor
0 Kudos

which par file you downloaded and what type of services you want to access/change/pass

to get idea on [configuring portalapp.xml |http://help.sap.com/saphelp_nw70/helpdata/en/44/489e2df5ee4e35e10000000a1553f6/frameset.htm] and an [example to change|http://help.sap.com/saphelp_nw04/helpdata/en/0a/d51440a1c32402e10000000a1550b0/frameset.htm] it

Regards

Mahesh

jerome_lim
Participant
0 Kudos

The application I need to call is

com.sap.portal.pcd.rolemigration.service

I have configured the portalapp.xml:

<application-config>

<property name="SharingReference" value="com.sap.portal.pcd.rolemigration.service"/>

</application-config>

When I try to deploy it to the server, I got an error :

Operation failed - application: myPortalApp

[EXCEPTION]

com.sapportals.portal.prt.runtime.PortalRuntimeException: [PortalApplicationItem.prepare]: myPortalApp

Caused by: com.sapportals.portal.prt.core.broker.PortalApplicationNotFoundException: Could not find portal application com.sap.portal.pcd.rolemigration.service

*****

kind regards