hallo tom again,

Ok I can access a parameter from a wssd file, but the probleme is that I would have to 
deploy my service every time I change the value of my parameter. I want a way to read 
a parameter in my case it's a debug option, so I want to be able to set on or set off 
debuging without having to deploy my service again.

is ther a way to do this?

thanks

Mohammed


-----Urspr�ngliche Nachricht-----
Von: Akacem Mohammed [mailto:Mohammed.Akacem@;arbeitsamt.de]
Gesendet: Freitag, 8. November 2002 15:04
An: '[EMAIL PROTECTED]'
Betreff: AW: How to pass a parametre to a webservice on startup


hello mattia,

now it's clear to me
thanks

Mohammed

-----Urspr�ngliche Nachricht-----
Von: Mattia dongili [mailto:m.dongili@;hisn.it]
Gesendet: Freitag, 8. November 2002 15:04
An: [EMAIL PROTECTED]
Betreff: RE: How to pass a parametre to a webservice on startup


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