Results 1 to 2 of 2

Thread: ClassCastException when loading a hand-written WSDL

  1. #1

    Default 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 at 01:10 PM.

  2. #2

    Default Problem fixed

    I fixed the issue including Xalan jars.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •