[jboss-user] [JBoss Web Services] - setProperty must be overridden by all subclasses of SOAPMessage

Devan Van Reenen do-not-reply at jboss.com
Tue Feb 21 09:23:29 EST 2012


Devan Van Reenen [https://community.jboss.org/people/devan.vanreenen] created the discussion

"setProperty must be overridden by all subclasses of SOAPMessage"

To view the discussion, visit: https://community.jboss.org/message/718333#718333

--------------------------------------------------------------
Hi there, 

Please can someone assist me with the below error message I have created client that calls a method on a web service that uses Drools rules and get the following error during debugging

Exception in thread "main" javax.xml.ws.WebServiceException: java.lang.UnsupportedOperationException: 
Caused by: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage

I have checked this forum and there are several issues logged for this error that suggests the following (as per SOA-984 JBossWS Native on JDK 6 requires jaxrpc, jaxws, jaxb and saaj to be installed in jboss-as/lib/endorsed/)

adding the following jars to JBOSS_HOME\lib\endorsed

jbossws-native-jaxrpc.jar
jbossws-native-jaxws.jar
jbossws-native-jaxws-ext.jar
jbossws-native-saaj.jar
jaxb-api.jar

and 

eclipse --> server launch configuration --> VM arguments (add -Djava.endorsed.dirs=JBOSS_HOME\lib\endorsed")


I have done both of these however the error persists, please assist.

Many thanks
Devan
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/718333#718333]

Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120221/8a44c336/attachment.html 


More information about the jboss-user mailing list