*
The moose likes Web Services and the fly likes JaxWs Support in Spring? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "JaxWs Support in Spring?" Watch "JaxWs Support in Spring?" New topic
Author

JaxWs Support in Spring?

Tom Fielding
Greenhorn

Joined: Aug 07, 2006
Posts: 2
Hi,

I've made a small webapp in Tomcat with Spring and Hibernate. Now I wanted to test JaxWs, so I tried to expose some of my service methods as webservices. Everything went fine until my client program tries to execute my service methods. It uses an instance of the service that is not the one used by spring. Because of this my DAO's aren't injected in the service instance, so I get a NullPointerException.
Around a month ago I had the same problem with Axis(JaxRpc), but I solved this by creating a proxy that extended ServletEndPointSupport(a Spring support class for JaxRpc). Then I could reference the instances of my services that were managed by Spring.

Is their some kind of support for JaxWs in Spring? Or does someone know a workaround?

Thanks in advance!
Kind regards,
Tom
Tom Fielding
Greenhorn

Joined: Aug 07, 2006
Posts: 2
Hi!

I did some search on the web and especially on the forums of JAXWS and spring and it seems that there isn't support for JAXWS yet. So I'll just have to wait.

Unless somebody else knows a solution??

Greetings,
Tom
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JaxWs Support in Spring?
 
Similar Threads
Why spring is populer and best framework today ?
JAX-WS + JAXP Tutorial For You
SCDJWS (CX - 310-230)
web service xml output
java-wsdl-mapping file doubt