Forum Discussion

kanius's avatar
kanius
Occasional Contributor
12 years ago

How to send multiple value in a enumeration string

I have a field in my request of type String but link to a enumeration value

I need to be able to send for example testvalue and testvalue2 normaly, In our webpage we send 3 (value 1+2 ) to send both but In soapUi I need to send the Enumeration value , Is their a way to send testvalue&testvalue2 or something like that.


XSD extract state this in soapUi
<xs:enumeration value="None">
<xs:annotation>
<xs:appinfo>
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">0</EnumerationValue>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="Testvalue">
<xs:annotation>
<xs:appinfo>
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="Testvalue2">
<xs:annotation>
<xs:appinfo>
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2</EnumerationValue>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="All">
<xs:annotation>
<xs:appinfo>
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">255</EnumerationValue>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>

1 Reply

  • kanius's avatar
    kanius
    Occasional Contributor
    The solution is to enter all value in different field in the object

    <tem:requestExtendedInfo>
    <!--Optional:-->
    <rxas:ExtendedInfo>testvalue1</rxas:ExtendedInfo>
    <rxas:ExtendedInfo>testvalue2</rxas:ExtendedInfo>
    </tem:requestExtendedInfo>