Return-Path: Delivered-To: apmail-incubator-cxf-dev-archive@locus.apache.org Received: (qmail 74249 invoked from network); 25 Jan 2008 09:06:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jan 2008 09:06:07 -0000 Received: (qmail 46104 invoked by uid 500); 25 Jan 2008 09:05:57 -0000 Delivered-To: apmail-incubator-cxf-dev-archive@incubator.apache.org Received: (qmail 46065 invoked by uid 500); 25 Jan 2008 09:05:57 -0000 Mailing-List: contact cxf-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-dev@incubator.apache.org Received: (qmail 46056 invoked by uid 99); 25 Jan 2008 09:05:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jan 2008 01:05:57 -0800 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 12.170.54.180 is neither permitted nor denied by domain of freeman.fang@gmail.com) Received: from [12.170.54.180] (HELO amer-mx1.iona.com) (12.170.54.180) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jan 2008 09:05:39 +0000 X-IronPort-AV: E=Sophos;i="4.25,249,1199682000"; d="scan'208";a="8943325" Received: from amer-ems1.ionaglobal.com ([10.65.6.25]) by amer-mx1.iona.com with ESMTP; 25 Jan 2008 04:05:31 -0500 Received: from [10.129.9.202] ([10.129.9.202]) by amer-ems1.IONAGLOBAL.COM with Microsoft SMTPSVC(6.0.3790.1830); Fri, 25 Jan 2008 04:05:30 -0500 Message-ID: <4799A5D9.30901@gmail.com> Date: Fri, 25 Jan 2008 17:03:21 +0800 From: Freeman Fang User-Agent: Thunderbird 1.5.0.2 (X11/20060524) MIME-Version: 1.0 To: cxf-dev@incubator.apache.org Subject: Re: Problems doing my first CXF Web Service References: <15082396.post@talk.nabble.com> <479995F0.9050701@gmail.com> <15083126.post@talk.nabble.com> In-Reply-To: <15083126.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 25 Jan 2008 09:05:30.0894 (UTC) FILETIME=[6F82D2E0:01C85F31] X-Virus-Checked: Checked by ClamAV on apache.org Hi, Same discussed on the mailling list before, please refer to [1] get more details [1]http://www.nabble.com/Eclipse-XSD-validation-for-jaxws.xsd-td11691580.html#a11692045 Best Regards Freeman pjmorce wrote: > Hello > > Thanks for your quick reply. Yes I did this step as you can see on the > attach file. http://www.nabble.com/file/p15083126/cxf.jpg cxf.jpg > > However, i did a search in my computer of the cxf-rt-frontend-jaxws.jar and > I couldn't find it. I have the following file: > cxf-rt-frontend-jaxws-2.0.3-incubator.jar (which is in my project > classpath). > > > > > Freeman Fang wrote: > >> looks like the cxf-rt-frontend-jaxws.jar is not in your project >> classpath, did you follow the instruction step by step especially the >> "Adding CXF runtime in Eclipse"? >> >> Best Regards >> >> Freeman >> >> pjmorce wrote: >> >>> Hello >>> >>> I am starting now using CXF. >>> I am trying to develope a webservice using CXF and Eclipse. To do so, I >>> used >>> the following guide: >>> >>> http://cwiki.apache.org/CXF20DOC/cxfeclipseplugininstructions.html >>> >>> Like the guide indicates, I made a project "WSDL First", like >>> recommended. >>> When I want to deploy the webservice I have a problem. When I right click >>> on >>> WSDL and select "Build Package", the process builds several files. >>> In these files, we can find the file "cxf-servlet.xml". My problem is >>> with >>> that file. The content of the file is the following: >>> >>> >>> >>> >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >>> xmlns:jaxws="http://cxf.apache.org/jaxws" >>> xmlns:soap="http://cxf.apache.org/bindings/soap" >>> xsi:schemaLocation=" >>> http://www.springframework.org/schema/beans >>> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd >>> http://cxf.apache.org/bindings/soap >>> http://cxf.apache.org/schemas/configuration/soap.xsd >>> http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd"> >>> >>> >>> >> id="InfodemWS_xml_bare" >>> implementor="localhost._8080.infodemws.InfodemWSImpl" >>> wsdlLocation="WEB-INF/wsdl/InfodemWS.wsdl" >>> address="/InfodemWS" > >>> >>> >>> >>> >>> >>> >>> The file has an error: >>> >>> "Multiple markers at this line. >>> >>> - cvc-complex-type.2.4.c: The matching wildcard is strict, but no >>> declaration can be found for element 'jaxws:endpoint' >>> - 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 coud not be read; 3) the root element of the >>> document is not " >>> >>> I tried to access "http://cxf.apache.org/jaxws >>> http://cxf.apache.org/schemas/jaxws.xsd" but the file is not found. >>> I am using: >>> - Eclipse 3.3.0 with the package >>> stp-all-in-one-incubation-R-R200710161054-200710161054.zip installed >>> - apache-cxf-2.0.3-incubator.zip >>> >>> Anyone knows how to solve the problem? >>> >>> thanks >>> >>> regards >>> >>> >> > >