留言板

WSO2 Web service call in Gradle Post login Hook - Liferay DXP

thumbnail
vaseem bari,修改在6 年前。

WSO2 Web service call in Gradle Post login Hook - Liferay DXP

Junior Member 帖子: 86 加入日期: 08-3-26 最近的帖子
Hi,

I am using Liferay DXP. Created a Post login hook.
In my scenario, i have to make a service call to wso2 identity server to get the user details. and store/map the user data into liferay after each login.

In my build.gradle these are the dependencies for wso2.
compile group: 'org.wso2.carbon', name: 'org.wso2.carbon.authenticator.stub', version: '4.2.0'
compile group: 'org.wso2.carbon', name: 'org.wso2.carbon.service.mgt.stub', version: '4.2.0'
compile group: 'org.apache.axis2.wso2', name: 'axis2-client', version: '1.6.1.wso2v10'

When i deploy the hook, the hook service will not start. And the status of my app is installed if i am looking from the app manager. If i try to activate the app, Error log shows
[1083]_ Unresolved requirement: Import-Package: com.sun.msv.util_ [Sanitized]

If i try to add the above package in BND file and try to deploy and some other package is required, this is going on and on . BND file attached for reference.

any suggestion/help on this