0 Replies Latest reply on Oct 29, 2004 2:17 PM by Jim Stoll

    why does axis always get a newinstance of a pojo

    Jim Stoll Newbie

      hey guys,

      I guess i am specifying something wrong becasue Axis keeps getting a newInstance of a pojo that i have defined as a service. Can someone tell me what i have to specify in my web-service.xml so that Axis only gets one instance of the pojo ,WindowsExecService, no matter how many requests it gets ?

      my currennt web-service.xml looks like this

      <!-- Example Web Service Descriptor -->
       <service name="WindowsExecService" provider="java:RPC">
       <parameter name="className" value="mil.jlwi.webservices.axis.services.WindowsExecService"/>
       <parameter name="allowedMethods" value="*"/>

      Thanks for your time ...

      Jim Stoll