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 ?

Any ideas? 

Solution

Hi Maitha,


You can do like below screen shot.




Solution

Salman Ansari wrote:

Hi Maitha,


You can do like below screen shot.





Wow thanks a lot Salman for the comprehensive answer!! I really appreciate it! 

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