Hello Tom, thanks first of all for your help.
now myservice is invoked from a soapclient , do you think I would have a problem when I want that a servlet my service invokes? would I still be able to access any parameter in a wsdd? I didn't understand when you said that this approach will lock me into using Axis as your SOAP layer. what does this means? 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
