You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Miguel A Paraz <ma...@free.net.ph> on 2002/06/18 07:16:33 UTC
Re: Proper use of ServiceLifecycle
On Thu, Jun 13, 2002 at 01:04:55PM -0700, Vidyanand Murunikkara wrote:
> I am using axis beta 2 . I also ran into the same problem of init( ..)
> not being called at service initialization.
ServiceLifecycle works in the test.session.TestSimpleSession example.
I'm going to check what makes it work there - maybe something to do with
sessions.
--
Miguel A Paraz <http://mparaz.com> Mobile: +63-916-423-7922
Imperium Technology, Inc. <ma...@imperium.ph> Office: +63-2-812-3155
ServiceLifecycle is now working
Posted by Miguel A Paraz <ma...@free.net.ph>.
I finally got ServiceLifecycle to work, with the latest CVS version.
An observation: since the Skeleton class that is deployed, and not Impl,
it should be the one that "implements ServiceLifecycle." I put code like:
public class xxxSkeleton implements xxx, org.apache.axis.wsdl.Skeleton, ServiceLifecycle {
// ...
public void init(Object ctx) throws javax.xml.rpc.ServiceException {
((ServiceLifecycle)impl).init(ctx);
}
public void destroy() {
((ServiceLifecycle)impl).destroy();
}
to delegate it to the Impl class.
--
Miguel A Paraz
+63-916-423-7922
Problem in running the service
Posted by santhosh <sa...@cominsights.com>.
I am able to deploy the WSDD file but I am unable to invoke the service, it
is throwing NullPointerException.
FYI, my AxisServer is running at localhost:8080. Can anyone reply to me in
this regard.