db 2 schema

hello,is there any tool for generating xsd schema from a DB structure? I mean, for JAXWS I have to create a XSD file, and I want the service to share the data from my DB which is quite big.. :/Thanks!
[221 byte] By [wardena] at [2007-10-3 4:09:36]
# 1

seems like a foolish idea to expose the raw database structure as a web service.

Far better to create a service layer around it containing a set of data access objects/data transfer objects and expose that.

There are tools in most or all ORM mapping systems that allow you to create those DAO/DTOs and most or all web services frameworks have tools to extract wsdl (which is xsd) from Java classes.

jwentinga at 2007-7-14 22:09:41 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...