Forum Discussion

tstmartin's avatar
tstmartin
Contributor
12 years ago

WS response elements alphabetized - fails xsd validation

We're using soapUI Pro 4.6.4, and Oracle Weblogic.

Our webservices work as expected on weblogic 10.3; the responses can be validated against the schema. We have recently upgraded to Weblogic 12. We now get responses which contain the proper elements, but the elements have been ordered alphabetically, which gives us schema validation errors.

Response running under Weblogic 10.3 - this will validate against the schema.
<response>
<Aelement>data</Aelement>
<belement>data</belement>
<celement>data</celement>
<Zelement>data</Zelement>
</response>

Response running under WL 12 - this will not validate because the Zelement is
out of proper sequence.
<response>
<Aelement>data</Aelement>
<Zelement>data</Zelement>
<belement>data</belement>
<celement>data</celement>
</response>


Any idea what's changed to make this happen?

More important, any suggestions what we can do to get the responses to be returned in the the order specified in the xsd files?

Thanks. If it's not something silly we're overlooking, we don't understand why we can't find anything ont eh web about this ; I'd expect an uproar...