Announcement Announcement Module
Collapse
No announcement yet.
ClassCastException when loading a hand-written WSDL Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • ClassCastException when loading a hand-written WSDL

    Hi All! I'm trying to load a hand-written WSDL file using Spring-WS, but whenever I access its URI I get a ClassCastException. The exception follows:

    Code:
    java.lang.ClassCastException: org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
            at org.apache.xerces.parsers.DOMParser.<init>(Unknown Source)
            at org.apache.xerces.parsers.DOMParser.<init>(Unknown Source)
            at org.apache.xerces.jaxp.DocumentBuilderImpl.<init>(Unknown Source)
            at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Unknown Source)
            at com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.<init>(SAX2DOM.java:69)
            at com.sun.org.apache.xalan.internal.xsltc.runtime.output.TransletOutputHandlerFactory.getSerializationHandler(TransletOutputHandlerFactory.java:187)
    I'm using Glassfish 2.1 over Java 6 and all jars included in the WS with dependencies archive.

    Has anyone experienced a similar problem?

    Thanks,

    Rodolfo
    Last edited by rodolfocartas; Oct 6th, 2009, 01:10 PM.

  • #2
    Problem fixed

    I fixed the issue including Xalan jars.

    Comment

    Working...
    X