[jbossws-issues] [JBoss JIRA] Commented: (JBWS-1439) Jdk 1.6.0 Requests get the error "setProperty must be overridden by all subclasses of SOAPMessage"
Mike Saavedra (JIRA)
jira-events at lists.jboss.org
Thu Oct 30 10:45:21 EDT 2008
[ https://jira.jboss.org/jira/browse/JBWS-1439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12436346#action_12436346 ]
Mike Saavedra commented on JBWS-1439:
-------------------------------------
Heiko,
Thank you for working on this bug. I seem to be having this problem still, though. I downloaded and installed AS 5.0.0.CR2-jdk6. I'm not sure which version of jbossws that is (whatever the default is), but I'm getting the very same exception: "setProperty must be overridden by all subclasses of SOAPMessage". I just have a single @WebService class with one @WebMethod method. This is a simple Hello World! Here's my env:
Ubuntu 8.04 x86
JBoss AS 5.0.0.CR2-jdk6 (default)
JDK 1.6.0_07-b06 HotSpot Server
I tried moving jars around, but that didn't work. I could keep trying that, but shouldn't it just work?
This is reproduce-able, so ask me for any details.
Thanks,
> Jdk 1.6.0 Requests get the error "setProperty must be overridden by all subclasses of SOAPMessage"
> --------------------------------------------------------------------------------------------------
>
> Key: JBWS-1439
> URL: https://jira.jboss.org/jira/browse/JBWS-1439
> Project: JBoss Web Services
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> 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
> 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 is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossws-issues
mailing list