Re: [soapbuilders] Error in Axis
Most probably you have whitespace before:
<?xml version="1.0" encoding="UTF-8"?>
Just like one SPACE character, TAB or NEW LINE :-)
--- nicetuong <nicetuong@...> wrote:
> Hi there,
> I am a newbie in Web service. I develope a
> message-based web service.
> This service uses an XML file as input.
> If the file XML is without <?xml version="1.0"
> encoding="UTF-8"?>, it
> works smoothly.
> However, the XML file was created by using DOM, it
> always has <?xml
> version="1.0" encoding="UTF-8"?>...
> Does anyone have the same error with me?
> The error message is like below:
> <faultstring>org.xml.sax.SAXParseException: The
> instruction target matching "[xX][mM][lL]" is not
> I searched on internet, there are some suggestion
> that I should
> remove a space before the tag <?xml>, but there was
> no spcace.
> Or Does anyone know how to create an XML file
> without tag <?xml
> version="1.0" encoding="UTF-8"?>, it just has
> XML-based hierarchical
> data like:
> <item>...AAA </item>
> Thank you in advance,
> It's urgent, plz help me.
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around