[英]Recurring Schedule in Oracle Fusion BI Publisher Reports via SOAP
我正在尝试使用 Oracle BI Publisher 的 xmlpserver/services/v2/ScheduleService 来安排重复作业。 不幸的是,没有示例,也没有尝试错误方法的运气,我无法以重复的方式安排报告,但是我设法执行一次。 我想了解你在recurrenceExpression 、 recurrenceExpressionType 、 repeatCount 、 repeatInterval 、 startDate中放入了什么以使其工作。 我正在寻找每天凌晨执行的任务。 这是 XML:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v2="http://xmlns.oracle.com/oxp/service/v2">
<soapenv:Header/>
<soapenv:Body>
<v2:scheduleReport>
<v2:scheduleRequest>
<v2:deliveryChannels>
<v2:ftpOptions>
<v2:item>
<v2:ftpServerName>?</v2:ftpServerName>
<v2:remoteFile>?</v2:remoteFile>
<v2:sftpOption>?</v2:sftpOption>
</v2:item>
</v2:ftpOptions>
</v2:deliveryChannels>
<v2:jobLocale>en_US</v2:jobLocale>
<v2:jobTZ>Etc/UTC</v2:jobTZ>
<v2:mergeOutputOption>false</v2:mergeOutputOption>
<v2:notificationTo>?</v2:notificationTo>
<v2:notifyWhenFailed>true</v2:notifyWhenFailed>
<v2:notifyWhenSkipped>true</v2:notifyWhenSkipped>
<v2:notifyWhenWarning>true</v2:notifyWhenWarning>
<v2:recurrenceExpression>?</v2:recurrenceExpression>
<v2:recurrenceExpressionType>cron</v2:recurrenceExpressionType>
<v2:repeatCount>1</v2:repeatCount>
<v2:repeatInterval>86400</v2:repeatInterval>
<v2:reportRequest>
<v2:attributeCalendar>Gregorian</v2:attributeCalendar>
<v2:attributeFormat>Text</v2:attributeFormat>
<v2:attributeLocale>fr</v2:attributeLocale>
<v2:reportAbsolutePath>?</v2:reportAbsolutePath>
<v2:sizeOfDataChunkDownload>-1</v2:sizeOfDataChunkDownload>
</v2:reportRequest>
<v2:saveDataOption>true</v2:saveDataOption>
<v2:saveOutputOption>true</v2:saveOutputOption>
<!--Optional:-->
<v2:startDate>2022-09-23T19:07:00Z</v2:startDate>
<v2:userJobName>test_REPORT</v2:userJobName>
</v2:scheduleRequest>
<v2:userID>?</v2:userID>
<v2:password>?</v2:password>
</v2:scheduleReport>
</soapenv:Body>
</soapenv:Envelope>
示例中的许多字段为空白以保护敏感数据。 这是文档的链接: https://docs.oracle.com/cd/E28280_01/bi.1111/e22259/scheduleservice.htm#BIPDV323
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.