This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
I've EJB with methods throwing MyException to expose via WebService and I'm using oracle JDeveloper to generate WebService. The problem is the WSDL does not have any of my exception I'm throwing. Why can't I have exceptions in the WSDL. Please help!!
WSDL is not a "Java technology" it is used by all languages, so other languages don't have the Java Exception class. Exceptions have to be handled through "error" messages defined by an XML schema. So you can pass back one of those messages.