That approach will lock you into using Axis as your SOAP layer.
:)

Eric H. Jung


-----Original Message-----
From: Bobby Carp [mailto:bobby.carp@;blackpearl.com]
Sent: Wednesday, November 06, 2002 6:19 PM
To: '[EMAIL PROTECTED]'
Subject: RE: <context-param>


Tom,

I use the parameter element in the WSDD deployment for the service such as:

<parameter name="myparam" value="somevalue"/>


In my service code, I use the following:

MessageContext msgCxt = MessageContext.getCurrentContext();
SOAPService soapSvc = msgCxt.getService();
soapSvc.getOption("myparam");


 -----Original Message-----
From: Tom Schuring [mailto:Tom.Schuring@;BaycorpAdvantage.com]
Sent: Wednesday, November 06, 2002 3:07 PM
To: [EMAIL PROTECTED]
Subject: <context-param>


hello,

to access the :

    <context-param>
        <param-name>configFileLocation</param-name>
        <param-value>C:\myapp\config\config.xml</param-value>
    </context-param>

section in the web.xml file in a servlet i use:

application.getInitParameter("configFileLocation")

to get the parameter value "C:\myapp\config\config.xml"

is there a similar way to access the <context-param/> section from within a
axis service ?

best regards,
tom

Reply via email to