[jbossws-issues] [JBoss JIRA] Commented: (JBWS-1439) Jdk 1.6.0 Requests get the error "setProperty must be overridden by all subclasses of SOAPMessage"
Illya Havsiyevych (JIRA)
jira-events at lists.jboss.org
Wed Mar 12 08:49:01 EDT 2008
[ http://jira.jboss.com/jira/browse/JBWS-1439?page=comments#action_12402410 ]
Illya Havsiyevych commented on JBWS-1439:
-----------------------------------------
Hello
Seems I was able to fix this issue...
Environment:
JBossAP: 4.0.5
OSs: win 2003 sp1, jdk1.6.0_04
linux (rhel4), jdk1.6.0_03
Steps to resolve:
1) Upgrade JBossWS to jbossws-native-2.0.3.GA
(more details below)
2) Copy set of libs to lib\endorsed\ from client\
- jaxb-api.jar
- jboss-jaxws.jar
- jboss-saaj.jar
Upgrade JBossWS to jbossws-native-2.0.3.GA
- folow http://labs.jboss.com/file-access/default/members/jbossws/downloads/Install-2.0.3.GA.txt
- better to remove next dir before upgrade:
jboss-4.0.5.GA\server\default\deploy\jbossws.sar\
- install updates default conf
so You need to manually transfer changes
- Set of folders/files updated/installed:
jboss-4.0.5.GA\bin\
- wsconsume.bat
- wsconsume.sh
- wsprovide.bat
- wsprovide.sh
- wsrunclient.bat
- wsrunclient.sh
- wstools.bat
- wstools.sh
jboss-4.0.5.GA\lib\
- jboss-xml-binding.jar
jboss-4.0.5.GA\client\
- jaxb-api.jar
- jaxb-impl.jar
- jaxb-xjc.jar
- jaxws-rt.jar
- jaxws-tools.jar
- jboss-jaxrpc.jar
- jboss-jaxws.jar
- jboss-jaxws-ext.jar
- jboss-saaj.jar
- jbossws-client.jar
- jbossws-common.jar
- jbossws-framework.jar
- jbossws-jboss40.jar
- jbossws-spi.jar
- jboss-xml-binding.jar
- policy.jar
- stax-api.jar
- stax-ex.jar
- streambuffer.jar
- wsdl4j.jar
- wstx.jar
jboss-4.0.5.GA\server\default\lib\
- jboss-jaxrpc.jar
- jboss-jaxws.jar
- jboss-jaxws-ext.jar
- jboss-saaj.jar
- jbossws-common.jar
- jbossws-framework.jar
- jbossws-jboss40.jar
- jbossws-spi.jar
- wsdl4j.jar
jboss-4.0.5.GA\server\all\deploy\juddi-service.sar\
jboss-4.0.5.GA\server\default\deploy\jbossws.sar\
> Jdk 1.6.0 Requests get the error "setProperty must be overridden by all subclasses of SOAPMessage"
> --------------------------------------------------------------------------------------------------
>
> Key: JBWS-1439
> URL: http://jira.jboss.com/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
> Assigned To: 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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossws-issues
mailing list