I have a customized button that once you click it, a new window it's open displaying some data from an external app, getting the data through a SOAP web service.
If I'm logged as System Administrator it works fine.
But if I'm logged as any other user profile it doesn't work. At first, it complained about permissions, so I gave other profiles the permissions needed for the VFPage involved, Apex Classes involved and Objects involved.
Now, it doesn't complain about permissions. After click the button, the expected window opens fine, but, it doesn't display the data.
¿Any idea what am I missing?
UPDATE
I've followed the given tips, and using the Debug Log for two different profiles, the result is exactly the same:
As you can see, the same result is returned from the web service callout.
System.runAs(u)
to capture a log for another user. Either use Setup > Monitoring > Debug Log and select the user or select show logs for all users in the developer console.