2 Replies Latest reply on Aug 11, 2005 11:11 AM by Matthew Sell

    Error: getSOAPBody must be overridden in subclasses of SOAPM

    Matthew Sell Newbie

      Using JBossWS_1_0EA, I'm receiving the following error when attempting to call a method exposed via the @WebService annotations:


      13:36:56,266 ERROR [AbstractServlet] Error processing web service request
      java.lang.UnsupportedOperationException: getSOAPBody must be overridden in subclasses of SOAPMessage
      at javax.xml.soap.SOAPMessage.getSOAPBody(SOAPMessage.java:311)
      at org.jboss.ws.server.ServiceEndpoint.getOperationMetaData(ServiceEndpoint.java:300)
      at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:209)
      at org.jboss.ws.server.ServiceEndpointServlet.doPost(ServiceEndpointServlet.java:78)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:147)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:53)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      at java.lang.Thread.run(Unknown Source)


      Would this indicate a malformed SOAP request from the client, or an actual bug within JBossWS?

      I'm short on SOAP clients to test methods exposed via JBossWS - I'm still working to try to isolate this as a JBossWS or client problem.

      Thanks for any insight somebody may be able to offer...