On Monday 01 December 2008 4:35:05 pm castlec wrote: > dkulp wrote: > > The JAXWS tooling (wsdl2java) does have a "plugin" thing that can provide > > default values for various return things and params. If you run: > > > > wsdl2java -all -defaultValues my.wsdl > > Thanks for the info. I tried it out and the only evidence I have seen of > its action is in the client main that is generated. What I want to create > is a default server response rather than a default request. I am trying to > create a way to mock a service from a wsdl as quickly as possible. Have I > missed something? If not, do you know what part of the gen process I can > alter to make this happen?
Depending on the flags you use, it may have generated an "Impl" for the service as well that would also use the defaultValues thing. For example, if you use "-all" with a hello_world wsdl, there should be a GreeterImpl.java generated as well. I think there is an "-impl" flag for just the impl. Not sure though. -- Daniel Kulp [EMAIL PROTECTED] http://dankulp.com/blog
