Solved

spring web services

Posted on 2011-03-09
7
11 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
  • 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

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…
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

707 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now