Java based web srevices and throwing exceptions
0 posts in topic
Flat View  Flat View

Posted By:   Somesh_Marepalli
Posted On:   Wednesday, December 17, 2003 12:15 PM

I am using WSDL to specify the interface for my web service port and operations and then generating code using Axis..I have two questions related to Axis:
a) what is the preferred way to throw exceptions from youu web service logic. Is it ok to use RemoteException or does one need to use fault elements in WSDL. In this case, Axis generates a subclass of AxisFault class.

b) Does Axis do schema validation of any sorts if your WSDL and XSD were used to generate teh skeleton of the web services...


About | Sitemap | Contact