If you are using a nightly build of Apache SOAP, your service class can implement the ConfigurableService interface. This interface has a single method that is called after instantiation with parameters for the webapp, the servlet and the service (from the deployment descriptor).
If you are using Apache SOAP 2.3.1 or 2.2, you can use the method described in http://xml.apache.org/soap/docs/guide/migration.html. Specifically, you add a parameter of type SOAPContext as the first parameter in your method. You then use SOAPContext's "bag" to get the servlet associated with the call. From there, you can get servlet initialization information. On 21 Jan 2003 at 13:30, Jesus M. Salvo Jr. wrote: > > Since Aapche-SOAP itself is a servlet, initialised via web.xml within > soap.war .... and the SOAP services that developers write are "not" > really servlets in the since that it does not have access to > ServletConfig and it does not implement the Servlet interface .... what > is the best way to add initialisation parameters for SOAP services? > > -- > Jesus M. Salvo Jr. > Mobile Internet Group Pty Ltd > (formerly Softgame International Pty Ltd) > M: +61 409 126699 > T: +61 2 94604777 > F: +61 2 94603677 > > PGP Public key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC0BA5348 > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > Scott Nichol -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>