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

Shelly McGowan (JIRA) jira-events at lists.jboss.org
Thu Dec 11 17:59:36 EST 2008


     [ https://jira.jboss.org/jira/browse/JBWS-1439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shelly McGowan updated JBWS-1439:
---------------------------------


Did you install the JDK 6 4.2.3.GA binaries available here:
http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=16942&release_id=614346
If so, copying of libraries to lib/endorsed are not needed.  

If you installed the JDK 5 binaries, and are running with JDK 6, then this information provided in the release notes needs to be followed:
   * When running under Java 6 you need to manually copy the following libraries from the JBOSS_HOME/client directory to 
the JBOSS_HOME/lib/endorsed directory, so that the JAX-WS 2.0 apis supported by JBossWS are used:
          o jboss-jaxrpc.jar
          o jboss-jaxws.jar
          o jboss-jaxws-ext.jar
          o jboss-saaj.jar
          o jaxb-api.jar

Complete set of 4.2.3.GA release notes can be seen here:
http://sourceforge.net/project/shownotes.php?release_id=614346&group_id=22866

> 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