axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 13135] New: - saxparse error in deserialzing mime file to soap message while getting envelope
Date Mon, 30 Sep 2002 12:41:12 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13135>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13135

saxparse error in deserialzing mime file to soap message while getting envelope

           Summary: saxparse error in deserialzing mime file to soap message
                    while getting envelope
           Product: Axis
           Version: current (nightly)
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Serialization/Deserialization
        AssignedTo: axis-dev@xml.apache.org
        ReportedBy: tony.nys@aditel.be


I've used the java testclass in CVS 'TestAttachmentSerialization'
I've added these 2 lines in the 'loadMsgWithAttachments' method:
SOAPPart sp = msg.getSOAPPart();
SOAPEnvelope envelope = sp.getEnvelope();


Apparently I can read the attachments in the SOAPMessage, but I cannot
get the soapenvelope !!

this is the error:
javax.xml.soap.SOAPException: org.xml.sax.SAXParseException: 
org.apache.crimson.parser/P-067
        at org.apache.axis.SOAPPart.getEnvelope(SOAPPart.java:770)
        at TestAttachmentSerialization.loadMsgWithAttachments
(C:/cafe/Projects/Soap_apache_axis/TestAttachment
Serialization.java:104)
        at TestAttachmentSerialization.testAttachments
(C:/cafe/Projects/Soap_apache_axis/TestAttachmentSeriali
zation.java:43)
        at TestAttachmentSerialization.main
(C:/cafe/Projects/Soap_apache_axis/TestAttachmentSerialization.java
:31)
Fault returned from test: javax.xml.soap.SOAPException: 
org.xml.sax.SAXParseException: org.apache.crimson.pars
er/P-067
java.lang.Exception: Fault returned from test: javax.xml.soap.SOAPException: 
org.xml.sax.SAXParseException: or
g.apache.crimson.parser/P-067
        at TestAttachmentSerialization.testAttachments
(C:/cafe/Projects/Soap_apache_axis/TestAttachmentSeriali
zation.java:47)
        at TestAttachmentSerialization.main
(C:/cafe/Projects/Soap_apache_axis/TestAttachmentSerialization.java
:31)

Mime
View raw message