hi,

> I didn't understand when you said that this approach will
> lock me into using Axis as your SOAP layer. what does this means?

that this is an Axis specific way of passing/retrieving parameters to
webservices and if you move to any other SOAP framework you'll have to
rewrite that piece of code.

--
mattia

>
> Mohammed
>
> -----Urspr�ngliche Nachricht-----
> Von: Tom Schuring [mailto:Tom.Schuring@;BaycorpAdvantage.com]
> Gesendet: Donnerstag, 7. November 2002 22:32
> An: [EMAIL PROTECTED]
> Betreff: RE: How to pass a parametre to a webservice on startup
>
>
> Hello Mohammed,
>
> i asked the same question yesterday and got this useful help:
> ---------------------------------------
> 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");
> ---------------------------------------
> and then someone commented:
>
> That approach will lock you into using Axis as your SOAP layer.
>
> hope this is useful.
>
>
> -----Original Message-----
> From: Akacem Mohammed [mailto:Mohammed.Akacem@;arbeitsamt.de]
> Sent: Friday, November 08, 2002 2:10 AM
> To: '[EMAIL PROTECTED]'
> Subject: How to pass a parametre to a webservice on startup
>
>
> Hello,
>
> I want to pass a debug option to myservice on startup is
> there a way to bring such parameter in the configuration file
> of the webservice application
>
> thanks for any help
>
> Mohammed
>

Reply via email to