25
Views
4
Comments
Solved
How to create Enumeration structure in Integration Studio

Hi,

I have this structure in the wsdl I am trying to consume in Outsystems. 


I created the structure in Integration Studio. But how can I define this "restriction" with "enumeration" types element with values "Success" and "Error"

                       <xsd:simpleType>
                              <xsd:restriction base="xsd:string">
                                 <xsd:enumeration value="Success"/>
                                 <xsd:enumeration value="Error"/>
                              </xsd:restriction>
                           </xsd:simpleType>


1) I created "Enum_Status" enumerated structure

2) then in the output structure, i chose "Enum_Status" in the Record Definition. 


But how can I create these values ("Success" and "Error") in Integration Studio structure ?

Rank: #45
Solution

Hi Maitha,


You can do like below screen shot.




Rank: #45

My pleasure, Good to hear that my solution solved your issue... :)

Rank: #2164

Any ideas?