Hi Lothar, If you wish gerenrate JAX-WS with CXF with Eclipse Tools, you can read my articles JAX-WS with Apache CXF and Eclipse<http://angelozerr.wordpress.com/about/jaxwscxf/> It's very basic, but it can help you for starting to use CXF with JAX-WS.
Regards Angelo Le 23 mars 2012 14:13, Lothar <[email protected]> a écrit : > Hi, > > I am new to the mailing list and have the following issue: > > I tried to create a java first web service using eclipse and it failed > while executing the steps in the wizard to create a web service from a java > bean. > Following the documentation at > http://help.eclipse.org/helios/index.jsp?topic=%2Forg.eclipse.jst.ws.cxf.doc.user%2Ftasks%2Fcreate_bottomup.html > resulted in that failure. > > I have installed the following stuff within my eclipse installation: > Axis2 Tools 1.1.0, CXF Web Services Core (Incubation) > 0.4.2, JAX-WS Tools Core (Incubation) 0.5.2. > > I have not yet installed any CXF runtime so it may be a cause for the > problem. > > The steps I like to do at all are as follows: > > Test a simple web service within CXF (using a simple java client), > creating and using a WCF 3.5 / 4.0 client, > configuring the STS to be used in conjunction with the test service and > client (including configuration of all components), > try the CORBA samples to see if I can interoperate from C++ applications > (possibly using TAO, or MICO), > automate as much as 'code generation steps' as possible to support it from > within my OSS project. > > My questions: > > Do I have to install the runtime to be able to create a web service > project with code first? > > Can I use the runtime within JBoss (I had read some blogs telling to use > tomcat - if, what version is minimally required)? > > Is my eclipse / java / OS installation in any way inconsistent? > > As I didn't found any generated wsdl after executing the wizard I assume > the wizard doesn't work in my environment. Is there a console based variant > to create > a full eclipse project instead using the wizard? > > I have seen some sample directories in the svn (via ViewVC), but not the > link to the svn it self. Where is that svn Repo? > > Is there a sample project I can start with available as a tgz archive > instead? > > Thank you, > > Lothar > > > > > The system is as follows: > > MacBook:Requirements lothar$ uname -a > Darwin MacBook.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 > 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386 > > MacBook:Requirements lothar$ mvn --version > Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100) > Maven home: /usr/share/maven > Java version: 1.6.0_26, vendor: Apple Inc. > Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home > Default locale: de_DE, platform encoding: MacRoman > OS name: "mac os x", version: "10.6.8", arch: "x86_64", family: "mac" > > Deployment to JBoss 5.1.0.GA was tried even I failed with the wizard. > > Eclipse system information (top): > > *** Date: Freitag, 23. März 2012 13:30:35 Deutschland > > *** Platform Details: > > *** System properties: > awt.nativeDoubleBuffering=true > awt.toolkit=apple.awt.CToolkit > eclipse.application=org.eclipse.ui.ide.workbench > eclipse.buildId=M20090917-0800 > eclipse.commands=-os > macosx > -ws > carbon > -arch > x86 > -showsplash > -launcher > /Applications/eclipse/Eclipse.app/Contents/MacOS/eclipse > -name > Eclipse > --launcher.library > > /Applications/eclipse/Eclipse.app/Contents/MacOS//../../../plugins/org.eclipse.equinox.launcher.carbon.macosx_1.0.200.v20090520-1835/eclipse_1206.so > -startup > > /Applications/eclipse/Eclipse.app/Contents/MacOS/../../../plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar > -product > org.eclipse.epp.package.jee.product > -keyring > /Users/lothar/.eclipse_keyring > -showlocation > -vm > /System/Library/Frameworks/JavaVM.framework > eclipse.home.location=file:/Applications/eclipse/ > eclipse.launcher=/Applications/eclipse/Eclipse.app/Contents/MacOS/eclipse > [email protected]/../p2/ > eclipse.p2.profile=epp.package.jee > eclipse.product=org.eclipse.epp.package.jee.product > eclipse.startTime=1332505794714 > eclipse.vm=/System/Library/Frameworks/JavaVM.framework > eclipse.vmargs=-Dosgi.requiredJavaVersion=1.5 > -XstartOnFirstThread > -Dorg.eclipse.swt.internal.carbon.smallFonts > -XX:MaxPermSize=256m > -Xms40m > -Xmx512m > -Xdock:icon=../Resources/Eclipse.icns > -XstartOnFirstThread > -Dorg.eclipse.swt.internal.carbon.smallFonts > > -Djava.class.path=/Applications/eclipse/Eclipse.app/Contents/MacOS/../../../plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar > file.encoding=MacRoman > file.encoding.pkg=sun.io > file.separator=/ > ftp.nonProxyHosts=local|*.local|169.254/16|*.169.254/16 > gopherProxySet=false > java.awt.graphicsenv=apple.awt.CGraphicsEnvironment > java.awt.printerjob=apple.awt.CPrinterJob > > java.class.path=/Applications/eclipse/Eclipse.app/Contents/MacOS/../../../plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar > java.class.version=50.0 > > java.endorsed.dirs=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/endorsed > > java.ext.dirs=/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext > java.home=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home > java.io.tmpdir=/var/folders/f4/f4PPfiAnETG05pg3A4Z1CE+++TM/-Tmp-/ > > java.library.path=.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java > java.runtime.name=Java(TM) SE Runtime Environment > java.runtime.version=1.6.0_26-b03-384-10M3425 > java.specification.name=Java Platform API Specification > java.specification.vendor=Sun Microsystems Inc. > java.specification.version=1.6 > java.vendor=Apple Inc. > java.vendor.url=http://www.apple.com/ > java.vendor.url.bug=http://bugreport.apple.com/ > java.version=1.6.0_26 > java.vm.info=mixed mode > java.vm.name=Java HotSpot(TM) Client VM > java.vm.specification.name=Java Virtual Machine Specification > java.vm.specification.vendor=Sun Microsystems Inc. > java.vm.specification.version=1.0 > java.vm.vendor=Apple Inc. > java.vm.version=20.1-b02-384 > line.separator= > > -- | Rapid Prototyping | XSLT Codegeneration | http://www.lollisoft.de > Lothar Behrens > Ginsterweg 4 > 65760 Eschborn > > > > > > > > > > > > >
