cancel
Showing results for 
Search instead for 
Did you mean: 

Execute some java code

Former Member
0 Kudos

Hello!

I want to add portal role to some user by clicking button in VC page. I can do that in java code, but how can I call this java-code?

I heard something about web-service, which I can call from VC.

Where can I read about this?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Paul,

Try this link to create webservice from a java class

Also try this link to consume webservice in VC

https://www.sdn.sap.com/irj/sdn/nw-vc?rid=/library/uuid/e017128b-0c01-0010-fa85-e3a576f1a40d

Kind Regards,

Basheer

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Creat a webservice for your Need and consume that in the VC.

Consuming Webservice :

tools->define webservice system

here you can mention your Webservice URL and User Id ,PW if any.

Govindu