You can inject the bean as a dependance into you WS, if it's declared as a bean in Spring also.
"A good method shouldn't bypass one screen long"<br />"genius is the knowledge left when one has forgotten everything"
Joined: Dec 28, 2006
I currently use Weblogic's JwscTask to compile the web service code. So a servlet instance is configured in the web.xml file by the jwsc task. Do you mean to add a parameter to the constructor of the web service and manually provide the bean into the servlet instance in the web.xml file?
By the way, could you recommend what is the popular way to create web service? From WSDL to java or from java to WSDL?
Joined: Oct 01, 2003
Yes, it could be that, if you have the bean initialized in the web.xml
For the creation of WS , as a java programmer I prefer to create from java to WSDL, particularly with axis.