Hi all, I am using weblogic workshop 8.1 for developing a web service. I want to provide some run time environment specific parameters to the web service to avoid the hard coding. How can i pass them to web service? or shd i read it from a properties file?
Originally posted by Rashmi Tambe: Hi all, I want to provide some run time environment specific parameters to the web service to avoid the hard coding. How can i pass them to web service? or shd i read it from a properties file?
The question is bit confusing for me. Do you want to pass parameters to your webservices method ? or for the webservice implementations on the server ?? I'm sure you know that any webservices method can take input parameters, if you want to pass it dynamically then its depends on what you want to pass and how!..
Joined: Aug 07, 2001
ok, let me explain... I have a web service (jws file) that talks a EJB. the ejb is deployed on certain host. I do not want to hard-code this lookup url in the jws file. I want to keep it in some descriptor as a env entry. At run-time i shd be able to look up thi env entry from jws file and use the url for looking up the home interface.
Now my problem is : using weblogic workshop, the webservice (jws file) gets wrapped into a war. I tried providing env entries in the web.xml of the war. that did not helped. So what i wnat to know where do i specify this env entry so that the jws files can look up? [ July 16, 2004: Message edited by: Rashmi Tambe ]