[jbossws-issues] [JBoss JIRA] Updated: (JBWS-2418) setProperty must be overridden by all subclasses of SOAPMessage

Christopher Logan (JIRA) jira-events at lists.jboss.org
Thu Dec 11 17:44:37 EST 2008


     [ https://jira.jboss.org/jira/browse/JBWS-2418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christopher Logan updated JBWS-2418:
------------------------------------

    Description: 
Hi,
Deploying from Netbeans 6.5 and I'm running Jboss on WinXPsp2 and here is what is echoed to the screen during JBoss server startup:
Java version: 1.6.0_11,Sun Microsystems Inc.
JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)
jbossws-3.0.1-native-2.0.4.GA (build=200803312044)
JBossWeb/2.0.1.GA

I have a webservice and a webservice client deployed on the same server. The webservice was deployed without errors but when trying to 
invoke that webservice from a client I get setProperty must be overridden by all subclasses of SOAPMessage (stack trace attached to end of this comment)

I read the previous posts about copying jboss-jaxrpc.jar, jboss-jaxws.jar & jboss-saaj.jar, I tried that but I got another error about javax/xml/ws/spi/ServiceDelegate21 not found. I removed the three files above to capture the following exception: 

2008-12-11 17:14:27,437 ERROR [STDERR] javax.xml.ws.WebServiceException: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage 
2008-12-11 17:14:27,437 ERROR [STDERR] at org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:404) 
2008-12-11 17:14:27,437 ERROR [STDERR] at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:314) 
2008-12-11 17:14:27,437 ERROR [STDERR] at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:172) 
2008-12-11 17:14:27,437 ERROR [STDERR] at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:152) 
2008-12-11 17:14:27,453 ERROR [STDERR] at $Proxy83.add(Unknown Source) 
2008-12-11 17:14:27,453 ERROR [STDERR] at com.bnymellon.ws.client.CalculatorServlet.processRequest(CalculatorServlet.java:45) 
2008-12-11 17:14:27,453 ERROR [STDERR] at com.bnymellon.ws.client.CalculatorServlet.doGet(CalculatorServlet.java:67) 
2008-12-11 17:14:27,453 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) 
2008-12-11 17:14:27,453 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) 
2008-12-11 17:14:27,453 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) 
2008-12-11 17:14:27,468 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 
2008-12-11 17:14:27,468 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) 
2008-12-11 17:14:27,468 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 
2008-12-11 17:14:27,468 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 
2008-12-11 17:14:27,468 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) 
2008-12-11 17:14:27,468 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) 
2008-12-11 17:14:27,468 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182) 
2008-12-11 17:14:27,468 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) 
2008-12-11 17:14:27,468 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 
2008-12-11 17:14:27,968 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) 
2008-12-11 17:14:27,968 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) 
2008-12-11 17:14:27,968 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) 
2008-12-11 17:14:27,968 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) 
2008-12-11 17:14:27,968 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) 
2008-12-11 17:14:27,968 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) 
2008-12-11 17:14:27,968 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) 
2008-12-11 17:14:27,968 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619) 
2008-12-11 17:14:27,968 ERROR [STDERR] Caused by: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage 
2008-12-11 17:14:27,968 ERROR [STDERR] at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:441) 
2008-12-11 17:14:27,968 ERROR [STDERR] at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:83) 
2008-12-11 17:14:27,968 ERROR [STDERR] at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:171) 
2008-12-11 17:14:27,968 ERROR [STDERR] at org.jboss.ws.core.CommonSOAP11Binding.createMessage(CommonSOAP11Binding.java:59) 
2008-12-11 17:14:28,468 ERROR [STDERR] at org.jboss.ws.core.CommonSOAPBinding.bindRequestMessage(CommonSOAPBinding.java:158) 
2008-12-11 17:14:28,468 ERROR [STDERR] at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:291) 
2008-12-11 17:14:28,468 ERROR [STDERR] at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:302) 
2008-12-11 17:14:28,468 ERROR [STDERR] ... 25 more 

Thank you, 
-Christopher 

  was:
Hi,

I'm running Jboss on WinXPsp2 and here is what is echoed to the screen during JBoss server startup: 
Java version: 1.6.0_11,Sun Microsystems Inc.
JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)
jbossws-3.0.1-native-2.0.4.GA (build=200803312044)
JBossWeb/2.0.1.GA

I have a webservice and a webservice client deployed on the same server. The webservice was deployed without errors but when trying to 
invoke that webservice from a client I get setProperty must be overridden by all subclasses of SOAPMessage (stack trace attached to end of this comment)

I read the previous posts about copying jboss-jaxrpc.jar, jboss-jaxws.jar & jboss-saaj.jar, I tried that but I got another error about javax/xml/ws/spi/ServiceDelegate21 not found. I removed the three files above to capture the following exception: 

2008-12-11 17:14:27,437 ERROR [STDERR] javax.xml.ws.WebServiceException: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage 
2008-12-11 17:14:27,437 ERROR [STDERR] at org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:404) 
2008-12-11 17:14:27,437 ERROR [STDERR] at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:314) 
2008-12-11 17:14:27,437 ERROR [STDERR] at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:172) 
2008-12-11 17:14:27,437 ERROR [STDERR] at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:152) 
2008-12-11 17:14:27,453 ERROR [STDERR] at $Proxy83.add(Unknown Source) 
2008-12-11 17:14:27,453 ERROR [STDERR] at com.bnymellon.ws.client.CalculatorServlet.processRequest(CalculatorServlet.java:45) 
2008-12-11 17:14:27,453 ERROR [STDERR] at com.bnymellon.ws.client.CalculatorServlet.doGet(CalculatorServlet.java:67) 
2008-12-11 17:14:27,453 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) 
2008-12-11 17:14:27,453 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) 
2008-12-11 17:14:27,453 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) 
2008-12-11 17:14:27,468 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 
2008-12-11 17:14:27,468 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) 
2008-12-11 17:14:27,468 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 
2008-12-11 17:14:27,468 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 
2008-12-11 17:14:27,468 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) 
2008-12-11 17:14:27,468 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) 
2008-12-11 17:14:27,468 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182) 
2008-12-11 17:14:27,468 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) 
2008-12-11 17:14:27,468 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 
2008-12-11 17:14:27,968 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) 
2008-12-11 17:14:27,968 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) 
2008-12-11 17:14:27,968 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) 
2008-12-11 17:14:27,968 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) 
2008-12-11 17:14:27,968 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) 
2008-12-11 17:14:27,968 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) 
2008-12-11 17:14:27,968 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) 
2008-12-11 17:14:27,968 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619) 
2008-12-11 17:14:27,968 ERROR [STDERR] Caused by: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage 
2008-12-11 17:14:27,968 ERROR [STDERR] at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:441) 
2008-12-11 17:14:27,968 ERROR [STDERR] at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:83) 
2008-12-11 17:14:27,968 ERROR [STDERR] at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:171) 
2008-12-11 17:14:27,968 ERROR [STDERR] at org.jboss.ws.core.CommonSOAP11Binding.createMessage(CommonSOAP11Binding.java:59) 
2008-12-11 17:14:28,468 ERROR [STDERR] at org.jboss.ws.core.CommonSOAPBinding.bindRequestMessage(CommonSOAPBinding.java:158) 
2008-12-11 17:14:28,468 ERROR [STDERR] at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:291) 
2008-12-11 17:14:28,468 ERROR [STDERR] at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:302) 
2008-12-11 17:14:28,468 ERROR [STDERR] ... 25 more 

Thank you, 
-Christopher 



> setProperty must be overridden by all subclasses of SOAPMessage
> ---------------------------------------------------------------
>
>                 Key: JBWS-2418
>                 URL: https://jira.jboss.org/jira/browse/JBWS-2418
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>         Environment: WinXPsp2
> Java version: 1.6.0_11,Sun Microsystems Inc. 
> JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417) 
> jbossws-3.0.1-native-2.0.4.GA (build=200803312044) 
> JBossWeb/2.0.1.GA 
>            Reporter: Christopher Logan
>
> Hi,
> Deploying from Netbeans 6.5 and I'm running Jboss on WinXPsp2 and here is what is echoed to the screen during JBoss server startup:
> Java version: 1.6.0_11,Sun Microsystems Inc.
> JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)
> jbossws-3.0.1-native-2.0.4.GA (build=200803312044)
> JBossWeb/2.0.1.GA
> I have a webservice and a webservice client deployed on the same server. The webservice was deployed without errors but when trying to 
> invoke that webservice from a client I get setProperty must be overridden by all subclasses of SOAPMessage (stack trace attached to end of this comment)
> I read the previous posts about copying jboss-jaxrpc.jar, jboss-jaxws.jar & jboss-saaj.jar, I tried that but I got another error about javax/xml/ws/spi/ServiceDelegate21 not found. I removed the three files above to capture the following exception: 
> 2008-12-11 17:14:27,437 ERROR [STDERR] javax.xml.ws.WebServiceException: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage 
> 2008-12-11 17:14:27,437 ERROR [STDERR] at org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:404) 
> 2008-12-11 17:14:27,437 ERROR [STDERR] at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:314) 
> 2008-12-11 17:14:27,437 ERROR [STDERR] at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:172) 
> 2008-12-11 17:14:27,437 ERROR [STDERR] at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:152) 
> 2008-12-11 17:14:27,453 ERROR [STDERR] at $Proxy83.add(Unknown Source) 
> 2008-12-11 17:14:27,453 ERROR [STDERR] at com.bnymellon.ws.client.CalculatorServlet.processRequest(CalculatorServlet.java:45) 
> 2008-12-11 17:14:27,453 ERROR [STDERR] at com.bnymellon.ws.client.CalculatorServlet.doGet(CalculatorServlet.java:67) 
> 2008-12-11 17:14:27,453 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) 
> 2008-12-11 17:14:27,453 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) 
> 2008-12-11 17:14:27,453 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) 
> 2008-12-11 17:14:27,468 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 
> 2008-12-11 17:14:27,468 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) 
> 2008-12-11 17:14:27,468 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 
> 2008-12-11 17:14:27,468 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 
> 2008-12-11 17:14:27,468 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) 
> 2008-12-11 17:14:27,468 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) 
> 2008-12-11 17:14:27,468 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182) 
> 2008-12-11 17:14:27,468 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) 
> 2008-12-11 17:14:27,468 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 
> 2008-12-11 17:14:27,968 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) 
> 2008-12-11 17:14:27,968 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) 
> 2008-12-11 17:14:27,968 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) 
> 2008-12-11 17:14:27,968 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) 
> 2008-12-11 17:14:27,968 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) 
> 2008-12-11 17:14:27,968 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) 
> 2008-12-11 17:14:27,968 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) 
> 2008-12-11 17:14:27,968 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619) 
> 2008-12-11 17:14:27,968 ERROR [STDERR] Caused by: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage 
> 2008-12-11 17:14:27,968 ERROR [STDERR] at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:441) 
> 2008-12-11 17:14:27,968 ERROR [STDERR] at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:83) 
> 2008-12-11 17:14:27,968 ERROR [STDERR] at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:171) 
> 2008-12-11 17:14:27,968 ERROR [STDERR] at org.jboss.ws.core.CommonSOAP11Binding.createMessage(CommonSOAP11Binding.java:59) 
> 2008-12-11 17:14:28,468 ERROR [STDERR] at org.jboss.ws.core.CommonSOAPBinding.bindRequestMessage(CommonSOAPBinding.java:158) 
> 2008-12-11 17:14:28,468 ERROR [STDERR] at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:291) 
> 2008-12-11 17:14:28,468 ERROR [STDERR] at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:302) 
> 2008-12-11 17:14:28,468 ERROR [STDERR] ... 25 more 
> Thank you, 
> -Christopher 

-- 
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

        



More information about the jbossws-issues mailing list