WS operations

Can a web service have more than one operation? Using NetBeans 5.5 IDE, I tried to add another operation, having added a String-based operation fearlier/ However, I got a ClassCastException.

What caused this? Is it because a WS is limited to only one operation?

I'm trying to cnnect and retrieve the contents of a databse. In the first operation, I sought to get the name of the database, and return itas a String. Should the database conction code be placed in an operation, or can I just use methods*?

Reformer...

* I will be using JAX-RPC

[574 byte] By [da_wannabesa] at [2007-11-27 2:31:56]
# 1
Wrong forum for this question. Try asking over in the webservices forum: http://forum.java.sun.com/forum.jspa?forumID=331CowKing
IamCowKinga at 2007-7-12 2:47:14 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Many thanks!
da_wannabesa at 2007-7-12 2:47:14 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...