Posted: Mon Aug 22, 2005 1:40 am Post subject: [SOLVED] java.net.MalformedURLException in UPES
Centurion
Joined: 11 Aug 2005 Posts: 113
I am trying to parse the XML message recieved inmy UPES, the folloing are the steps i did
Get the message into TextMessage
did saxParser.parse(txtMsg.getText());
i get the following exception
Code:
java.net.MalformedURLException: no protocol: <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- This document is generated by a MQSeries Workflow Version 3.6.0 server -->
at java.net.URL.<init>(URL.java(Compiled Code))
at java.net.URL.<init>(URL.java(Compiled Code))
at java.net.URL.<init>(URL.java:450)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at com.ibm.specs.wf.UPESBaseSAX.decodeMessage(UPESBaseSAX.java:154)
Any idea why this is happening _________________ Srisudhir Tadepalli
Last edited by tsrisudh on Tue Aug 23, 2005 4:50 am; edited 1 time in total
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum