aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes WSDL - Webservice Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "WSDL - Webservice" Watch "WSDL - Webservice" New topic
Author

WSDL - Webservice

Mabobotsane Mogo
Greenhorn

Joined: Oct 12, 2005
Posts: 4
Hi

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!!

regards
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

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.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WSDL - Webservice