Index of modules
Module job
Name: job
Title: Gestor de tasques programades
Namespace: http://job.matrix.org/
Service: JobManagerService
Port: JobManagerPort
Java package: org.matrix.job
Version: 1.0
Status: DRAFT
Authors: Abel Blanque
WSDL: job.wsdl
Imports:
prefix namespace
xs http://www.w3.org/2001/XMLSchema
mime http://www.w3.org/2005/05/xmlmime
mx http://base.matrix.org/
dic http://dic.matrix.org/

[Types] [Operations]

Types

Entity Job
Name: Job
QName: job:Job
Java class name: org.matrix.job.Job
Properties:
name xml type occurs nillable read only references
jobId xs:string 0..1 false false
name xs:string 0..1 false false
description xs:string 0..1 false false
startDateTime mx:dateTime 0..1 false false
endDateTime mx:dateTime 0..1 false false
jobType xs:string 0..1 false false
interval xs:int 0..1 false false
unitOfTime xs:string 0..1 false false
repetitions xs:int 0..1 false false
dayOfWeek xs:string 0..N false false
dayOfMonth xs:string 0..1 false false
audit xs:boolean 0..1 false false
locked xs:boolean 0..1 false false
property dic:Property 0..N true false
Related operations:
Struct JobFilter
Name: JobFilter
QName: job:JobFilter
Java class name: org.matrix.job.JobFilter
Properties:
name xml type occurs nillable read only references
jobId xs:string 0..N true false job:Job
fromDate mx:date 0..1 false false
toDate mx:date 0..1 false false
jobTypeId xs:string 0..1 false false dic:Type
firstResult xs:int 1 false false
maxResults xs:int 1 false false
property dic:Property 0..N true false
Related operations:
Entity JobFiring
Name: JobFiring
QName: job:JobFiring
Java class name: org.matrix.job.JobFiring
Properties:
name xml type occurs nillable read only references
jobFiringId xs:string 0..1 false false
jobId xs:string 0..1 false false
startDateTime xs:string 0..1 false false
endDateTime xs:string 0..1 false false
message xs:string 0..1 false false
logId xs:string 0..1 false false
logTitle xs:string 0..1 false false
responseType job:ResponseType 1 false false
logType job:LogType 1 false false
Related operations:
Enumeration ResponseType
Name: ResponseType
QName: job:ResponseType
Java class name: org.matrix.job.ResponseType
Values:
namedescription
SUCCESS
ERROR
Enumeration LogType
Name: LogType
QName: job:LogType
Java class name: org.matrix.job.LogType
Values:
namedescription
MULTIPLE
CONTINUOUS
LAST

Operations

Operation storeJob
Name: storeJob
Signature: storeJob (job {job:Job}) => storedJob {job:Job}
Java signature: org.matrix.job.Job storeJob(org.matrix.job.Job job)
Parameters:
name xml type occurs nillable read only references
job job:Job 1 false false
Response:
name xml type occurs nillable read only references
storedJob job:Job 1 false false
Sample input message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:storeJob xmlns:ns2="http://job.matrix.org/">
      <job>
        <jobId>{xs:string}</jobId>
        <name>{xs:string}</name>
        <description>{xs:string}</description>
        <startDateTime>{mx:dateTime}</startDateTime>
        <endDateTime>{mx:dateTime}</endDateTime>
        <jobType>{xs:string}</jobType>
        <interval>{xs:int}</interval>
        <unitOfTime>{xs:string}</unitOfTime>
        <repetitions>{xs:int}</repetitions>
        <dayOfWeek>{xs:string}</dayOfWeek>
        <dayOfMonth>{xs:string}</dayOfMonth>
        <audit>{xs:boolean}</audit>
        <locked>{xs:boolean}</locked>
        <property>
          <name>{xs:string}</name>
          <value>{xs:string}</value>
        </property>
      </job>
    </ns2:storeJob>
  </S:Body>
</S:Envelope>
Sample output message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:storeJobResponse xmlns:ns2="http://job.matrix.org/">
      <storedJob>
        <jobId>{xs:string}</jobId>
        <name>{xs:string}</name>
        <description>{xs:string}</description>
        <startDateTime>{mx:dateTime}</startDateTime>
        <endDateTime>{mx:dateTime}</endDateTime>
        <jobType>{xs:string}</jobType>
        <interval>{xs:int}</interval>
        <unitOfTime>{xs:string}</unitOfTime>
        <repetitions>{xs:int}</repetitions>
        <dayOfWeek>{xs:string}</dayOfWeek>
        <dayOfMonth>{xs:string}</dayOfMonth>
        <audit>{xs:boolean}</audit>
        <locked>{xs:boolean}</locked>
        <property>
          <name>{xs:string}</name>
          <value>{xs:string}</value>
        </property>
      </storedJob>
    </ns2:storeJobResponse>
  </S:Body>
</S:Envelope>
Operation loadJob
Name: loadJob
Signature: loadJob (jobId {xs:string}) => job {job:Job}
Java signature: org.matrix.job.Job loadJob(String jobId)
Parameters:
name xml type occurs nillable read only references
jobId xs:string 1 false false
Response:
name xml type occurs nillable read only references
job job:Job 1 false false
Sample input message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:loadJob xmlns:ns2="http://job.matrix.org/">
      <jobId>{xs:string}</jobId>
    </ns2:loadJob>
  </S:Body>
</S:Envelope>
Sample output message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:loadJobResponse xmlns:ns2="http://job.matrix.org/">
      <job>
        <jobId>{xs:string}</jobId>
        <name>{xs:string}</name>
        <description>{xs:string}</description>
        <startDateTime>{mx:dateTime}</startDateTime>
        <endDateTime>{mx:dateTime}</endDateTime>
        <jobType>{xs:string}</jobType>
        <interval>{xs:int}</interval>
        <unitOfTime>{xs:string}</unitOfTime>
        <repetitions>{xs:int}</repetitions>
        <dayOfWeek>{xs:string}</dayOfWeek>
        <dayOfMonth>{xs:string}</dayOfMonth>
        <audit>{xs:boolean}</audit>
        <locked>{xs:boolean}</locked>
        <property>
          <name>{xs:string}</name>
          <value>{xs:string}</value>
        </property>
      </job>
    </ns2:loadJobResponse>
  </S:Body>
</S:Envelope>
Operation removeJob
Name: removeJob
Signature: removeJob (jobId {xs:string}) => removed {xs:boolean}
Java signature: boolean removeJob(String jobId)
Parameters:
name xml type occurs nillable read only references
jobId xs:string 1 false false
Response:
name xml type occurs nillable read only references
removed xs:boolean 1 false false
Sample input message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:removeJob xmlns:ns2="http://job.matrix.org/">
      <jobId>{xs:string}</jobId>
    </ns2:removeJob>
  </S:Body>
</S:Envelope>
Sample output message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:removeJobResponse xmlns:ns2="http://job.matrix.org/">
      <removed>{xs:boolean}</removed>
    </ns2:removeJobResponse>
  </S:Body>
</S:Envelope>
Operation findJobs
Name: findJobs
Signature: findJobs (filter {job:JobFilter}) => jobs {job:Job}*
Java signature: List<org.matrix.job.Job> findJobs(org.matrix.job.JobFilter filter)
Parameters:
name xml type occurs nillable read only references
filter job:JobFilter 1 false false
Response:
name xml type occurs nillable read only references
jobs job:Job 0..N true false
Sample input message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:findJobs xmlns:ns2="http://job.matrix.org/">
      <filter>
        <jobId>{xs:string}</jobId>
        <fromDate>{mx:date}</fromDate>
        <toDate>{mx:date}</toDate>
        <jobTypeId>{xs:string}</jobTypeId>
        <firstResult>{xs:int}</firstResult>
        <maxResults>{xs:int}</maxResults>
        <property>
          <name>{xs:string}</name>
          <value>{xs:string}</value>
        </property>
      </filter>
    </ns2:findJobs>
  </S:Body>
</S:Envelope>
Sample output message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:findJobsResponse xmlns:ns2="http://job.matrix.org/">
      <jobs>
        <jobId>{xs:string}</jobId>
        <name>{xs:string}</name>
        <description>{xs:string}</description>
        <startDateTime>{mx:dateTime}</startDateTime>
        <endDateTime>{mx:dateTime}</endDateTime>
        <jobType>{xs:string}</jobType>
        <interval>{xs:int}</interval>
        <unitOfTime>{xs:string}</unitOfTime>
        <repetitions>{xs:int}</repetitions>
        <dayOfWeek>{xs:string}</dayOfWeek>
        <dayOfMonth>{xs:string}</dayOfMonth>
        <audit>{xs:boolean}</audit>
        <locked>{xs:boolean}</locked>
        <property>
          <name>{xs:string}</name>
          <value>{xs:string}</value>
        </property>
      </jobs>
    </ns2:findJobsResponse>
  </S:Body>
</S:Envelope>
Operation scheduleJob
Name: scheduleJob
Signature: scheduleJob (job {job:Job})
Java signature: void scheduleJob(org.matrix.job.Job job)
Parameters:
name xml type occurs nillable read only references
job job:Job 1 false false
Sample input message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:scheduleJob xmlns:ns2="http://job.matrix.org/">
      <job>
        <jobId>{xs:string}</jobId>
        <name>{xs:string}</name>
        <description>{xs:string}</description>
        <startDateTime>{mx:dateTime}</startDateTime>
        <endDateTime>{mx:dateTime}</endDateTime>
        <jobType>{xs:string}</jobType>
        <interval>{xs:int}</interval>
        <unitOfTime>{xs:string}</unitOfTime>
        <repetitions>{xs:int}</repetitions>
        <dayOfWeek>{xs:string}</dayOfWeek>
        <dayOfMonth>{xs:string}</dayOfMonth>
        <audit>{xs:boolean}</audit>
        <locked>{xs:boolean}</locked>
        <property>
          <name>{xs:string}</name>
          <value>{xs:string}</value>
        </property>
      </job>
    </ns2:scheduleJob>
  </S:Body>
</S:Envelope>
Sample output message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:scheduleJobResponse xmlns:ns2="http://job.matrix.org/">
    </ns2:scheduleJobResponse>
  </S:Body>
</S:Envelope>
Operation unscheduleJob
Name: unscheduleJob
Signature: unscheduleJob (jobId {xs:string})
Java signature: void unscheduleJob(String jobId)
Parameters:
name xml type occurs nillable read only references
jobId xs:string 1 false false
Sample input message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:unscheduleJob xmlns:ns2="http://job.matrix.org/">
      <jobId>{xs:string}</jobId>
    </ns2:unscheduleJob>
  </S:Body>
</S:Envelope>
Sample output message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:unscheduleJobResponse xmlns:ns2="http://job.matrix.org/">
    </ns2:unscheduleJobResponse>
  </S:Body>
</S:Envelope>
Operation executeJob
Name: executeJob
Signature: executeJob (job {job:Job})
Java signature: void executeJob(org.matrix.job.Job job)
Parameters:
name xml type occurs nillable read only references
job job:Job 1 false false
Sample input message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:executeJob xmlns:ns2="http://job.matrix.org/">
      <job>
        <jobId>{xs:string}</jobId>
        <name>{xs:string}</name>
        <description>{xs:string}</description>
        <startDateTime>{mx:dateTime}</startDateTime>
        <endDateTime>{mx:dateTime}</endDateTime>
        <jobType>{xs:string}</jobType>
        <interval>{xs:int}</interval>
        <unitOfTime>{xs:string}</unitOfTime>
        <repetitions>{xs:int}</repetitions>
        <dayOfWeek>{xs:string}</dayOfWeek>
        <dayOfMonth>{xs:string}</dayOfMonth>
        <audit>{xs:boolean}</audit>
        <locked>{xs:boolean}</locked>
        <property>
          <name>{xs:string}</name>
          <value>{xs:string}</value>
        </property>
      </job>
    </ns2:executeJob>
  </S:Body>
</S:Envelope>
Sample output message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:executeJobResponse xmlns:ns2="http://job.matrix.org/">
    </ns2:executeJobResponse>
  </S:Body>
</S:Envelope>
Operation nextFiring
Name: nextFiring
Signature: nextFiring (jobId {xs:string}) => nextDate {xs:string}
Java signature: String nextFiring(String jobId)
Parameters:
name xml type occurs nillable read only references
jobId xs:string 1 false false
Response:
name xml type occurs nillable read only references
nextDate xs:string 1 false false
Sample input message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:nextFiring xmlns:ns2="http://job.matrix.org/">
      <jobId>{xs:string}</jobId>
    </ns2:nextFiring>
  </S:Body>
</S:Envelope>
Sample output message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:nextFiringResponse xmlns:ns2="http://job.matrix.org/">
      <nextDate>{xs:string}</nextDate>
    </ns2:nextFiringResponse>
  </S:Body>
</S:Envelope>
Operation findJobFirings
Name: findJobFirings
Signature: findJobFirings (jobId {xs:string}, fromDate {xs:string}, toDate {xs:string}) => jobFirings {job:JobFiring}*
Java signature: List<org.matrix.job.JobFiring> findJobFirings(String jobId, String fromDate, String toDate)
Parameters:
name xml type occurs nillable read only references
jobId xs:string 1 false false
fromDate xs:string 1 false false
toDate xs:string 1 false false
Response:
name xml type occurs nillable read only references
jobFirings job:JobFiring 0..N true false
Sample input message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:findJobFirings xmlns:ns2="http://job.matrix.org/">
      <jobId>{xs:string}</jobId>
      <fromDate>{xs:string}</fromDate>
      <toDate>{xs:string}</toDate>
    </ns2:findJobFirings>
  </S:Body>
</S:Envelope>
Sample output message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:findJobFiringsResponse xmlns:ns2="http://job.matrix.org/">
      <jobFirings>
        <jobFiringId>{xs:string}</jobFiringId>
        <jobId>{xs:string}</jobId>
        <startDateTime>{xs:string}</startDateTime>
        <endDateTime>{xs:string}</endDateTime>
        <message>{xs:string}</message>
        <logId>{xs:string}</logId>
        <logTitle>{xs:string}</logTitle>
        <responseType>{job:ResponseType}</responseType>
        <logType>{job:LogType}</logType>
      </jobFirings>
    </ns2:findJobFiringsResponse>
  </S:Body>
</S:Envelope>


Ajuntament de Sant Feliu de Llobregat (C) 2025