Hi, Fabrício!

You could possibly start the threads in the init method of the servlet.

Best regards,
Guenter
 

> -----Original Message-----
> From: Fabrício [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, August 16, 2005 1:38 PM
> To: [email protected]
> Cc: [EMAIL PROTECTED]
> Subject: RES: Deploying web service with more then one class
> 
> Guy,
> 
> Do you know if there is any SOAP Framework engine that this feature is
> possible? I need to start some threads when invoking my web 
> service. And
> thread definition is in another java class. As a common Java 
> class I can do
> this, but I don't know how to translate this to web service 
> architecture.
> I'm thinking in give up this idea. :'-(
> 
> Thanks a lot,
> 
> Fabrício.
> 
> -----Mensagem original-----
> De: Guy Rixon [mailto:[EMAIL PROTECTED] 
> Enviada em: terça-feira, 16 de agosto de 2005 05:31
> Para: [email protected]
> Assunto: Re: Deploying web service with more then one class
> 
> Hi,
> 
> this is the default situation. Axis makes the methods of 
> exactly one class,
> which you choose, visible as web-service operations. Anything 
> that class
> calls
> is not exposed as part of the web-service. In WSDD, the 
> className parameter
> of
> the service element nominates the class exposed as the web service.
> 
> The difficult part would be to get Axis to expose the union of several
> selected classes as one web service. This would be very useful when
> aggregating port-types, as one has to to follow the WS-I 
> recommendations.
> AFAIK, Axis 1 cannot do this.
> 
> Cheers,
> Guy
> 
> On Mon, 15 Aug 2005, [iso-8859-1] Fabrício wrote:
> 
> > Hi folks,
> >
> >
> >
> > Let me explain... I have a java class (my_class.class) that 
> uses methods
> > from other classes (another_class_1.class, another_class2.class,..)
> created
> > by me. I want to let only the my_class.class available as a 
> web service.
> How
> > can I do this? Using the simple deploy (.jws) in axis will 
> work? And if I
> > have to use the deployment by WSDD file how is the 
> configuration in that
> > file?
> >
> >
> >
> > Please, does anyone could help me??????
> >
> >
> >
> > Thanks very, very, very much.
> >
> >
> >
> > Fabricio.
> >
> >
> >
> >
> >
> >
> >
> >
> 
> Guy Rixon                                     [EMAIL PROTECTED]
> Institute of Astronomy                        Tel: +44-1223-337542
> Madingley Road, Cambridge, UK, CB3 0HA                Fax: 
> +44-1223-337523
> 
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.338 / Virus Database: 267.10.8/71 - Release 
> Date: 12/8/2005
> 
> 
> 

Reply via email to