ws-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sreenath Nampally <sreen...@tigr.ORG>
Subject XMLReader Error!
Date Wed, 23 Aug 2006 20:42:34 GMT
java.lang.AbstractMethodError: 
javax.xml.parsers.SAXParser.getXMLReader()Lorg/xml/sax/XMLReader;
at org.apache.xmlrpc.util.SAXParsers.newXMLReader(SAXParsers.java:25)
at 
org.apache.xmlrpc.client.XmlRpcStreamTransport.newXMLReader(XmlRpcStreamTransport.java:162)
at 
org.apache.xmlrpc.client.XmlRpcStreamTransport.readResponse(XmlRpcStreamTransport.java:167)
at 
org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:149)
at 
org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTransport.java:95)
at 
org.apache.xmlrpc.client.XmlRpcCommonsTransport.sendRequest(XmlRpcCommonsTransport.java:70)
at 
org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:53)
at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:166)
at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:157)
at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:146)
at org.tigr.htc.request.RequestMonitor.submit(RequestMonitor.java:419)

The lline where it fails in my code is (Line 419 in RequestMonitor.java, 
from above)

String idStr = (String) client.execute("HTCServer.createCmdID", params);

/////////////////////////////////////////////////////////////////////////////////////////////
CLIENT

// Create a server URL
URL serverUrl = new URL(p_uri);
// Create a new xmlrpcclient config
xmlRpcClinetconfig = new XmlRpcClientConfigImpl();
xmlRpcClinetconfig.setServerURL(serverUrl);
xmlRpcClinetconfig.setEnabledForExtensions(true);
//xmlRpcClinetconfig.setConnectionTimeout(60 * 1000);
//xmlRpcClinetconfig.setReplyTimeout(60 * 1000);

// Create XMLrpcClient
client = new XmlRpcClient();
client.setConfig(xmlRpcClinetconfig);

// use Commons HttpClient as transport
client.setTransportFactory(new XmlRpcCommonsTransportFactory(client));
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Similar exception is thrown when I don't set any transpost factory to 
the client.

Any ideas ??

Thanks
Sree







---------------------------------------------------------------------
To unsubscribe, e-mail: xmlrpc-user-unsubscribe@ws.apache.org
For additional commands, e-mail: xmlrpc-user-help@ws.apache.org


Mime
View raw message