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

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jbossws-2.0.0
    • jbossws-1.0.4
    • jbossws-native
    • None
    • Compatibility/Configuration

      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.

            rhn-support-hbraun Heiko Braun
            dangleton_jira Denis Angleton (Inactive)
            Votes:
            11 Vote for this issue
            Watchers:
            18 Start watching this issue

              Created:
              Updated:
              Resolved: