Book a Demo

Author Topic: Arays in WSDL  (Read 2856 times)

Tonu

  • EA User
  • **
  • Posts: 30
  • Karma: +0/-0
    • View Profile
Arays in WSDL
« on: December 07, 2007, 03:52:46 am »
Hello,

Has anyone managed to generate an array into WSDL specification using MDA transformation in EA?

here is what I ma trying to do:
- I have an object model defining an interface and data types used by this interface.
- This object model is transformed to WSDL model
- after minor WSDL additions the WSDL model can be converted to valid wsdl used by SOAP webservice

The problem is that some services return arrays. Using aggregation (composition) in the object model yields to wsdl where both container and element are separate complex types. The container contains sequence element that has unbounded number of members of same type (suggesting that resulting XML contains <SOAP-ENC:Struct>.

What I want in the resulting xml is <SOAP-ENC:Array>, however I have no idea how to put it into the model so that transformation will understand it. Any hints how should I do it correctly?

Best regards,
Tonu