@Override
public void validate() throws StepValidationException {
- TPESFacture factureObj = null;
+ TPESFactureOld factureObj = null;
if(!getWizardProcess().getPjStep().getFactures().isEmpty()){
try {
JAXBContext jc = JAXBContext.newInstance(TPESFacture.class);
// TODO : VIRER le chemin en dur
// unmarshal from foo.xml
Unmarshaller u = jc.createUnmarshaller();
- factureObj = (TPESFactureOld)u.unmarshal( new File(getWizardProcess().getPjStep().getFactures().get(0).getUrlFile()) );
+ factureObj = (TPESFactureOld)u.unmarshal(new File(getWizardProcess().getPjStep().getFactures().get(0).getUrlFile()) );
} catch (Exception e){
logger.error("Probleme de unmarshaller",e);
throw new StepValidationException("Probleme de generation de PES Facture.");