0 Replies Latest reply on Feb 21, 2012 9:23 AM by Devan Van Reenen

    setProperty must be overridden by all subclasses of SOAPMessage

    Devan Van Reenen Newbie

      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