sorry for the writing mistake. wanted to say I am NOW using xerces 2.6.0 . 

maybe the stacktrace helps to understand the problem:

java.net.MalformedURLException: no protocol: <?xml version="1.0"
encoding="UTF-8" ?><SOAP:Envelope> ... </SOAP:Envelope>
        at
org.apache.soap.util.xml.XMLParserUtils.parse(XMLParserUtils.java:406)
        at
org.apache.soap.util.xml.XMLParserUtils.parse(XMLParserUtils.java:298)
        at
org.apache.soap.messaging.Message.receiveEnvelope(Message.java:167)
        at
org.uddi4j.transport.ApacheSOAPTransport.send(ApacheSOAPTransport.java:92)
        at org.uddi4j.transport.TransportBase.send(TransportBase.java:54)
        at org.uddi4j.client.UDDIProxy.send(UDDIProxy.java:1788)
        at org.uddi4j.client.UDDIProxy.find_service(UDDIProxy.java:707)
        at
de.vbl.webservice.test.UDDISearcher.findService(UDDISearcher.java:214)
        at de.vbl.webservice.test.UDDISearcher.run(UDDISearcher.java:66)
        at de.vbl.webservice.test.UDDISearcher.main(UDDISearcher.java:41)

I have to use https over authenticating proxy.

kathleen

-----Ursprüngliche Nachricht-----
Von: OR623 
Gesendet am: Freitag, 12. Dezember 2003 10:43
An: '[EMAIL PROTECTED]'
Betreff: AW: XMLParserUtils - Problem in nightly build

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