Hi,
I’m trying to connect to a WebService which has some complex types designed as this:
<xs:element name="FeedbackResponse">
<xs:complexType>
<xs:choice>
<xs:element name="NoFeedback" type="EmptyType" />
<xs:element name="Feedback" type="FeedbackType" maxOccurs="unbounded" />
</xs:choice>
</xs:complexType>
</xs:element>
<xs:complexType name="EmptyType"/>
<xs:complexType name="FeedbackType">
<xs:sequence>
<xs:element name="ainteger" type="xs:integer"/>
<xs:element name="astring" type="xs:string"/>
</xs:sequence>
</xs:complexType>
I tried to import the WSDL with Service Builder but it wasn’t able to manage those types.
So, my questions are: is it possible to describe them in RODL way and convert them to a Delphi interface ? If not, is it, at least, possible to write the interface by myself ? (and, if yes, how? )
I tought about using a Struct with nillable parts but I’m not sure.