New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Soap response validation errors after update to 1.5.7 [SWS-517] #643
Comments
Jacques Couzteau commented Full response. |
Arjen Poutsma commented I tried to reproduce this locally, but it works for me. Could you try a recent snapshot (http://static.springsource.org/spring-ws/sites/1.5/downloads/snapshots.html) and see if this still occurs? If it does, please attach your XSD schema. I cannot reproduce it fully without the schema... |
Jacques Couzteau commented Thanks Arjen - I did try with the latest snapshot and can still reprom, attaching wsdl |
Jacques Couzteau commented schema added (not the wsdl). |
Arjen Poutsma commented Thanks for the schema. Even with that, I still can't reproduce it: the GetMetaDataKeysResonse.xml you attached validates fine. See the method testAxiom in DId you replace both the XML and the Core module with snapshots? I did some fixes to the XML module which are related... |
Jacques Couzteau commented yes, I used the 1.5.8-SNAPSHOT for all of the following maven artefacts: |
Jacques Couzteau commented Here is the full response that I logged using Spring-WS 1.5.6 - The previous response was shortened. |
Jacques Couzteau commented Tried again - just to make sure - still seeing ArrayIndexOutOfBoundsException: -1 in
I assume that in PayloadValidatingInterceptorTest you can set Which should repro the problem unless my app is still doing something else - I'd be happy to give you more info - but I don't know what to look for. |
Jacques Couzteau commented FYi: I have run my test suite against the app that uses the 1.5.8-SNAPSHOT of spring web services. There are no other calls that have this problem. |
Arjen Poutsma commented I can finally reproduce it. It seems to be related to Xerces in the JDK: the test runs fine when using JDK 1.6, but under 1.5, it fails. As a workaround, you can try upgrading to a recent version of Xerces (thus overriding the com.sun.org.apache.xerces that's built in the JDK). I will also investigate further, and see if I can fix this. |
Arjen Poutsma commented I think I've fixed it. Can you try a recent snapshot (as of tonight) and try again? |
Jacques Couzteau commented verified fix with latest 1.5.8 Snapshot. (Yay!) Thank you! much appreciated. |
Arjen Poutsma commented Closing old issues |
Jacques Couzteau opened SWS-517 and commented
Upgrade from SpringWS 1.5.6 to 1.5.7 and update. - No code changes.
After upgrade error "java.lang.ArrayIndexOutOfBoundsException: -1" was thrown during validation. Turning validation off works as a workaround.
my Soap API has 130 calls. Most respones were working fine, not all were tested. I wonder if It might have something to do with the size of the response, all other tested responses were pretty small, see forum post for bean configurations, errors and response sample.
Affects: 1.5.7
Reference URL: http://forum.springsource.org/showthread.php?p=242464#post242464
Attachments:
Referenced from: commits 98fb08c, 004ebb1
The text was updated successfully, but these errors were encountered: