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