on 04-26-2005 9:56 AM
Hi
I want connect to predefined system using this by PageProcessorComponent
// get a client service
IJCOClientService clientService = (IJCOClientService) request.getService(IJCOClientService.KEY);
JCO.Client client = clientService.getJCOClient("VA4088", request);
// connect to SAP system
client.connect();
Line IJCOClientService clientService = (IJCOClientService) request.getService(IJCOClientService.KEY); throws exception
An exception occurred while processing a request for :
iView : pokus4.Landscape
Component Name : pokus4.Landscape
com/sapportals/portal/prt/service/jco/IJCOClientService.
Exception id: 10:52_26/04/05_0092_3246050
See the details for the exception ID in the log file
Please, whats wrong?
Hi,
basicly You have to include the service to Your application by typing eg.:
<application-config>
<property name="SharingReference" value="htmlb, jcoclient, jco, usermanagement, landscape"/>
</application-config>
in Your portalapp.xml
afterward it should do:
IJCOClientService clientService =
(IJCOClientService) PortalRuntime
.getRuntimeResources()
.getService(
IJCOClientService.KEY);
Walter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.