Version: | 1.0 |
---|---|
Provider: | PyXMCDA |
SOAP service’s name: | |
randomAlternatives-PyXMCDA (see SOAP requests for details) |
This web service allows to create a simple list of alternative by simply providing the desired number of alternatives, or a list of alternatives names.
Contact: Thomas Veneziano (thomas.veneziano@uni.lu)
(For outputs, see below)
Indicates the desired number of alternatives. It must be a strict positive integer.
The input value should be a valid XMCDA document whose main tag is <methodParameters>
.
It must have the following form:
<methodParameters>
<parameter
name="nbAlternatives"> <!-- REQUIRED -->
<value>
<integer>%1</integer>
</value>
</parameter>
</methodParameters>
where:
%1 is a parameter named “nbAlternatives”. This is a int, and the value should conform to the following constraint: The value should be a positive integer.. More formally, the constraint is:
%1 > 0
The default value is 2.
Indicates the desired prefix for the name of the alternatives. If not provided, alternatives will be called a1, a2, … If provided, alternatives will be called prefix1, prefix2, … Note that it will only be used if you provide a number of alternatives.
The input value should be a valid XMCDA document whose main tag is <methodParameters>
.
It must have the following form:
<methodParameters>
<parameter
name="alternativesPrefix"> <!-- REQUIRED -->
<value>
<label>%1</label>
</value>
</parameter>
</methodParameters>
where:
Indicates a list of alternatives names. When supplied, the service ignores parameters nbAlternatives and alternativesPrefix
The input value should be a valid XMCDA document whose main tag is <methodParameters>
.
It must have the following form:
<methodParameters>
<parameters
name="alternativesNames"> <!-- REQUIRED -->
<parameter><value>
<label>[...]</label>
</value></parameter>
[..]
</parameter>
</methodParameters>
A list of alternatives with active tags.
The returned value is a XMCDA document whose main tag is <alternatives>
.
A list of messages generated by the algorithm.
The returned value is a XMCDA document whose main tag is <methodMessages>
.