You'd call it the same way you'd call any other WS. It doesn't matter that the calling application is a web app, or that you intend to perform a DB insert operation afterwards.
Or is your question really "How do I call a WS from within
Java code?"
Moving back to the Web Services forum, as it turns out this doesn't have anything to do with databases.