Index of modules
Module elections
Name: elections
Title: Gestor d'eleccions
Namespace: http://elections.matrix.org/
Service: ElectionsManagerService
Port: ElectionsManagerPort
Java package: org.matrix.elections
Version: 1.1
Status: REVISION
Authors: Ricard Real
WSDL: elections.wsdl
Imports:
prefix namespace
xs http://www.w3.org/2001/XMLSchema
mime http://www.w3.org/2005/05/xmlmime
mx http://base.matrix.org/

[Types] [Operations]

Types

Entity Councillor
Name: Councillor
QName: elections:Councillor
Java class name: org.matrix.elections.Councillor
Properties:
name xml type occurs nillable read only references
partyId xs:string 0..1 false false
order xs:int 1 false false
name xs:string 0..1 false false
imageURL xs:string 0..1 false false
Related operations:
Entity PoliticalParty
Name: PoliticalParty
QName: elections:PoliticalParty
Java class name: org.matrix.elections.PoliticalParty
Properties:
name xml type occurs nillable read only references
partyId xs:string 0..1 false false
abbreviation xs:string 0..1 false false
description xs:string 0..1 false false
image xs:string 0..1 false false
color xs:string 0..1 false false
Related operations:
Entity Board
Name: Board
QName: elections:Board
Java class name: org.matrix.elections.Board
Properties:
name xml type occurs nillable read only references
districtId xs:string 0..1 false false
sectionId xs:string 0..1 false false
boardId xs:string 0..1 false false
electors xs:int 1 false false
totalVotes xs:int 1 false false
blankVotes xs:int 1 false false
nullVotes xs:int 1 false false
description xs:string 0..1 false false
Related operations:
Entity ElectionsResult
Name: ElectionsResult
QName: elections:ElectionsResult
Java class name: org.matrix.elections.ElectionsResult
Properties:
name xml type occurs nillable read only references
partyId xs:string 0..1 false false
districtId xs:string 0..1 false false
sectionId xs:string 0..1 false false
boardId xs:string 0..1 false false
votes xs:int 1 false false
Related operations:
Entity Call
Name: Call
QName: elections:Call
Java class name: org.matrix.elections.Call
Properties:
name xml type occurs nillable read only references
callId xs:string 0..1 false false
description xs:string 0..1 false false
date xs:dateTime 0..1 false false
councillorsCount xs:int 1 false false
Related operations:
Entity District
Name: District
QName: elections:District
Java class name: org.matrix.elections.District
Properties:
name xml type occurs nillable read only references
districtId xs:string 0..1 false false
description xs:string 0..1 false false
Related operations:

Operations

Operation listCouncillors
Name: listCouncillors
Signature: listCouncillors (date {xs:dateTime}, callId {xs:string}) => councillor {elections:Councillor}*
Java signature: List<org.matrix.elections.Councillor> listCouncillors(javax.xml.datatype.XMLGregorianCalendar date, String callId)
Parameters:
name xml type occurs nillable read only references
date xs:dateTime 1 false false
callId xs:string 1 false false
Response:
name xml type occurs nillable read only references
councillor elections:Councillor 0..N true false
Sample input message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:listCouncillors xmlns:ns2="http://elections.matrix.org/">
      <date>{xs:dateTime}</date>
      <callId>{xs:string}</callId>
    </ns2:listCouncillors>
  </S:Body>
</S:Envelope>
Sample output message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:listCouncillorsResponse xmlns:ns2="http://elections.matrix.org/">
      <councillor>
        <partyId>{xs:string}</partyId>
        <order>{xs:int}</order>
        <name>{xs:string}</name>
        <imageURL>{xs:string}</imageURL>
      </councillor>
    </ns2:listCouncillorsResponse>
  </S:Body>
</S:Envelope>
Operation listPoliticalParties
Name: listPoliticalParties
Signature: listPoliticalParties (date {xs:dateTime}, callId {xs:string}) => politicalParty {elections:PoliticalParty}*
Java signature: List<org.matrix.elections.PoliticalParty> listPoliticalParties(javax.xml.datatype.XMLGregorianCalendar date, String callId)
Parameters:
name xml type occurs nillable read only references
date xs:dateTime 1 false false
callId xs:string 1 false false
Response:
name xml type occurs nillable read only references
politicalParty elections:PoliticalParty 0..N true false
Sample input message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:listPoliticalParties xmlns:ns2="http://elections.matrix.org/">
      <date>{xs:dateTime}</date>
      <callId>{xs:string}</callId>
    </ns2:listPoliticalParties>
  </S:Body>
</S:Envelope>
Sample output message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:listPoliticalPartiesResponse xmlns:ns2="http://elections.matrix.org/">
      <politicalParty>
        <partyId>{xs:string}</partyId>
        <abbreviation>{xs:string}</abbreviation>
        <description>{xs:string}</description>
        <image>{xs:string}</image>
        <color>{xs:string}</color>
      </politicalParty>
    </ns2:listPoliticalPartiesResponse>
  </S:Body>
</S:Envelope>
Operation listBoards
Name: listBoards
Signature: listBoards (date {xs:dateTime}, callId {xs:string}) => board {elections:Board}*
Java signature: List<org.matrix.elections.Board> listBoards(javax.xml.datatype.XMLGregorianCalendar date, String callId)
Parameters:
name xml type occurs nillable read only references
date xs:dateTime 1 false false
callId xs:string 1 false false
Response:
name xml type occurs nillable read only references
board elections:Board 0..N true false
Sample input message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:listBoards xmlns:ns2="http://elections.matrix.org/">
      <date>{xs:dateTime}</date>
      <callId>{xs:string}</callId>
    </ns2:listBoards>
  </S:Body>
</S:Envelope>
Sample output message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:listBoardsResponse xmlns:ns2="http://elections.matrix.org/">
      <board>
        <districtId>{xs:string}</districtId>
        <sectionId>{xs:string}</sectionId>
        <boardId>{xs:string}</boardId>
        <electors>{xs:int}</electors>
        <totalVotes>{xs:int}</totalVotes>
        <blankVotes>{xs:int}</blankVotes>
        <nullVotes>{xs:int}</nullVotes>
        <description>{xs:string}</description>
      </board>
    </ns2:listBoardsResponse>
  </S:Body>
</S:Envelope>
Operation listResults
Name: listResults
Signature: listResults (date {xs:dateTime}, callId {xs:string}) => electionResult {elections:ElectionsResult}*
Java signature: List<org.matrix.elections.ElectionsResult> listResults(javax.xml.datatype.XMLGregorianCalendar date, String callId)
Parameters:
name xml type occurs nillable read only references
date xs:dateTime 1 false false
callId xs:string 1 false false
Response:
name xml type occurs nillable read only references
electionResult elections:ElectionsResult 0..N true false
Sample input message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:listResults xmlns:ns2="http://elections.matrix.org/">
      <date>{xs:dateTime}</date>
      <callId>{xs:string}</callId>
    </ns2:listResults>
  </S:Body>
</S:Envelope>
Sample output message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:listResultsResponse xmlns:ns2="http://elections.matrix.org/">
      <electionResult>
        <partyId>{xs:string}</partyId>
        <districtId>{xs:string}</districtId>
        <sectionId>{xs:string}</sectionId>
        <boardId>{xs:string}</boardId>
        <votes>{xs:int}</votes>
      </electionResult>
    </ns2:listResultsResponse>
  </S:Body>
</S:Envelope>
Operation listCalls
Name: listCalls
Signature: listCalls () => call {elections:Call}*
Java signature: List<org.matrix.elections.Call> listCalls()
Parameters:
name xml type occurs nillable read only references
Response:
name xml type occurs nillable read only references
call elections:Call 0..N true false
Sample input message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:listCalls xmlns:ns2="http://elections.matrix.org/">
    </ns2:listCalls>
  </S:Body>
</S:Envelope>
Sample output message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:listCallsResponse xmlns:ns2="http://elections.matrix.org/">
      <call>
        <callId>{xs:string}</callId>
        <description>{xs:string}</description>
        <date>{xs:dateTime}</date>
        <councillorsCount>{xs:int}</councillorsCount>
      </call>
    </ns2:listCallsResponse>
  </S:Body>
</S:Envelope>
Operation listDistricts
Name: listDistricts
Signature: listDistricts (date {xs:dateTime}) => district {elections:District}*
Java signature: List<org.matrix.elections.District> listDistricts(javax.xml.datatype.XMLGregorianCalendar date)
Parameters:
name xml type occurs nillable read only references
date xs:dateTime 1 false false
Response:
name xml type occurs nillable read only references
district elections:District 0..N true false
Sample input message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:listDistricts xmlns:ns2="http://elections.matrix.org/">
      <date>{xs:dateTime}</date>
    </ns2:listDistricts>
  </S:Body>
</S:Envelope>
Sample output message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:listDistrictsResponse xmlns:ns2="http://elections.matrix.org/">
      <district>
        <districtId>{xs:string}</districtId>
        <description>{xs:string}</description>
      </district>
    </ns2:listDistrictsResponse>
  </S:Body>
</S:Envelope>


Ajuntament de Sant Feliu de Llobregat (C) 2025