[JAX-WS] Unable to generate code from JAX-WS annotations [message #570091] |
Thu, 19 March 2009 23:56 |
Derek Palma Messages: 141 Registered: July 2009 |
Senior Member |
|
|
Hi,
I have an existing eclipse project with a Spring nature that I want to use
with WTP JAX-WS in order to generate code for the JAX-WS annotations. I was
originally using JAX-WS from the STP project but wanted to switch to WTP. I
run my web services with Spring's
org.springframework.remoting.jaxws.SimpleJaxWsServiceExporte r, not in a web
container. My expectation is that if I edit a Java file with JAX-WS
annotations the corresponding Java should be generated when it is rebuilt. I
think I need to understand when and how they are built to solve this
problem.
Here is now I configured JAX-WS (I have not run into any specific
documentation for this other than the Fuse videos):
1) set CXF runtime tab to dir with apache-cxf-2.1.4
2) in Spring Config tab select "Use Spring Application Context" (I am not
sure what the purpose of the panel is???)
3) in <project> -> Properties -> Java Compiler -> Annotations I enabled
annotation processing by checking the box (no other changes)
I was notified with a dialog that the project needed to be rebuilt (and I
would expect it to detect the annotations in my source at this time). I see
and empty <project>/.apt_generated directory created but no .class files for
the JAX-WS annotated Java.
Any help appreciated.Thanks!
Derek
|
|
|
Powered by
FUDForum. Page generated in 0.01343 seconds