Solved

spring web services

Posted on 2011-03-09
7
29 Views
Last Modified: 2016-09-22
Hi,
I am developing a SOAP web service using Spring 3.0, Spring-WS, SpringSource toolsuite
 running tc server v6.   When I run the application on the server, I get the following
exception in SpringSource toolsuite.

"type Exception report message description
 The server encountered an internal error () that prevented it from fulfilling this request.
 exception javax.servlet.ServletException: Wrapper cannot find
 servlet class org.springframework.ws.transport.http.MessageDispatcherServlet
 or a class it depends on
 com.springsource.insight.collection.tcserver.requ est.
HttpRequestOperationCollectionValve.invoke(HttpRequestOperationCollectionValve.java:60)
      org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)      
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)    
 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)      
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)  
  org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:379)    
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)    
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)    
 java.lang.Thread.run(Thread.java:619)"

The org.springframework.ws.transport.http.MessageDispatcherServlet  class is contained within
the spring-ws-core-2.0.0.RELEASE.jar which is on my classpath.
 I have verified that the .JAR is contained within the WAR file but still getting the above exception.
any help is appreciated.
Thanks, George
0
Comment
Question by:gcdbrown2011
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 20

Expert Comment

by:Sathish David Kumar N
ID: 35083979
0
 

Accepted Solution

by:
gcdbrown2011 earned 0 total points
ID: 35146516
The following configuration worked:

Maven2 dependicies-  

        <dependency>
            <groupId>org.springframework.ws</groupId>
            <artifactId>spring-ws-core</artifactId>
            <version>2.0.0.RELEASE</version>
        </dependency>
 
        <dependency>
            <groupId>org.springframework.ws</groupId>
            <artifactId>spring-ws-security</artifactId>
            <version>2.0.0.RELEASE</version>
         </dependency>

I also had to :
1. download xws-security 3.0, as this was not in Maven2 (its actually in Maven1).
2. include saaj-api-1.3 & saaj-impl-1.3 on my classpath.

Note the correct version of wss4j is wss4j-1.5.8.

Regards,
George
0
 
LVL 20

Expert Comment

by:Sathish David Kumar N
ID: 35147126
In the above link mention that u need include saaj-api-1.3 & saaj-impl-1.3 on my classpath.

 and security jar deatils .


>>in adsense of relevent expert reply I worked on this until I came to above solution myself.

Dear gcdbrown2011: All are give idea only no one going to work for you !!
0
Monthly Recap

May was a big month for new releases from Linux Academy! Take a look at what our team built recently in our blog. You can access the newest releases from our blog.

 
LVL 20

Expert Comment

by:Sathish David Kumar N
ID: 35147140
Thats why in pointing they are giving (grading a- fully help and b-particalue help)
0
 
LVL 20

Expert Comment

by:Sathish David Kumar N
ID: 35147561
I Have some link he accept that link info is helped him but he didnt accept my solution
0
 

Author Comment

by:gcdbrown2011
ID: 35148046
The link does not work for Spring 3.0, which the question related to. The link listed 8 jars:
    * jaxen
    * jdom
    * saaj-api
    * saaj-impl
    * spring
    * spring-ws-core
    * spring-ws-core-tiger
    * spring-xml

The solution required 29 jars. Of the 8 listed, in the link, only 4 were relevant. When I tried the solution in the link, and it did not work, I then went back to Maven rather than guessing which JARs to include.  
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface In the first article: A Better Website Login System (http://www.experts-exchange.com/A_2902.html) I introduced the EE Collaborative Login System and its intended purpose. In this article I will discuss some of the design consideratio…
I will show you how to create a ASP.NET Captcha control without using any HTTP HANDELRS or what so ever. you can easily plug it into your web pages. For Example a = 2 + 3 (where 2 and 3 are 2 random numbers) Session("Answer") = 5 then we…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question