Solved

spring web services

Posted on 2011-03-09
7
22 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Problem to start Neon 20 120
servlet doXXX methods 3 62
servlet requestdispatcher include and forward differences 1 39
jdbc error in jsp application 20 64
Preface This article introduces an authentication and authorization system for a website.  It is understood by the author and the project contributors that there is no such thing as a "one size fits all" system.  That being said, there is a certa…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
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:

820 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