Dec 19th, 2011, 04:16 PM
How to create Spring managed WS bean WITHOUT SpringWS in Websphere 7?
I have a mandate to create a webservice for Websphere 7 that does not use SpringWS. Rather, they are relying on the libraries that ship with WAS to manage the webservice.
I am using a @javax.jws.WebService annotation to define the bean as a webservice. However, I am not sure if/how to configure it in web.xml or my applicationContext.xml such that I can use it as a spring managed bean and leverage Spring's dependency injections.
I checked out SimpleJaxWsServiceExporter class, but it seems to require a baseAddress to configure the WS, which in my case, would be handled at the WAS configuration level and not from within Spring.
Am I misunderstanding how to properly accomplish this? Can anyone point me in the right direction please?
Tags for this Thread