axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ferruh Zamangoer" <>
Subject AW: Axis WS constructor problem
Date Mon, 04 Jul 2005 12:15:09 GMT
Hello Phillipe,


I think you must set in your wsdd file the following options.


<parameter name = "scope" 

      value = "application">


Then you have one instance of you service an every request is processes by
this instance.  I think you have now the value request this means on every
new request an instance of your web service is created.


Hope it helps.






Von: GIBERT Philippe RD-BIZZ-SOP [] 
Gesendet: Montag, 4. Juli 2005 14:06
Betreff: RE: Axis WS constructor problem



Having deployed a Web Service on a  Axis 1.2 ( Jonas 4.2)

it seems that my Web Service  is instantiated at each call. ( the
constructor is called at each WSC call)

but i just want the constructor to be called once , is it possible ?

could this property be changed ( in the wsdd file ?)




I  have an already developped/deployed web service in a WASP 5.0 engine that
works well, called by a WSC also developped
with WASP 5.0. The WS consummer make 3  calls , and beetwen the calls i keep
some kind of session values on  the WS provider side.
That value is used on the server side, to  identify the WSC calling
I had to  deploy  that Web Service on Axis.I have done  the translation and
deploy on Axis 1.2 /Jonas.

but each time  my WSC ( developped with axis) calls the WSP,  i have a call
to the WSC constructor , loosing my  sessionID

i have not this behaviour with WASP, having just the WSP constructor called
one time ...

may I deploy with special settings in Axis ?

any clue ?




Philippe Gibert  +33 492945370
France Telecom R&D - BIZZ/DIAM
905, rue Albert Einstein
06921 Sophia Antipolios Cedex

View raw message