This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Web Services and the fly likes Error with saaj Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Error with saaj" Watch "Error with saaj" New topic
Author

Error with saaj

saravana kumar
Ranch Hand

Joined: Jun 25, 2002
Posts: 72
Hi All,

I am getting the follwoing error when i generate a SOAP request using saaj.
Please help me how to solve this problem.

java.lang.NoSuchMethodError: java.util.Collections.emptyList()Ljava/util/List;
com.sun.xml.messaging.saaj.soap.MessageImpl.<clinit>(MessageImpl.java:736)
com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.createMessage(SOAPMessageFactory1_1Impl.java:28)
poc.service.AddressResponseController.handleRequest(AddressResponseController.java:57)
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:723)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:663)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:394)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:348)
javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)


is there any alternative way to create a SOAP request dynamically ?

Thanks
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35442
    
    9
The method you're missing got added to the JAva API in JDK 5.0. What version does the JVM have that you're running this on?


Android appsImageJ pluginsJava web charts
saravana kumar
Ranch Hand

Joined: Jun 25, 2002
Posts: 72
Hi

I have jdk 1.4
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Error with saaj
 
Similar Threads
runtime error with web services
error compiling view with spring mvc project
Error on View - MultiActionController + Spring:bine
MySQL
I have got this error when i try to run my spring web project.... what is this error?