Unable to test bssv locally using JDeveloper

karthik9891

Active Member
I've built a new custom business service (for ex:- with a custom package com.x.y ) in my DV910 environment and trying to do a simple unit testing locally. While doing, I'm getting "User is not allowed to invoke this published business service". I'm not able to provide access to this published business service for a user using P00950 application. It is not getting listed in the published business services list to provide the user an access to this particular business service.

Any thoughts/suggestions to overcome?

28 Dec 2015 07:08:39,964 [Line -1] [main] [DEBUG ] - [BSSVFRAMEWORK] [Context ID: ] This is a WLS server
28 Dec 2015 07:08:39,966 [Line -1] [main] [DEBUG ] - [BSSVFRAMEWORK] [Context ID: 10.194.50.76:50585:1451315319942:0] EnterpriseOne credentials could not be retrieved from request. Attempting to read credentials from configuration file.
28 Dec 2015 07:08:39,969 [Line -1] [main] [DEBUG ] - [BSSVFRAMEWORK] [Context ID: TokenReauthenticateDelay] Token re-authentication delay set to 3600000.0
28 Dec 2015 07:08:40,166 [Line -1] [main] [DEBUG ] - [INTEROP] Session clearning thread started
28 Dec 2015 07:08:41,849 [Line -1] [main] [DEBUG ] - [INTEROP] User session 1510245009 for user JDE has been created.
28 Dec 2015 07:08:41,849 [Line -1] [main] [DEBUG ] - [INTEROP] User JDE has login successfully
28 Dec 2015 07:08:41,850 [Line -1] [main] [DEBUG ] - [BSSVFRAMEWORK] [Context ID: 10.194.50.76:50585:1451315319942:0] Initializing context with Request ID 10.194.50.76:50585:1451315319942:0
28 Dec 2015 07:08:41,851 [Line -1] [main] [DEBUG ] - [BSSVFRAMEWORK] [Context ID: 10.194.50.76:50585:1451315319942:0] BSFNConnection default connection created.
28 Dec 2015 07:08:41,860 [Line -1] [main] [DEBUG ] - [BSSVFRAMEWORK] [Context ID: 10.194.50.76:50585:1451315319942:0] DBConnection default connection created.
28 Dec 2015 07:08:41,860 [Line -1] [main] [DEBUG ] - [BSSVFRAMEWORK] [Context ID: 10.194.50.76:50585:1451315319942:0] SBFConnection default created.
28 Dec 2015 07:08:41,861 [Line -1] [main] [DEBUG ] - [BSSVFRAMEWORK] [Context ID: 10.194.50.76:50585:1451315319942:0] SBFConnectionPool connection checked in, totalConnections created 1
28 Dec 2015 07:08:41,861 [Line -1] [main] [DEBUG ] - [BSSVFRAMEWORK] [Context ID: 10.194.50.76:50585:1451315319942:0] Initializing default connection for context
28 Dec 2015 07:08:41,861 [Line -1] [main] [DEBUG ] - [BSSVFRAMEWORK] [Context ID: 10.194.50.76:50585:1451315319942:0] Fetching associated roles of the user
28 Dec 2015 07:08:41,864 [Line -1] [main] [DEBUG ] - [BSSVFRAMEWORK] [Context ID: 10.194.50.76:50585:1451315319942:0] DBConnection JDBjConnection created.
28 Dec 2015 07:08:41,865 [Line -1] [main] [DEBUG ] - [BSSVFRAMEWORK] [Context ID: 10.194.50.76:50585:1451315319942:0] DBConnection JDBjTransaction started and in ACTIVE state.
28 Dec 2015 07:08:41,951 [Line -1] [main] [SEVERE] - [BSSVFRAMEWORK] [Context ID: 10.194.50.76:50585:1451315319942:0] Access to getItemMaster() in JP554101 is denied for user JDE with role *ALL
28 Dec 2015 07:08:41,953 [Line -1] [main] [SEVERE] - [BSSVFRAMEWORK] [Context ID: 10.194.50.76:50585:1451315319942:0] AuthorizationException: User is not authorized to invoke this published business service oracle.e1.bssvfoundation.exception.E1AuthorizationException: User is not authorized to invoke this published business service
 
Last edited:

8152

Active Member
Hello

Do you have access to Oracle support?

The document ID 1416001.1 explains how to debug a publisher BSSV locally. The document ID 1346096.1 explains how to debug a consumer BSSV locally. These documents have step by step instructions on how to debug BSSV locally.

I was able to debug BSSV locally with the documents above.

Hope this will help you

8152
 

Chan Rana

Legendary Poster
This is not BSSV issue you need to go into BSSV setting app and open access to ALL so all user can access. Browse for BSSV security setting in KG and there should be document on this. I think BSSV guide has this topic.

Chan
 
Top