简体   繁体   中英

JavaScript Limitations in Oracle BPEL

Hi Guys,

I am really confuse about the limitations of Rhino Javascript in Oracle SOA Suite/Oracle Serice Bus. the follow code is working fine in OSB:

var dataHoraInicio = new Date (process.dataHoraInicio);
var dataHoraFim = new Date (process.dataHoraFim); 
...

In my BPEL project the similar code (as follow) result in 'null values for variables dataHoraInicio and dataHoraFim..

var dataHoraInicio = new Date (process.InputVar.dataHoraInicio);      
var dataHoraFim = new Date (process.InputVar.dataHoraFim);    

process.businessFault = {     
 "detalhes" : dataHoraInicio.getTime()    
}; 

..... Bpel回应

I need to understand what is happen with the Oracel Javascript Engine....

Any one had tha similar experience?

Regards, Marcello

这是我的错误...实际上,有必要提供日期的完整状态[YYYY-MM-DDTHH:MM:SS.MSMZ]谢谢。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM