You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ax...@ws.apache.org on 2004/10/14 22:13:51 UTC

[jira] Commented: (AXIS-1593) Error when called an message-based web serivce

The following comment has been added to this issue:

     Author: Davanum Srinivas
    Created: Thu, 14 Oct 2004 1:11 PM
       Body:
Need more info to recreate the problem.

-- dims
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AXIS-1593?page=comments#action_54086

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-1593

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1593
    Summary: Error when called an message-based web serivce
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Axis
 Components: 
             Basic Architecture
   Versions:
             1.1

   Assignee: 
   Reporter: Nguyen Manh Tuong

    Created: Wed, 6 Oct 2004 11:59 PM
    Updated: Thu, 14 Oct 2004 1:11 PM
Environment: Windows 2K,
JDK 1.4

Description:
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:
<ns1:Fault xmlns:ns1="http://schemas.xmlsoap.org/soap/envelope/">
<faultcode>soapenv:Server.userException</faultcode>
<faultstring>org.xml.sax.SAXParseException: The processing
instruction target matching "[xX][mM][lL]" is not
allowed.</faultstring>
<detail/>
</ns1:Fault>


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:
<data>
<item>...AAA </item>
.....................
</data>

Thank you in advance,
It's urgent, plz help me.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira