views:

88

answers:

0

I am just starting to use netbeans and web services and I want to implement a web service with netbeans and glassfish from an existing wsdl with standard netbeans short cuts.

The dto's are generated and placed in a a source directory in the web project (it must be a web project).

Is there a way I can change this generated source code directory? The problem is I want to then implement the web service in a different project and I don't want that project to depend on the web project. I think the web project should depend on the other projects rather than the other way around?

Am I asking too much of netbeans? do I have this amount of flexilibility? or should I just accept that my implementation project must depend on the web project?

The reason I want to do this is that I like to write tests that run outside the container. These tests exercise the web service and to run these tests I don't need the web project, I just need the dto's. I also like to keep my code independent of the mechanism being used to expose it to the outside world.