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

