15 Jan 2015 18:22 - 15 Jan 2015 18:28#1by 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 :