[jbossws-issues] [JBoss JIRA] Commented: (JBWS-1439) Jdk 1.6.0 Requests get the error "setProperty must be overridden by all subclasses of SOAPMessage"

Pragun Mehta (JIRA) jira-events at lists.jboss.org
Wed Mar 18 12:23:23 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBWS-1439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12457958#action_12457958 ] 

Pragun Mehta commented on JBWS-1439:
------------------------------------

Hi,

I am using JBossAS5.0.0GA/JDK1.6.0_11. 
When I deployed "seambay" example of jboss-seam-2.1.1, I got the error message "setProperty must be overridden by all subclasses of SOAPMessage".

After reading this Jira issue, I followed the steps mentioned in "JBoss5.0.0GA Installation_And_Getting_Started_Guide.pdf - section 5.4 Java6 Note"
and copy below jar files from the JBOSS_HOME/client directory to the JBOSS_HOME/lib/endorsed
jbossws-native-saaj.jar, jbossws-native-jaxrpc.jar, jbossws-native-jaxws.jar, jbossws-native-jaxws-ext.jar

and thats it !! 
all worked well. Now all my webservices are working fine.
Thanks for this jira information.

Pragun.

> 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