[
https://jira.jboss.org/jira/browse/JBWS-1439?page=com.atlassian.jira.plug...
]
Christopher Logan commented on JBWS-1439:
-----------------------------------------
Hi,
I'm running Jboss on WinXPsp3 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
Jdk 1.6.0 Requests get the error "setProperty must be overridden
by all subclasses of SOAPMessage"
--------------------------------------------------------------------------------------------------
Key: JBWS-1439
URL:
https://jira.jboss.org/jira/browse/JBWS-1439
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: jbossws-native
Affects Versions: jbossws-1.0.4
Environment: Jboss 4.0.5.GA
Java 1.6.0
Reporter: Denis Angleton
Assignee: Heiko Braun
Fix For: jbossws-2.0.0
Requests get the error "setProperty must be overridden by all subclasses of
SOAPMessage"
In the abstract class javax.xml.soap.SOAPMessage which is now shipped with the jdk, the
implementation of setProperty is as follows:
public void setProperty(String property, Object value)
throws SOAPException {
throw new UnsupportedOperationException("setProperty must be overridden
by all subclasses of SOAPMessage");
}
in the constructor of org.jboss.ws.soap.SOAPMessageImpl it calls the super methods
setProperty(CHARACTER_SET_ENCODING, "UTF-8");
setProperty(WRITE_XML_DECLARATION, false);
This results in the exception being thrown.
--
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