Welcome Guest! Log in


The forum is in read only mode.
Stambia versions 2.x, 3.x, S17, S18, S19 and S20 are reaching End of Support January, 15th, 2024. Please consider upgrading to the supported Semarchy xDI versions. See Global Policy Support and the Semarchy Documentation.

The Stambia User Community is moving to Semarchy! All the applicable resources have already been moved or are currently being moved to their new location. Read more…

Topic-icon Important Webservice : Illegal to define a nested type when a type attribute is specified

  • Nicolas Verscheure
  • Nicolas Verscheure's Avatar Topic Author
  • Offline
15 Jan 2015 18:22 - 15 Jan 2015 18:28 #1 by Nicolas Verscheure
If you are working with Webservice option and test with SoapUI the WebServices generated by Stambia, you may encountered this error : " Illegal to define a nested type when a type attribute is specified". And not be able to reverse Stambia Webservices with SoapUI. Nevertheless, you may be able to consume the Webservices published with Java or Ruby code.

To solve the problem, you have to check in the XML metadata used as input / output parameters, this kind of mistake :

The element "Code" a type and a sequence with a sub-element. If you remove the type on the parent element, it will solve the problem.

A referenced post on the subject on SoapUI's forum :

Last edit: 15 Jan 2015 18:28 by Nicolas Verscheure.