[
https://jira.jboss.org/jira/browse/EJBTHREE-1934?page=com.atlassian.jira....
]
jaikiran pai commented on EJBTHREE-1934:
----------------------------------------
JBossWS with JDK 1.6 variant of AS requires that the javax.xml.soap.* classes are loaded
from JBoss specific jars available in JBOSS_HOME/lib/endorsed instead of the jars shipped
in the JDK. Else they run into the above shown exceptions. See this for more details
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=158265.
The testsuite build script will have to set the -Djava.endorsed.dirs to point to
${jboss.dist}/lib/endorsed while running the tests.
Fix the Webservice testsuite failures on trunk against AS Branch 5_x
---------------------------------------------------------------------
Key: EJBTHREE-1934
URL:
https://jira.jboss.org/jira/browse/EJBTHREE-1934
Project: EJB 3.0
Issue Type: Task
Components: testsuite
Reporter: jaikiran pai
Assignee: jaikiran pai
Mike runs are showing failures in webservice testcases with JDK 1.6 and AS 5_x branch:
javax.xml.ws.WebServiceException: java.lang.UnsupportedOperationException: setProperty
must be overridden by all subclasses of SOAPMessage
at org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:392)
at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:302)
at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:170)
at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
at $Proxy16.echo(Unknown Source)
at
org.jboss.ejb3.test.webservices.unit.WebServiceTestCase.testHandlerContext(WebServiceTestCase.java:117)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.extensions.TestSetup.run(TestSetup.java:27)
Caused by: java.lang.UnsupportedOperationException: setProperty must be overridden by all
subclasses of SOAPMessage
at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:445)
at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:87)
at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:169)
at org.jboss.ws.core.CommonSOAP11Binding.createMessage(CommonSOAP11Binding.java:57)
at org.jboss.ws.core.CommonSOAPBinding.bindRequestMessage(CommonSOAPBinding.java:158)
at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:291)
at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:290)
Fix this issue.
--
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