?
Solved

spring web services

Posted on 2011-03-09
7
Medium Priority
?
35 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
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logiā€¦
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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:
The viewer will learn how to count occurrences of each item in an array.
Suggested Courses

752 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