I'm currently trying to use a spring ws security to guard my spring webservices.
I use a securityPolicy.xml within the XwsSecurityInterceptor.
I'm getting a java.lang.IllegalArgumentException everytime I attempt to deploy the application.
The problem seems to occur within class SecurityConfigurationXmlReader method parseXmlStream.
I think the InputStream xmlStream ref securityPolicy.xml.
Everytime the code reaches the following line within class SecurityConfigurationXmlReader it hits
for anybody interested, this error was due to the application server (i.e. oc4j 10.1.3) using it's default parser xmlparserv2.jar.
To resolve this fault I added xerces parser to the shared-library on the server. This allowed the server to load up xerces first into it's class
loader on boot up.