I spoke with IBM JAVA support.
You can't call the APIs directly because that runs in a different job on the server which is not the same one that database requests are processed in.
You have to either call a stored procedure or create a new connection with the user profile that has elevated authority.
I chose stored procedure because I did not want to have to code a password into the service.
RickGentner