I was using xerces 1.4.4 .

No I am using xerces 2.6.0 . I tested to redo my changes and use the
originial code, but again I got an Exception: IOException: no protocol:
<?xml... .
If I use the changed code, everything works fine and I am able to find
registered WebService in the IBM UDDI V2.

Kathleen

-----Ursprüngliche Nachricht-----
Von: Scott Nichol [mailto:[EMAIL PROTECTED]
Gesendet am: Freitag, 12. Dezember 2003 00:04
An: [EMAIL PROTECTED]
Betreff: Re: XMLParserUtils - Problem in nightly build

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