Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-65

WSDL20ToJavaTestCase: Jaxb/Xerces throws a "Failed to Parse Document"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • jbossws-1.0EA
    • jbossws-1.0EA
    • jbossws-native
    • None

      Class: org.jboss.xml.binding.parser.xni.XniJBossXBParser

      public void parse(String systemId, ContentHandler handler) throws JBossXBException
      {
      this.contentHandler = handler;

      XMLInputSource xmlSource = new XMLInputSource(null, systemId, null);
      try

      { parser.parse(xmlSource); }

      catch(Exception e)

      { throw new JBossXBException("Failed to parse document " + systemId, e); }

      }

      The Xerces parser throws a ClassCastException. Not much information can be derived as to what is wrong in the wsdl.

            olubyans@redhat.com Alexey Loubyansky
            anil.saldhana Anil Saldanha (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: