Index of modules
Module translation
Name: translation
Title: Gestor de traduccions
Namespace: http://translation.matrix.org/
Service: TranslationManagerService
Port: TranslationManagerPort
Java package: org.matrix.translation
Version: 1.0
Status: FINAL
Authors: Ricard Real, Jordi López
WSDL: translation.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 Translation
Name: Translation
QName: translation:Translation
Java class name: org.matrix.translation.Translation
Properties:
name xml type occurs nillable read only references
transId xs:string 0..1 false false
language xs:string 0..1 false false
text xs:string 0..1 false false
translation xs:string 0..1 false false
state translation:TranslationState 0..1 false false
group xs:string 0..1 false false
creationDateTime mx:dateTime 0..1 false false
modifyDateTime mx:dateTime 0..1 false false
readDateTime mx:dateTime 0..1 false false
modifyUserId xs:string 0..1 false false
Related operations:
Struct TranslationMetaData
Name: TranslationMetaData
QName: translation:TranslationMetaData
Java class name: org.matrix.translation.TranslationMetaData
Properties:
name xml type occurs nillable read only references
translationMaxSize xs:int 1 false false
Related operations:
Struct TranslationFilter
Name: TranslationFilter
QName: translation:TranslationFilter
Java class name: org.matrix.translation.TranslationFilter
Properties:
name xml type occurs nillable read only references
language xs:string 0..1 false false
state translation:TranslationState 0..1 false false
text xs:string 0..1 false false
translation xs:string 0..1 false false
group xs:string 0..1 false false
firstResult xs:int 1 false false
maxResults xs:int 1 false false
Related operations:
Enumeration TranslationState
Name: TranslationState
QName: translation:TranslationState
Java class name: org.matrix.translation.TranslationState
Values:
namedescription
DRAFT
COMPLETED

Operations

Operation getTranslationMetaData
Name: getTranslationMetaData
Signature: getTranslationMetaData () => translationMetaData {translation:TranslationMetaData}
Java signature: org.matrix.translation.TranslationMetaData getTranslationMetaData()
Parameters:
name xml type occurs nillable read only references
Response:
name xml type occurs nillable read only references
translationMetaData translation:TranslationMetaData 1 false false
Sample input message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:getTranslationMetaData xmlns:ns2="http://translation.matrix.org/">
    </ns2:getTranslationMetaData>
  </S:Body>
</S:Envelope>
Sample output message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:getTranslationMetaDataResponse xmlns:ns2="http://translation.matrix.org/">
      <translationMetaData>
        <translationMaxSize>{xs:int}</translationMaxSize>
      </translationMetaData>
    </ns2:getTranslationMetaDataResponse>
  </S:Body>
</S:Envelope>
Operation translateGroup
Name: translateGroup
Signature: translateGroup (language {xs:string}, text {xs:string}, group {xs:string}) => translation {translation:Translation}*
Java signature: List<org.matrix.translation.Translation> translateGroup(String language, String text, String group)
Parameters:
name xml type occurs nillable read only references
language xs:string 1 false false
text xs:string 1 false false
group xs:string 1 false false
Response:
name xml type occurs nillable read only references
translation translation:Translation 0..N true false
Sample input message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:translateGroup xmlns:ns2="http://translation.matrix.org/">
      <language>{xs:string}</language>
      <text>{xs:string}</text>
      <group>{xs:string}</group>
    </ns2:translateGroup>
  </S:Body>
</S:Envelope>
Sample output message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:translateGroupResponse xmlns:ns2="http://translation.matrix.org/">
      <translation>
        <transId>{xs:string}</transId>
        <language>{xs:string}</language>
        <text>{xs:string}</text>
        <translation>{xs:string}</translation>
        <state>{translation:TranslationState}</state>
        <group>{xs:string}</group>
        <creationDateTime>{mx:dateTime}</creationDateTime>
        <modifyDateTime>{mx:dateTime}</modifyDateTime>
        <readDateTime>{mx:dateTime}</readDateTime>
        <modifyUserId>{xs:string}</modifyUserId>
      </translation>
    </ns2:translateGroupResponse>
  </S:Body>
</S:Envelope>
Operation loadTranslation
Name: loadTranslation
Signature: loadTranslation (transId {xs:string}) => translation {translation:Translation}
Java signature: org.matrix.translation.Translation loadTranslation(String transId)
Parameters:
name xml type occurs nillable read only references
transId xs:string 1 false false
Response:
name xml type occurs nillable read only references
translation translation:Translation 1 false false
Sample input message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:loadTranslation xmlns:ns2="http://translation.matrix.org/">
      <transId>{xs:string}</transId>
    </ns2:loadTranslation>
  </S:Body>
</S:Envelope>
Sample output message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:loadTranslationResponse xmlns:ns2="http://translation.matrix.org/">
      <translation>
        <transId>{xs:string}</transId>
        <language>{xs:string}</language>
        <text>{xs:string}</text>
        <translation>{xs:string}</translation>
        <state>{translation:TranslationState}</state>
        <group>{xs:string}</group>
        <creationDateTime>{mx:dateTime}</creationDateTime>
        <modifyDateTime>{mx:dateTime}</modifyDateTime>
        <readDateTime>{mx:dateTime}</readDateTime>
        <modifyUserId>{xs:string}</modifyUserId>
      </translation>
    </ns2:loadTranslationResponse>
  </S:Body>
</S:Envelope>
Operation storeTranslation
Name: storeTranslation
Signature: storeTranslation (translation {translation:Translation}) => storedTranslation {translation:Translation}
Java signature: org.matrix.translation.Translation storeTranslation(org.matrix.translation.Translation translation)
Parameters:
name xml type occurs nillable read only references
translation translation:Translation 1 false false
Response:
name xml type occurs nillable read only references
storedTranslation translation:Translation 1 false false
Sample input message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:storeTranslation xmlns:ns2="http://translation.matrix.org/">
      <translation>
        <transId>{xs:string}</transId>
        <language>{xs:string}</language>
        <text>{xs:string}</text>
        <translation>{xs:string}</translation>
        <state>{translation:TranslationState}</state>
        <group>{xs:string}</group>
        <creationDateTime>{mx:dateTime}</creationDateTime>
        <modifyDateTime>{mx:dateTime}</modifyDateTime>
        <readDateTime>{mx:dateTime}</readDateTime>
        <modifyUserId>{xs:string}</modifyUserId>
      </translation>
    </ns2:storeTranslation>
  </S:Body>
</S:Envelope>
Sample output message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:storeTranslationResponse xmlns:ns2="http://translation.matrix.org/">
      <storedTranslation>
        <transId>{xs:string}</transId>
        <language>{xs:string}</language>
        <text>{xs:string}</text>
        <translation>{xs:string}</translation>
        <state>{translation:TranslationState}</state>
        <group>{xs:string}</group>
        <creationDateTime>{mx:dateTime}</creationDateTime>
        <modifyDateTime>{mx:dateTime}</modifyDateTime>
        <readDateTime>{mx:dateTime}</readDateTime>
        <modifyUserId>{xs:string}</modifyUserId>
      </storedTranslation>
    </ns2:storeTranslationResponse>
  </S:Body>
</S:Envelope>
Operation removeTranslation
Name: removeTranslation
Signature: removeTranslation (transId {xs:string}) => removed {xs:boolean}
Java signature: boolean removeTranslation(String transId)
Parameters:
name xml type occurs nillable read only references
transId 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:removeTranslation xmlns:ns2="http://translation.matrix.org/">
      <transId>{xs:string}</transId>
    </ns2:removeTranslation>
  </S:Body>
</S:Envelope>
Sample output message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:removeTranslationResponse xmlns:ns2="http://translation.matrix.org/">
      <removed>{xs:boolean}</removed>
    </ns2:removeTranslationResponse>
  </S:Body>
</S:Envelope>
Operation findTranslations
Name: findTranslations
Signature: findTranslations (filter {translation:TranslationFilter}) => translation {translation:Translation}*
Java signature: List<org.matrix.translation.Translation> findTranslations(org.matrix.translation.TranslationFilter filter)
Parameters:
name xml type occurs nillable read only references
filter translation:TranslationFilter 1 false false
Response:
name xml type occurs nillable read only references
translation translation:Translation 0..N true false
Sample input message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:findTranslations xmlns:ns2="http://translation.matrix.org/">
      <filter>
        <language>{xs:string}</language>
        <state>{translation:TranslationState}</state>
        <text>{xs:string}</text>
        <translation>{xs:string}</translation>
        <group>{xs:string}</group>
        <firstResult>{xs:int}</firstResult>
        <maxResults>{xs:int}</maxResults>
      </filter>
    </ns2:findTranslations>
  </S:Body>
</S:Envelope>
Sample output message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:findTranslationsResponse xmlns:ns2="http://translation.matrix.org/">
      <translation>
        <transId>{xs:string}</transId>
        <language>{xs:string}</language>
        <text>{xs:string}</text>
        <translation>{xs:string}</translation>
        <state>{translation:TranslationState}</state>
        <group>{xs:string}</group>
        <creationDateTime>{mx:dateTime}</creationDateTime>
        <modifyDateTime>{mx:dateTime}</modifyDateTime>
        <readDateTime>{mx:dateTime}</readDateTime>
        <modifyUserId>{xs:string}</modifyUserId>
      </translation>
    </ns2:findTranslationsResponse>
  </S:Body>
</S:Envelope>
Operation countTranslations
Name: countTranslations
Signature: countTranslations (filter {translation:TranslationFilter}) => translationCount {xs:int}
Java signature: int countTranslations(org.matrix.translation.TranslationFilter filter)
Parameters:
name xml type occurs nillable read only references
filter translation:TranslationFilter 1 false false
Response:
name xml type occurs nillable read only references
translationCount xs:int 1 false false
Sample input message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:countTranslations xmlns:ns2="http://translation.matrix.org/">
      <filter>
        <language>{xs:string}</language>
        <state>{translation:TranslationState}</state>
        <text>{xs:string}</text>
        <translation>{xs:string}</translation>
        <group>{xs:string}</group>
        <firstResult>{xs:int}</firstResult>
        <maxResults>{xs:int}</maxResults>
      </filter>
    </ns2:countTranslations>
  </S:Body>
</S:Envelope>
Sample output message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:countTranslationsResponse xmlns:ns2="http://translation.matrix.org/">
      <translationCount>{xs:int}</translationCount>
    </ns2:countTranslationsResponse>
  </S:Body>
</S:Envelope>
Operation listModifiedTranslations
Name: listModifiedTranslations
Signature: listModifiedTranslations (language {xs:string}, dateTime1 {xs:string}, dateTime2 {xs:string}) => translation {xs:string}*
Java signature: List<String> listModifiedTranslations(String language, String dateTime1, String dateTime2)
Parameters:
name xml type occurs nillable read only references
language xs:string 1 false false
dateTime1 xs:string 1 false false
dateTime2 xs:string 1 false false
Response:
name xml type occurs nillable read only references
translation xs:string 0..N true false
Sample input message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:listModifiedTranslations xmlns:ns2="http://translation.matrix.org/">
      <language>{xs:string}</language>
      <dateTime1>{xs:string}</dateTime1>
      <dateTime2>{xs:string}</dateTime2>
    </ns2:listModifiedTranslations>
  </S:Body>
</S:Envelope>
Sample output message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:listModifiedTranslationsResponse xmlns:ns2="http://translation.matrix.org/">
      <translation>{xs:string}</translation>
    </ns2:listModifiedTranslationsResponse>
  </S:Body>
</S:Envelope>
Operation setActiveTranslations
Name: setActiveTranslations
Signature: setActiveTranslations (translation {translation:Translation}*) => numUpdated {xs:int}
Java signature: int setActiveTranslations(List<org.matrix.translation.Translation> translation)
Parameters:
name xml type occurs nillable read only references
translation translation:Translation 0..N true false
Response:
name xml type occurs nillable read only references
numUpdated xs:int 1 false false
Sample input message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:setActiveTranslations xmlns:ns2="http://translation.matrix.org/">
      <translation>
        <transId>{xs:string}</transId>
        <language>{xs:string}</language>
        <text>{xs:string}</text>
        <translation>{xs:string}</translation>
        <state>{translation:TranslationState}</state>
        <group>{xs:string}</group>
        <creationDateTime>{mx:dateTime}</creationDateTime>
        <modifyDateTime>{mx:dateTime}</modifyDateTime>
        <readDateTime>{mx:dateTime}</readDateTime>
        <modifyUserId>{xs:string}</modifyUserId>
      </translation>
    </ns2:setActiveTranslations>
  </S:Body>
</S:Envelope>
Sample output message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:setActiveTranslationsResponse xmlns:ns2="http://translation.matrix.org/">
      <numUpdated>{xs:int}</numUpdated>
    </ns2:setActiveTranslationsResponse>
  </S:Body>
</S:Envelope>
Operation translate
Name: translate
Signature: translate (language {xs:string}, text {xs:string}, group {xs:string}) => translation {translation:Translation}
Java signature: org.matrix.translation.Translation translate(String language, String text, String group)
Parameters:
name xml type occurs nillable read only references
language xs:string 1 false false
text xs:string 1 false false
group xs:string 1 false false
Response:
name xml type occurs nillable read only references
translation translation:Translation 1 false false
Sample input message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:translate xmlns:ns2="http://translation.matrix.org/">
      <language>{xs:string}</language>
      <text>{xs:string}</text>
      <group>{xs:string}</group>
    </ns2:translate>
  </S:Body>
</S:Envelope>
Sample output message:
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:translateResponse xmlns:ns2="http://translation.matrix.org/">
      <translation>
        <transId>{xs:string}</transId>
        <language>{xs:string}</language>
        <text>{xs:string}</text>
        <translation>{xs:string}</translation>
        <state>{translation:TranslationState}</state>
        <group>{xs:string}</group>
        <creationDateTime>{mx:dateTime}</creationDateTime>
        <modifyDateTime>{mx:dateTime}</modifyDateTime>
        <readDateTime>{mx:dateTime}</readDateTime>
        <modifyUserId>{xs:string}</modifyUserId>
      </translation>
    </ns2:translateResponse>
  </S:Body>
</S:Envelope>


Ajuntament de Sant Feliu de Llobregat (C) 2025