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

Cannot use subclass of org.w3c.dom.Element when mapping document fragments

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jboss-ws4ee-4.0.2
    • jboss-ws4ee-4.0.1
    • jbossws-native
    • None

      When mapping document fragments in jaxrpc, the spec recommends mapping to javax.xml.soap.SOAPElement. JBoss maps this as a org.w3c.dom.Element (a superclass), but you are unable to specify javax.xml.soap.SOAPElement in the mapping file. The fix may be in org.apache.axis.message.RPCHandler.onStartChild method, which checks if destClass.isAssignableFrom(org.w3c.dom.Element.class) when it should should probably check if destClass.isAssignableFrom(javax.xml.soap.SOAPElement)

              tdiesler@redhat.com Thomas Diesler
              forkbomb Steven Wisener (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: