How to pass initialisation parameters to a web service in Netbeans
- by Bob Roberts
I have built a web web service with Netbeans 6.8 using the "Web Service from WSDL" wizard. It has generated the binding classes and a skeleton for the class implementing the web service.
I've set some initialization parameters in web.xml, under the servlet corresponding to the web service.
Now I'd like to pass those parameters to the class implementing the web service.
How can this be achieved (preferably without editing any of the code auto-generated by Netbeans)?