How to pass initialisation parameters to a web service in Netbeans

Posted by Bob Roberts on Stack Overflow See other posts from Stack Overflow or by Bob Roberts
Published on 2010-06-17T16:00:35Z Indexed on 2010/06/17 16:03 UTC
Read the original article Hit count: 264

Filed under:
|
|

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)?

© Stack Overflow or respective owner

Related posts about java

Related posts about web-services