apache cxf is my next stop… its a simple way to create webservices… and the tutorial is really hard… ok perhaps only for a for-a-long-time-no-java-developing developer, as i am… the main problem was, that the tutorial is based on your favorite ide… which in my case is eclipse, but without a little bit of help, my favorite ide is really confusing… but with a little help of other (unlinked) tutorials, a little bit of basic understanding of the (and some) concepts and a little bit luck i made it 🙂 ok not sure, but i see an autogenerated wsdl, which actually locks correct 🙂
so what did i do… setting up:
- downloaded apach cxf and added it to PATH (not sure if needed)
- in eclipse Windows–>Preferences–>Web Services–> CXF 2.x Preferences set the downloaded cxf folder
- intsalled a tomcat… its a lie, because it was installed before, but wth
- in eclipse Windows–>Preferences–>Server–>Runtime Environment added the tomact… lie again, was set already…
and now… project:
- New–>Dynamic Web Project (Name = CXFTest)
- Configured it with Target Runtime = Apache Tomcat and Configuration = CXF
- Then created all the files, based on the tutorial
- To Run: Right – clicked the web.xml and Run As–> Run on Server
- Access the WSDL: http://localhost:8080/CXFTest/HelloWorld?WSDL
- tada!
i acutally had really big problems to find the wsdl at first, but now its kinda logic 🙂