Index of modules
Module survey
Name: survey
Title: Gestor d'enquestes
Namespace: http://survey.matrix.org/
Service: SurveyManagerService
Port: SurveyManagerPort
Java package: org.matrix.survey
Version: 1.0
Status: REVISION
Authors: Jordi López
WSDL: survey.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 Survey
Name: Survey
QName: survey:Survey
Java class name: org.matrix.survey.Survey
Properties:
name xml type occurs nillable read only references
surveyId xs:string 0..1 false false
text xs:string 0..1 false false
open xs:boolean 1 false false
answerList survey:AnswerList 0..1 false false
voteCount xs:int 1 false false
Related operations:
Entity Answer
Name: Answer
QName: survey:Answer
Java class name: org.matrix.survey.Answer
Properties:
name xml type occurs nillable read only references
answerId xs:string 0..1 false false
text xs:string 0..1 false false
voteCount xs:int 1 false false
Struct SurveyMetaData
Name: SurveyMetaData
QName: survey:SurveyMetaData
Java class name: org.matrix.survey.SurveyMetaData
Properties:
name xml type occurs nillable read only references
surveyTextMaxSize xs:int 1 false false
answerTextMaxSize xs:int 1 false false
Related operations:
Struct AnswerList
Name: AnswerList
QName: survey:AnswerList
Java class name: org.matrix.survey.AnswerList
Properties:
name xml type occurs nillable read only references
answerList survey:Answer 0..N true false
Struct SurveyTable
Name: SurveyTable
QName: survey:SurveyTable
Java class name: org.matrix.survey.SurveyTable
Properties:
name xml type occurs nillable read only references
surveyViewList survey:SurveyView 0..N true false
Related operations:
Struct SurveyView
Name: SurveyView
QName: survey:SurveyView
Java class name: org.matrix.survey.SurveyView
Properties:
name xml type occurs nillable read only references
surveyId xs:string 0..1 false false
text xs:string 0..1 false false
open xs:boolean 1 false false
startDay xs:string 0..1 false false
voteCount xs:int 1 false false

Operations

Operation getSurveyMetaData
Name: getSurveyMetaData
Signature: getSurveyMetaData () => surveyMetaData {survey:SurveyMetaData}
Java signature: org.matrix.survey.SurveyMetaData getSurveyMetaData()
Parameters:
name xml type occurs nillable read only references
Response:
name xml type occurs nillable read only references
surveyMetaData survey:SurveyMetaData 1 false false
Sample input message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:getSurveyMetaData xmlns:ns2="http://survey.matrix.org/">
    </ns2:getSurveyMetaData>
  </S:Body>
</S:Envelope>
Sample output message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:getSurveyMetaDataResponse xmlns:ns2="http://survey.matrix.org/">
      <surveyMetaData>
        <surveyTextMaxSize>{xs:int}</surveyTextMaxSize>
        <answerTextMaxSize>{xs:int}</answerTextMaxSize>
      </surveyMetaData>
    </ns2:getSurveyMetaDataResponse>
  </S:Body>
</S:Envelope>
Operation storeSurvey
Name: storeSurvey
Signature: storeSurvey (text {xs:string}, answers {xs:string}*) => return {xs:string}
Java signature: String storeSurvey(String text, List<String> answers)
Parameters:
name xml type occurs nillable read only references
text xs:string 1 false false
answers xs:string 0..N true false
Response:
name xml type occurs nillable read only references
return 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:storeSurvey xmlns:ns2="http://survey.matrix.org/">
      <text>{xs:string}</text>
      <answers>{xs:string}</answers>
    </ns2:storeSurvey>
  </S:Body>
</S:Envelope>
Sample output message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:storeSurveyResponse xmlns:ns2="http://survey.matrix.org/">
      <return>{xs:string}</return>
    </ns2:storeSurveyResponse>
  </S:Body>
</S:Envelope>
Operation openSurvey
Name: openSurvey
Signature: openSurvey (surveyId {xs:string})
Java signature: void openSurvey(String surveyId)
Parameters:
name xml type occurs nillable read only references
surveyId 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:openSurvey xmlns:ns2="http://survey.matrix.org/">
      <surveyId>{xs:string}</surveyId>
    </ns2:openSurvey>
  </S:Body>
</S:Envelope>
Sample output message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:openSurveyResponse xmlns:ns2="http://survey.matrix.org/">
    </ns2:openSurveyResponse>
  </S:Body>
</S:Envelope>
Operation closeSurvey
Name: closeSurvey
Signature: closeSurvey (surveyId {xs:string})
Java signature: void closeSurvey(String surveyId)
Parameters:
name xml type occurs nillable read only references
surveyId 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:closeSurvey xmlns:ns2="http://survey.matrix.org/">
      <surveyId>{xs:string}</surveyId>
    </ns2:closeSurvey>
  </S:Body>
</S:Envelope>
Sample output message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:closeSurveyResponse xmlns:ns2="http://survey.matrix.org/">
    </ns2:closeSurveyResponse>
  </S:Body>
</S:Envelope>
Operation voteSurvey
Name: voteSurvey
Signature: voteSurvey (surveyId {xs:string}, answerId {xs:string})
Java signature: void voteSurvey(String surveyId, String answerId)
Parameters:
name xml type occurs nillable read only references
surveyId xs:string 1 false false
answerId 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:voteSurvey xmlns:ns2="http://survey.matrix.org/">
      <surveyId>{xs:string}</surveyId>
      <answerId>{xs:string}</answerId>
    </ns2:voteSurvey>
  </S:Body>
</S:Envelope>
Sample output message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:voteSurveyResponse xmlns:ns2="http://survey.matrix.org/">
    </ns2:voteSurveyResponse>
  </S:Body>
</S:Envelope>
Operation loadSurvey
Name: loadSurvey
Signature: loadSurvey (document {xs:string}) => survey {survey:Survey}
Java signature: org.matrix.survey.Survey loadSurvey(String document)
Parameters:
name xml type occurs nillable read only references
document xs:string 1 false false
Response:
name xml type occurs nillable read only references
survey survey:Survey 1 false false
Sample input message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:loadSurvey xmlns:ns2="http://survey.matrix.org/">
      <document>{xs:string}</document>
    </ns2:loadSurvey>
  </S:Body>
</S:Envelope>
Sample output message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:loadSurveyResponse xmlns:ns2="http://survey.matrix.org/">
      <survey>
        <surveyId>{xs:string}</surveyId>
        <text>{xs:string}</text>
        <open>{xs:boolean}</open>
        <answerList>
          <answerList>
            <answerId>{xs:string}</answerId>
            <text>{xs:string}</text>
            <voteCount>{xs:int}</voteCount>
          </answerList>
        </answerList>
        <voteCount>{xs:int}</voteCount>
      </survey>
    </ns2:loadSurveyResponse>
  </S:Body>
</S:Envelope>
Operation findSurveys
Name: findSurveys
Signature: findSurveys () => surveyTable {survey:SurveyTable}
Java signature: org.matrix.survey.SurveyTable findSurveys()
Parameters:
name xml type occurs nillable read only references
Response:
name xml type occurs nillable read only references
surveyTable survey:SurveyTable 1 false false
Sample input message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:findSurveys xmlns:ns2="http://survey.matrix.org/">
    </ns2:findSurveys>
  </S:Body>
</S:Envelope>
Sample output message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:findSurveysResponse xmlns:ns2="http://survey.matrix.org/">
      <surveyTable>
        <surveyViewList>
          <surveyId>{xs:string}</surveyId>
          <text>{xs:string}</text>
          <open>{xs:boolean}</open>
          <startDay>{xs:string}</startDay>
          <voteCount>{xs:int}</voteCount>
        </surveyViewList>
      </surveyTable>
    </ns2:findSurveysResponse>
  </S:Body>
</S:Envelope>


Ajuntament de Sant Feliu de Llobregat (C) 2025