Hi people!


I'm a beginner in Web Services/SOAP world.

I've been doing`some tests using Axis beta 2 and everything is going right
for me, but I still have a doubt.

I have an application that collects data from an audio board and sends this
data over a DatagramSocket (kind of VoIP :-). The class for this application
has two basic methods: "start(String destinationHost, int destinationPort)"
and "stop()". When start is called the audio stream is sent through the
socket and when stop is called, the stream is stopped.

I have published these two methods as web services sucessfully using
SimpleAxisServer and <parameter name="scope" value="Application"/> in wsdd
file (only one instance of the class should be created because of the
hardware resources, i.e. audio board).

However, I would like my application to start automatically sending the
audio stream to a preconfigured IP/port. How should I accomplish this
without have to make a client application to call the "start(String
destinationHost, int destinationPort)" method?

Is there any way to "force" the instatiantion of my servant class without
calling one of its methods?



Thanks in advance!

Mauricio Nagaoka
Compsis Computadores e Sistemas
S�o Jos� dos Campos - SP - Brazil
(Brazilian soccer rules! ;-)

Reply via email to