Return-Path: Mailing-List: contact soap-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list soap-dev@xml.apache.org Delivered-To: moderator for soap-dev@xml.apache.org Received: (qmail 63843 invoked from network); 13 Dec 2001 22:57:48 -0000 Received: from kodakr.kodak.com (192.232.119.69) by daedalus.apache.org with SMTP; 13 Dec 2001 22:57:48 -0000 Received: from knotes.kodak.com (knotes2.kodak.com [150.221.122.53]) by kodakr.kodak.com (8.11.1/8.11.1) with ESMTP id fBDMvru21936 for ; Thu, 13 Dec 2001 17:57:53 -0500 (EST) Subject: Apache SOAP 2.2 on WLS 6.1 SAXParsing error... To: "soap-dev@xml.apache.org" Cc: 487991N@knotes.kodak.com From: ilya.lipkind@kodak.com Date: Thu, 13 Dec 2001 14:57:49 -0800 Message-ID: X-MIMETrack: Serialize by Router on KNOTES2/ISBP/EKC(Release 5.0.8 |June 18, 2001) at 12/13/2001 05:57:52 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N From: Ilya V Lipkind Hello guys, I have installed Apache SOAP v2.2 toolkit on top of WLS 6.1 following the advise in http://xml.apache.org/soap/faq/faq-for-WL6.1beta.html So far, everything was working fine including examples, till I start to pass as SOAP method parameters, relatively big XML documents (85 KB). Smaller documents work fine. I'm getting follow exception : parsing error: org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed. Weblogic catch the exception and print follow message : I tried to pass XML document as org.w3c.dom.Element using Constants.NS_URI_LITERAL_XML encoding and as a String using Constants.NS_URI_SOAP_ENC encoding. In both cases bigger document failed, but smaller works fine. The failure huppen inside Apache SOAP toolkit during parsing SOAP message, before my code get called. TcpTunnelGui show valid SOAP request. All XML documents are well formatted and successfully parsed using Apache Xerces and JDOM parsers. Configuration : NT sp 6, WLS 6.1 sp1, SOAP Apache 2.2, Xerces 1.4.3 Also, I would appreciate any help in debugging SOAP toolkit. Additional log messages in RPCRouterServlet.java doesn't do any good, because WLS catch the exception. I'm planning to use SAXExceptionHandler for viewing the stack trace. Any ideas would be welcome. Ilya