on 01-11-2008 8:45 AM
Hi everybody!
I want to create a data service in VC with the information of the users, groups and roles created in Portal, in order to create iViews with this information easily accessible from Portal, instead of using Users Management tab in Portal.
There's any way to do it? Where's stored this info? UME information is maybe contained in the Oracle database? How can access it to work with it?
Thanks a lot!
Hi Roberto,
for your requirements you have to write a portal webservice, which returns the required values. I have written a portal webservice which returns all portalRoles and another one which returns the roles of a user. There was a yesterday a question about webservices yesterday. I'm looking forward to write a weblog this sunday. I think it will meet your requirements and you only have to modify the coding a little bit.
I will update this thread if I had finished my weblog.
Best Regards,
Marcel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Roberto,
the first part is online now with the webservice coding. I'm looking forward to write the second part tomorrow in the evening after work. I'm also looking forward to collect codings of webservices for Visual Composer in the Wiki.
You'll find the first part [here|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/8303] [original link is broken] [original link is broken] [original link is broken];.
Best Regards,
Marcel
Hi Marcel,
Thanks a lot for your help! Nevertheless, I've got troubles deploying the web services: I have made the method getRoles and after that I have pasted the code on GetAllPortalRoles Bean, and it seems it works well (no errors marked in the bean tab ), but after generating the EAR project and the .EAR file to deploy it, the deploying process fails:
Result
=> deployment aborted : file:/C:/DOCUME1/CONSUL1/CONFIG~1/Temp/temp14424EARRoles.ear
Aborted: development component 'EARRoles'/'sap.com'/'localhost'/'2008.01.15.13.53.06'/'0':Caught exception during application deployment from SAP J2EE Engine's deploy service:java.rmi.RemoteException: Cannot deploy application sap.com/EARRoles.. Reason: Incorrect application sap.com/EARRoles:Error in the remote interface getAllPortalRoles.GetAllPortalRoles of bean GetAllPortalRolesBean: No corresponding business method in the bean class getAllPortalRoles.GetAllPortalRolesBean was found for method getRoles.Error in the local interface getAllPortalRoles.GetAllPortalRolesLocal of bean GetAllPortalRolesBean: No corresponding business method in the bean class was found for method getRoles.; nested exception is: com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='com.sap.engine.services.ejb.exceptions.deployment.EJBDeploymentException: Incorrect application sap.com/EARRoles:Error in the remote interface getAllPortalRoles.GetAllPortalRoles of bean GetAllPortalRolesBean: No corresponding business method in the bean class getAllPortalRoles.GetAllPortalRolesBean was found for method getRoles.Error in the local interface getAllPortalRoles.GetAllPortalRolesLocal of bean GetAllPortalRolesBean: No corresponding business method in the bean class was found for method getRoles. at com.sap.engine.services.ejb.deploy.verifier.Verifier.check(Verifier.java:66) at com.sap.engine.services.ejb.deploy.DeployAdmin.generate(DeployAdmin.java:254) at com.sap.engine.services.ejb.EJBAdmin.deploy(EJBAdmin.java:2161) at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:606) at com.sap.engine.services.deploy.server.application.
.
.
.
.
and so on... Any idea why the deploying process is failing?
Best Regards,
Hi Marcel,
I'm a colleague of Roberto and now I'm with this matter. We had already defined the business method getRoles with a fully qualified name of getAllPortalRoles.roleModel with Array format, but no business method getAllPortalRoles seems to exists in the code you attached. Even with the getRoles method defined, the error still appears.
Please, let us know if there's something we maybe have missed.
Best regards,
Jesús Ruiz
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.