The WWW_PUBLIC role is a business role which grants access to the Self Service module, it does not grant execution rights.
The WWW_PUBLIC role should be set up for 1 user only. That user may be granted execution rights to the public designed functions, for example WPCIO, WPECI and WPRPO.