Foros de discusión
WSO2 Web service call in Gradle Post login Hook - Liferay DXP
vaseem bari, modificado hace 6 años.
WSO2 Web service call in Gradle Post login Hook - Liferay DXP
Junior Member Mensajes: 86 Fecha de incorporación: 26/03/08 Mensajes recientes
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
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
Archivos adjuntos:
David H Nebinger, modificado hace 6 años.