Welcome Guest! Log in
×

Notice

The forum is in read only mode.
Due to some maintenance operations, stambia.org will be switched to read-only mode during the 13th November. It will be possible to read and download, but impossible to post on the forums or create new accounts. For any question please contact the support team.

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
More
15 Jan 2015 18:22 - 15 Jan 2015 18:28 #1 by Nicolas Verscheure
Nicolas Verscheure created the topic: Webservice : Illegal to define a nested type when a type attribute is specified
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 :

forum.soapui.org/viewtopic.php?t=17963
Attachments:
Last Edit: 15 Jan 2015 18:28 by Nicolas Verscheure.