On Monday, June 9, 2003, at 01:00 PM, Felipe Oliveira wrote:
hi i am using xdoclet to generate my entity and session beans but i also want it to generate my webservices.
i have the part where it generates the web-service.xml defining my services and mapping them to the correct jndi entries of my session beans. my session bean methods return custom data objects. the problem is that xdoclet is not adding the data mapping for my data objects. i assume i have to use @jboss-net:xml-schema right? where should i add this entry? my data objects are generated automatically by xdoclet so i don't think it's there. any ideas anyone? dr jung?
ya, I have an Idea :-)
I am doing something like:
* object
* name = "Symbol"
* match = "*"
* schema
* type="value"
But that is using value objects (and a hacked template file).
If you want to map your dataobjects, it is a simple matter of doing something like:
* schema
* data-object="true"
* urn="symbol"
of course you'll have to grab the xdoclet-module-jboss-net.jar (from the jboss.net/output/lib directory after you've built jboss from source) and place it where ever the rest of your xdoclet jar files are. your ejb-doclet task looks set up o.k. to make it all work
-jason