JDK 8 causes SOAP element order to change
Created attachment 1478006 [details] reproducer (part 1)
Created attachment 1478007 [details] reproducer (part 2 - the main part and really the only part needed if you don't want to compile)
Reproducer attached. To test deploy TestService/target/TestService.war. The other zip is needed if you want to rebuild. To run, use throwException=Y something like: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:com="http://com.macys.testservice.types/"> <soapenv:Header/> <soapenv:Body> <com:doSomething> <com:MyRequest> <!--Optional:--> <throwException>Y</throwException> </com:MyRequest> </com:doSomething> </soapenv:Body> </soapenv:Envelope>
Regression tests passed Verified with EAP 6.4.22.CP.CR1