Hello everyone. I'm a new to CXF, and would really need some help to get started using cxf. Tried to follow the guide on WSDL-first at the website http://cwiki.apache.org/CXF20DOC/cxfeclipseplugininstructions.html with the WSDL shown further down in this email, but this does not work for me.
Im using Tomcat 6.0.16, Eclipse 3.3.2 and CXF 2.0.4. The java is being generated from the WSDL when i chose to start a new WSDL-first project. I got a few problems, going to try to describe some of them. when right-clicking the WSDL in project explorer, choosing "build package", then right-click and chose "deploy", the generated cxf-servlet.xml (posted below) has errors: "schema_reference.4: Failed to read schema document ' http://cxf.apache.org/schemas/jaxws.xsd'. because 1) could not find the document; 2) the document could not be read 3) the root element of the document is not <xsd:schema>." The service then shows up as it should in tomcat, but hen i try to access it it only says 404. The generated code are able to function when i launch it as a java application in eclipse. I really cant find the problem, and is hoping that someone could help me out. WSDL-file used: http://pastebin.com/f569404ff Generated cxf-servlet.xml: http://pastebin.com/f2525c5bf Eclipse output when deploying in tomcat: http://pastebin.com/fa646942 web.xml: http://pastebin.com/f2dc72abc Generated Java from WSDL: HelloPortType_HelloPort_Client.java -> http://pastebin.com/f2f5c1e43 HelloPortType_HelloPort_Server.java -> http://pastebin.com/f1c69298a HelloPortType.java -> http://pastebin.com/f67716220 HelloPortTypeImpl.java -> http://pastebin.com/f35ccfb16 HelloService.java -> http://pastebin.com/f25f93cb
