[axis2] Shutdown mechanism?

2005-12-07 Thread Antony Grinyer
Hi, Is there a shutdown mechanism as part of axis2 that can be used to close resources if, for example, the servlet container such as Tomcat, containing oru axis2 webapp is shutdown unexpectedly? We'd like to use something like the ServletContextListener to listen if a shutdown occurs so we ca

RE: Axis2 API OMElement limitation?

2005-11-08 Thread Antony Grinyer
Found the OMNavigator object that seems to do the trick! > -Original Message- > From: Antony Grinyer [mailto:[EMAIL PROTECTED] > Sent: 08 November 2005 08:44 pm > To: axis-user@ws.apache.org > Subject: Axis2 API OMElement limitation? > > Hi, > > Apologies

Axis2 API OMElement limitation?

2005-11-08 Thread Antony Grinyer
Hi, Apologies if this is a basic question, but I can't seem to find a method on the OMElement to find a child element deep in an XML document? The OMElement object methods "getChildrenWithName()" and "getFirstChildWithName()" seems to only go one leaf deep. Say in the following instance I want to

Newbie - getting the session?

2005-10-17 Thread Antony Grinyer
Apologies is this is simple question, however how to you get the session object in axis2? I have a simple class which exposes all my services, I am able to get the axis configuration with: private AxisConfiguration m_ac = null; public void init(MessageContext mc) { m_ac = mc.getSystemContext().

Newbie: Recreating Zip file in MTOM service class?

2005-10-12 Thread Antony Grinyer
Hi, Being an axis2 newbie, I've managed to create an MTOM client and service, passing a Zip file to the service, however I'm unsure what to do at the service end to recreate the zip? The example on the axis2 website just shows what to do with an image. Here's snippets of my code: CLIENT: << snip

Newbie - file upload with axis2?

2005-10-11 Thread Antony Grinyer
Hi all, This is my first mail to the list as I am new to axis2 development. I am using axis2 and resin 2.1.0, and I have developed a basic web service which allows me to retrieve information from the database using basic http parameters as arguments to web service calls e.g. http://localhost:8080