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:
<xs:documentation>
"Relates EquipmentHolders to “child” holders, allowing
formation
of an EquipmentHolder tree (e.g., a Shelf that contains Slots)."
</xs:documentation>
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:[EMAIL PROTECTED]
Sent: Tuesday, October 30, 2007 2:30 PM
To: [email protected]
Subject: Re: wsdlmerge error
Hi Vinh,
I assume that you know that "Invalid byte 1 of 1-byte UTF-8 sequence"
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
> trying to use wsdlmerge first on my wsdl, and then run wsdl2java on
> 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]
> :2071:46: Invalid byte 1 of 1-byte UTF-8 sequence.
>
> SEVERE: [ID = 'FailedLoadingWSDL'] Got exception loading WSDL: [ID =
> 'CreateDocFailed'] The XML docu ment 'AAAtest.wsdl' could not be
> loaded. The original error was:
> Invalid
> byte 1 of 1-byte UTF-8 sequ
> ence..
>
> An exception was caught: [ID = 'FailedLoadingWSDL'] Got exception
> loading WSDL: [ID = 'CreateDocFail ed'] The XML document
> 'AAAtest.wsdl' could not be loaded. The original error was: Invalid
> 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: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]