xmlLoad results in "No class def found" error

Hi,

I have the following slice of code in which I am trying to load a document into the DB:

public DataView( String xmlFile )
{
if ( xmlFile == null ) {
System.err.println(“No XML file specified”);
System.exit(1);
}

// Put doc in DB
try {
TaminoClient tc = new TaminoClient(“http://127.0.0.1/tamino/mydb”);

TaminoResult tr = tc.xmlLoad(xmlFile);

document = tr.getDocument();
} catch (Exception e) {
e.printStackTrace();
System.exit(1);
}
}

The call to xmlLoad results in the following error:

TaminoError[8499] No Class definition found

It doesn’t point out which class couldn’t be found. Any ideas?

Thanks,

Quinn Howard

Hi

You could try:


// Put doc in DB
try{

}
catch(TaminoError te)
{
System.err.print(te.responseCode +""+te.errorText);

}
catch(Exception e)
{

}

Best regards
Leszek