[JBoss JIRA] (JBWS-1439) Jdk 1.6.0 Requests get the error "setProperty must be overridden by all subclasses of SOAPMessage"
by Paul Hinds (Jira)
[ https://issues.redhat.com/browse/JBWS-1439?page=com.atlassian.jira.plugin... ]
Paul Hinds commented on JBWS-1439:
----------------------------------
FYI for JBoss 5.1.2 I had to copy just jbossws-native-factories-3.1.2.SP11.jar
/opt/jboss-5.1.2-eap/jboss-as/lib/endorsed/jbossws-native-factories-3.1.2.SP11.jar
> Jdk 1.6.0 Requests get the error "setProperty must be overridden by all subclasses of SOAPMessage"
> --------------------------------------------------------------------------------------------------
>
> Key: JBWS-1439
> URL: https://issues.redhat.com/browse/JBWS-1439
> Project: JBoss Web Services
> Issue Type: Bug
> Components: jbossws-native
> Affects Versions: jbossws-1.0.4
> Environment: Jboss 4.0.5.GA
> Java 1.6.0
> Reporter: Denis Angleton
> Assignee: Heiko Braun
> Priority: Major
> Fix For: jbossws-2.0.0
>
>
> 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.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 9 months