I do not have a similar problem.  What XML parser are you using (name and version)?

Scott Nichol

Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
----- Original Message ----- 
From: "OR623" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 08, 2003 7:36 AM
Subject: XMLParserUtils - Problem in nightly build


Hi!

I downloaded the latest nightly build ( post 2_3_1 ) SOAP. I am using it
with UDDI4J to connect to an registry. When I tried to connect to uddi, I
got the following exception: TransportException: ParsingError: response was:
File "<?xml ..>" not found.

I found out, the problem lies in org.apache.soap.util.xml.XMLParserUtils. 
I changed the following method:

 public static Document parse(String xmlText)
                               throws IOException, SAXException {
    // Change Begin
    java.io.StringReader r = new java.io.StringReader(xmlText);
    InputSource input = new InputSource();
    input.setCharacterStream(r);
    // Change End
    return parse(input, true);
    
   // original
    //return parse(new InputSource(xmlText), true);
  }

Now it works for me. 

Just wanted to post this, in case somebody else got the same problem.


Mit freundlichen Grüßen
Kathleen Kühmel

www.vbl.de


Reply via email to