Return-Path: Delivered-To: apmail-ws-muse-user-archive@www.apache.org Received: (qmail 11514 invoked from network); 2 Nov 2007 19:15:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Nov 2007 19:15:57 -0000 Received: (qmail 46976 invoked by uid 500); 2 Nov 2007 19:15:44 -0000 Delivered-To: apmail-ws-muse-user-archive@ws.apache.org Received: (qmail 46961 invoked by uid 500); 2 Nov 2007 19:15:44 -0000 Mailing-List: contact muse-user-help@ws.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: muse-user@ws.apache.org Delivered-To: mailing list muse-user@ws.apache.org Received: (qmail 46950 invoked by uid 99); 2 Nov 2007 19:15:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2007 12:15:44 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of vinguye2@cisco.com designates 171.71.176.72 as permitted sender) Received: from [171.71.176.72] (HELO sj-iport-3.cisco.com) (171.71.176.72) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2007 19:16:05 +0000 X-IronPort-AV: E=Sophos;i="4.21,363,1188802800"; d="scan'208";a="542687493" Received: from sj-dkim-2.cisco.com ([171.71.179.186]) by sj-iport-3.cisco.com with ESMTP; 02 Nov 2007 12:15:23 -0700 Received: from sj-core-2.cisco.com (sj-core-2.cisco.com [171.71.177.254]) by sj-dkim-2.cisco.com (8.12.11/8.12.11) with ESMTP id lA2JFNJ1025326 for ; Fri, 2 Nov 2007 12:15:23 -0700 Received: from xbh-sjc-231.amer.cisco.com (xbh-sjc-231.cisco.com [128.107.191.100]) by sj-core-2.cisco.com (8.12.10/8.12.6) with ESMTP id lA2JFAZe009664 for ; Fri, 2 Nov 2007 19:15:22 GMT Received: from xmb-sjc-22c.amer.cisco.com ([128.107.191.47]) by xbh-sjc-231.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 2 Nov 2007 12:15:19 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: wsdlmerge error Date: Fri, 2 Nov 2007 12:15:18 -0700 Message-ID: In-Reply-To: <931E226E-8297-4B12-91DC-5F80933B5559@cs.uni-bonn.de> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: wsdlmerge error Thread-Index: AcgbPAw96sMogev0TGuWBK1KVHLejwCR2q5w From: "Vinh Nguyen (vinguye2)" To: X-OriginalArrivalTime: 02 Nov 2007 19:15:19.0062 (UTC) FILETIME=[B50F3360:01C81D84] DKIM-Signature: v=0.5; a=rsa-sha256; q=dns/txt; l=2620; t=1194030923; x=1194894923; c=relaxed/simple; s=sjdkim2002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=vinguye2@cisco.com; z=From:=20=22Vinh=20Nguyen=20(vinguye2)=22=20 |Subject:=20RE=3A=20wsdlmerge=20error |Sender:=20; bh=9x0lZiXul07Yyic+CVBuXTDQX8alvpe/B9vuYqyp0vs=; b=erwqWzPEtVfL385UdPxpxshWx7SrMrUSucfdgS7S//w27c7Ap9qa6RSiu9jDO4vRlb6qjJMa w3zhZWal/FqZNCne2jwCZhK2rgXGu4eWtTX+fUHSWw+lsboXQ5DZMCMf; Authentication-Results: sj-dkim-2; header.From=vinguye2@cisco.com; dkim=pass ( sig from cisco.com/sjdkim2002 verified; ); X-Virus-Checked: Checked by ClamAV on apache.org Hi Alex, All my wsdl/xsds are in UTF-8. I reviewed my files with the one generated by wsdlmerge, and it looks like there is a problem with wsdlmerge itself. For example, I have the following partial schema: "Relates EquipmentHolders to “child” holders, allowing formation of an EquipmentHolder tree (e.g., a Shelf that contains Slots)." When wsdlmerge generates the output file, it converts the expanded values like " and “ to the actual characters, making the output file no longer UTF-8. So then wsdl2java throws an error when processing the new file. Perhaps I should log a bug for this? -Vinh -----Original Message----- From: Alexander Willner [mailto:willner@cs.uni-bonn.de]=20 Sent: Tuesday, October 30, 2007 2:30 PM To: muse-user@ws.apache.org Subject: Re: wsdlmerge error Hi Vinh, I assume that you know that "Invalid byte 1 of 1-byte UTF-8 sequence" =20 means that you've a invalid character in your file. But anyway: it's not a valid UTF-8 coded(!) file with some non ASCII characters like german umlauts. Double check the file and save it as UTF-8 text. Regards, Alex Am 30.10.2007 um 17:03 schrieb Vinh Nguyen (vinguye2): > Hi, > To getaround the NotDocLiteral error thrown from wsdl2java, I am=20 > trying to use wsdlmerge first on my wsdl, and then run wsdl2java on=20 > the new file. But I'm encountering the following error. The new file > looks fine to me though. Any idea how to get around this error? > > > C:\muse-2.2.0-bin\bin\wsdl2java.bat -wsdl AAAtest.wsdl [Fatal Error]=20 > :2071:46: Invalid byte 1 of 1-byte UTF-8 sequence. > > SEVERE: [ID =3D 'FailedLoadingWSDL'] Got exception loading WSDL: [ID = =3D=20 > 'CreateDocFailed'] The XML docu ment 'AAAtest.wsdl' could not be=20 > loaded. The original error was: > Invalid > byte 1 of 1-byte UTF-8 sequ > ence.. > > An exception was caught: [ID =3D 'FailedLoadingWSDL'] Got exception=20 > loading WSDL: [ID =3D 'CreateDocFail ed'] The XML document=20 > 'AAAtest.wsdl' could not be loaded. The original error was: Invalid=20 > byte 1 of 1-byte UTF-8 sequence.. > -- Alexander Willner University of Bonn, Institute of Computer Science IV Roemerstr. 164, 53117 Bonn, Germany Tel: +49 228 734548, Fax: +49 228 734571 http://cs.bonn.edu/IV/willner/ IM: willner@jabber.org --------------------------------------------------------------------- To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org For additional commands, e-mail: muse-user-help@ws.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org For additional commands, e-mail: muse-user-help@ws.apache.org