Return-Path: Delivered-To: apmail-incubator-cxf-user-archive@locus.apache.org Received: (qmail 45667 invoked from network); 26 Oct 2007 02:21:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Oct 2007 02:21:52 -0000 Received: (qmail 32689 invoked by uid 500); 26 Oct 2007 02:21:38 -0000 Delivered-To: apmail-incubator-cxf-user-archive@incubator.apache.org Received: (qmail 32648 invoked by uid 500); 26 Oct 2007 02:21:38 -0000 Mailing-List: contact cxf-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-user@incubator.apache.org Delivered-To: mailing list cxf-user@incubator.apache.org Received: (qmail 31790 invoked by uid 99); 26 Oct 2007 02:21:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Oct 2007 19:21:36 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of james.mao@iona.com designates 12.170.54.180 as permitted sender) Received: from [12.170.54.180] (HELO amer-mx1.iona.com) (12.170.54.180) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Oct 2007 02:21:40 +0000 X-IronPort-AV: E=Sophos;i="4.21,330,1188792000"; d="scan'208";a="6656856" Received: from amer-ems1.ionaglobal.com ([10.65.6.25]) by amer-mx1.iona.com with ESMTP; 25 Oct 2007 22:21:18 -0400 Received: from [10.129.9.181] ([10.129.9.181]) by amer-ems1.IONAGLOBAL.COM with Microsoft SMTPSVC(6.0.3790.1830); Thu, 25 Oct 2007 22:21:17 -0400 Message-ID: <47214F15.2090504@iona.com> Date: Fri, 26 Oct 2007 10:21:09 +0800 From: James Mao User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: cxf-user@incubator.apache.org Subject: Re: wsdl2java NPE for liberty-idff-wsdl-v1.1.wsdl References: <3500.10.0.0.1.1187430904.squirrel@intranet.linagora.com> <46C8FD5D.2020206@iona.com> <13397128.post@talk.nabble.com> <47200725.2070703@iona.com> <13415060.post@talk.nabble.com> <13415635.post@talk.nabble.com> In-Reply-To: <13415635.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 26 Oct 2007 02:21:18.0264 (UTC) FILETIME=[E439EB80:01C81776] X-Virus-Checked: Checked by ClamAV on apache.org We use the wsdl4j to parse the wsdl and schemas, the error message simply said that wsdl4j can not parse the schema, the reason it can not parse the schema is that it can not get it. I found that the "extension-types.xsd" is using a relative path, the location is relative to the document http://localhost/xsd/get-csta-features.xsd That could be the reason, I've to check the code, and will file an issue. Regards, James > Hi, > > What does the following error mean? Both get-csta-features.xsd and > extension-types.xsd are deployed in the same web site in my local computer, > they are accessible from browser. > > thanks > > > [java] Caused by: javax.wsdl.WSDLException: WSDLException(at > /definitions/types/xs:schema/xsd:schema/xsd:schma): faultCode=OTHER_ERROR: > Unable to locate with locator the schema referenced at 'extension-types.xsd' > relative to document 'http://localhost/xsd/get-csta-features.xsd' > [java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown > Source) > [java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown > Source) > [java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown > Source) > [java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown > Source) > [java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseTypes(Unknown > Source) > [java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown > Source) > [java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) > [java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) > [java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) > [java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) > [java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) > [java] at > org.apache.cxf.wsdl11.WSDLDefinitionBuilder.parseWSDL(WSDLDefinitionBuilder.java:125) > [java] ... 8 more >