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
This correspondence is for the named person's use only. It may contain confidential
or legally privileged information, or both.
No confidentiality or privilege is waived or lost by any mistransmission. If you
receive this correspondence in error, please immediately delete it from your system
and notify the sender.
You must not disclose, copy or rely on any part of this correspondence if you are not
the intended recipient.
Any views expressed in this message are those of the individual sender, except where
the sender expressly, and with authority, states them to be the views of Baycorp
Advantage.