// VALUES (?, ?, ?, ?, ?, ?)
//if CWSDL is alredy there, delete it
removeResource(resourceID, DELETE_CWSDL_SQL, new String[]{wsdlQname.toString()});
//Add CWSDL
return registerResource(user, resourceID, ADD_CWSDL_SQL, new SqlParam[] {
new SqlParam(resourceID), new SqlParam(wsdlQname.toString()),
new SqlParam(wsdlAsStr),
new SqlParam(String.valueOf(System.currentTimeMillis()), SqlParmType.Long),
new SqlParam(String.valueOf(lifetimeAsSeconds*1000), SqlParmType.Int),
new SqlParam(portTypeName.toString()) });
} else {
throw new XregistryException(
"WSDL must be a concreate WSDL, it must have service defined");
}
} catch (WSDLException e) {