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

Jdk 1.6.0 Requests get the error "setProperty must be overridden by all subclasses of SOAPMessage"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: jbossws-1.0.4
    • Fix Version/s: jbossws-2.0.0
    • Component/s: jbossws-native
    • Labels:
      None
    • Environment:

      Jboss 4.0.5.GA
      Java 1.6.0

    • Affects:
      Compatibility/Configuration

      Description

      Requests get the error "setProperty must be overridden by all subclasses of SOAPMessage"

      In the abstract class javax.xml.soap.SOAPMessage which is now shipped with the jdk, the implementation of setProperty is as follows:

      public void setProperty(String property, Object value)
      throws SOAPException

      { throw new UnsupportedOperationException("setProperty must be overridden by all subclasses of SOAPMessage"); }

      in the constructor of org.jboss.ws.soap.SOAPMessageImpl it calls the super methods
      setProperty(CHARACTER_SET_ENCODING, "UTF-8");
      setProperty(WRITE_XML_DECLARATION, false);

      This results in the exception being thrown.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  heiko.braun Heiko Braun
                  Reporter:
                  dangleton Denis Angleton
                • Votes:
                  11 Vote for this issue
                  Watchers:
                  21 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: