Announcement Announcement Module
Collapse
No announcement yet.
Spring-WS 1.5.0 echo sample trouble Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring-WS 1.5.0 echo sample trouble

    Hi. I'm trying to test echo sample from 1.5.0 distribution.
    I did
    mvn jetty:run

    to run the sample, then I ask for wsdl in the browser
    http://localhost:8080/echo/echo.wsdl

    But I get this error instead of wsdl
    HTTP ERROR: 500

    javax/xml/soap/SOAPException

    RequestURI=/echo/echo.wsdl
    Caused by:

    java.lang.NoClassDefFoundError: javax/xml/soap/SOAPException
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Cla ss.java:2357)
    at java.lang.Class.getConstructor0(Class.java:2671)
    at java.lang.Class.getDeclaredConstructor(Class.java: 1953)
    at org.springframework.beans.BeanUtils.instantiateCla ss(BeanUtils.java:62)
    at org.springframework.ws.support.DefaultStrategiesHe lper.instantiateBean(DefaultStrategiesHelper.java: 133)
    at org.springframework.ws.support.DefaultStrategiesHe lper.getDefaultStrategies(DefaultStrategiesHelper. java:115)
    at org.springframework.ws.support.DefaultStrategiesHe lper.getDefaultStrategy(DefaultStrategiesHelper.ja va:200)
    at org.springframework.ws.transport.http.MessageDispa tcherServlet.initWebServiceMessageFactory(MessageD ispatcherServlet.java:269)
    at org.springframework.ws.transport.http.MessageDispa tcherServlet.initMessageReceiverHandlerAdapter(Mes sageDispatcherServlet.java:254)
    at org.springframework.ws.transport.http.MessageDispa tcherServlet.initFrameworkServlet(MessageDispatche rServlet.java:202)
    at org.springframework.web.servlet.FrameworkServlet.i nitServletBean(FrameworkServlet.java:263)
    at org.springframework.web.servlet.HttpServletBean.in it(HttpServletBean.java:126)
    at javax.servlet.GenericServlet.init(GenericServlet.j ava:241)
    at org.mortbay.jetty.servlet.ServletHolder.initServle t(ServletHolder.java:433)
    at org.mortbay.jetty.servlet.ServletHolder.getServlet (ServletHolder.java:342)
    at org.mortbay.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:463)
    at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:362)
    at org.mortbay.jetty.security.SecurityHandler.handle( SecurityHandler.java:216)
    at org.mortbay.jetty.servlet.SessionHandler.handle(Se ssionHandler.java:181)
    at org.mortbay.jetty.handler.ContextHandler.handle(Co ntextHandler.java:726)
    at org.mortbay.jetty.webapp.WebAppContext.handle(WebA ppContext.java:405)
    at org.mortbay.jetty.handler.ContextHandlerCollection .handle(ContextHandlerCollection.java:206)
    at org.mortbay.jetty.handler.HandlerCollection.handle (HandlerCollection.java:114)
    at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:152)
    at org.mortbay.jetty.Server.handle(Server.java:324)
    at org.mortbay.jetty.HttpConnection.handleRequest(Htt pConnection.java:505)
    at org.mortbay.jetty.HttpConnection$RequestHandler.he aderComplete(HttpConnection.java:828)
    at org.mortbay.jetty.HttpParser.parseNext(HttpParser. java:514)
    at org.mortbay.jetty.HttpParser.parseAvailable(HttpPa rser.java:211)
    at org.mortbay.jetty.HttpConnection.handle(HttpConnec tion.java:380)
    at org.mortbay.io.nio.SelectChannelEndPoint.run(Selec tChannelEndPoint.java:395)
    at org.mortbay.thread.BoundedThreadPool$PoolThread.ru n(BoundedThreadPool.java:450)
    This sample works great on Spring-WS 1.0.3 but not on 1.5.0
    I am missing something?

  • #2
    I also have this problem, tried java 1.5 and java 1.6 and both had the same problem.

    Comment


    • #3
      Hi,
      saaj.jar has the class SOAPException. I would try adding this jar to the class path.
      Cheers,
      Vijay

      Comment

      Working...
      X