Problème webservice - import de notices

  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:506a4309b5a319097dcf15e08a5e9f09' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\">Bonjour,</p>\n<p>J\'ai repris le code proposé par François Lefebvre pour l\'import de document dans ORI-OAI<br />\nQuand j\'exécute le code suivant je récupère systématiquement cette erreur au niveau du workflow :<br />\n49519934 ERROR handler.DefaultFaultHandler invoke[35] - Fault occurred!<br />\njava.lang.NullPointerException</p>\n<p>Nous sommes en ori-workflow-1.6.1 .</p>\n<p>Merci d\'avance pour toute aide !</p>\n<p><?php</p>\n<p>$wsdl = \'http://depot-archives.univ-lorraine.fr/xfire/OriWorkflowService?wsdl\';<br />\n$namespace = \'default_dc_very_easy\'; <i></i> sur quel namespace envoyer les fiches ?<br />\n$proprietaire = \'ledreze\'; <i></i> a qui appartient les fiches envoyées ?<br />\n$ficheImport=\'<?xml version=\"1.0\" encoding=\"UTF-8\"?><oaidc:dc xmlns:oaidc=\"http://www.openarchives.org/OAI/2.0/oai_dc/\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\"><dc:title>Lectura Nicolai Tedeschi .... Tome III</dc:title></oaidc:dc>\';</p>\n<p>$options = array(<br />\n \'compression\'=>true,<br />\n \'exceptions\'=>false,<br />\n \'trace\'=>true );</p>\n<p>$soap = new SoapClient($wsdl, $options);</p>\n<p>$idFiche = $soap->newWorkflowInstance(array( \'in0\' => $ficheImport, \'in1\' => $namespace, \'in2\' => $proprietaire ));</p>\n<p>?></p>\n<p>Alain Le Drezen</p>\n<p>Direction du Numérique<br />\nUniversité de Lorraine</p>\n<p>Ile du Saulcy<br />\n57045 Metz Cedex 01<br />\nTél : 06 07 03 12 96</p>\n</div>\n', created = 1507750907, expire = 1507837307, headers = '', serialized = 0 WHERE cid = '4:506a4309b5a319097dcf15e08a5e9f09' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
1 message / 0 nouveaux
Dernière contribution
alainledrezen
Problème webservice - import de notices
Bonjour,

J'ai repris le code proposé par François Lefebvre pour l'import de document dans ORI-OAI
Quand j'exécute le code suivant je récupère systématiquement cette erreur au niveau du workflow :
49519934 ERROR handler.DefaultFaultHandler invoke[35] - Fault occurred!
java.lang.NullPointerException

Nous sommes en ori-workflow-1.6.1 .

Merci d'avance pour toute aide !

$wsdl = 'http://depot-archives.univ-lorraine.fr/xfire/OriWorkflowService?wsdl';
$namespace = 'default_dc_very_easy'; sur quel namespace envoyer les fiches ?
$proprietaire = 'ledreze'; a qui appartient les fiches envoyées ?
$ficheImport='Lectura Nicolai Tedeschi .... Tome III';

$options = array(
'compression'=>true,
'exceptions'=>false,
'trace'=>true );

$soap = new SoapClient($wsdl, $options);

$idFiche = $soap->newWorkflowInstance(array( 'in0' => $ficheImport, 'in1' => $namespace, 'in2' => $proprietaire ));

?>

Alain Le Drezen

Direction du Numérique
Université de Lorraine

Ile du Saulcy
57045 Metz Cedex 01
Tél : 06 07 03 12 96