web services

How can i publish a web service created with outsystems and them charge the individual users's access?
Hi Alexandre,

Welcome to the OutSystems Community!

I believe the best way to accomplish what you're suggesting is to pass into your Web (service) Method a user and pasword and do it programatically:

1) Call User_Login and pass the credentials in;
2) Use Check<your_role_name>Role, passing in Session.UserId;
3) Using an IF node check if user has the role you created to call this method. If not throw a (user) exception by using the Raise Error node;

Hope this helps,

Hi Miguel, thanks for your help, to be sincere i  do not quite understand your answer, but knowing that it is possible to implement this project, I am forwarding my recommendation for we use the outsystem in our web services project.