Using the JDK6 in the classroom to access JBoss WebService The following exception occurs:
Java.lang.UnsupportedOperationException:
SetProperty must be overridden by all subclasses of SoapMessage
The reason is that JBoss soap implements the old Javax.xml.soap.SoapMessage interface, the SetProperty method of this interface does not need to be override in the old version, but to Java6, since the JAVA6 JDK itself has a SOAP packet, the The SoapMessage interface of the package forces its implementation class to override itself, otherwise it throws the above exception.
Found a solution from the Internet:
In addition to Getopt.jar, Jboss-system.jar, Jboss-jmx.jar all other jars are copied into the ${jboss_home}/lib/endorsed, while copies of the ${jboss_home}/lib/${ The Jboss-saaj.jar in the jboss_home}/client/directory, Jboss-jaxrpc.jar to the ${jboss_home}/lib/endorsed directory, so that the server will use the old version of JBoss, validated.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.