xml / java problem

hi im new to java and im trying to get this following code working

import org.apache.xmlrpc.XmlRpcClient;

import java.util.Vector;

public class CrudePing {

public static void main( String args[] ) throws Exception {

XmlRpcClient client = new XmlRpcClient( "http://test.xmlrpc.wordtracker.com/" );

Vector params = new Vector();

params.addElement( "guest" );

Object result = client.execute( "ping", params );

if ( result != null )

System.out.println( "Successfully pinged guest account." );

}

}

its meant to be a crude ping program which the website there is meant to reply with an answer but im currently getting this error...

import org.apache.xmlrpc.XmlRpcClient; import java.util.Vector; public class CrudePing { public static void main( String args[] ) throws Exception { XmlRpcClient client = new XmlRpcClient( "http://test.xmlrpc.wordtracker.com/" ); Vector params = new Vector(); params.addElement( "guest" ); Object result = client.execute( "ping", params ); if ( result != null ) System.out.println( "Successfully pinged guest account." ); } }

i have downloaded countless files to add to the apache server to get it working yet still no joy...

please help... thanks

Message was edited by:

jamiet

[1320 byte] By [jamieta] at [2007-11-27 3:29:28]
# 1
What error? I don't see any error messages in your post.
paulcwa at 2007-7-12 8:32:24 > top of Java-index,Java Essentials,New To Java...