RE: Service initialization

2002-11-08 Thread Vidyanand Murunikkara
-Original Message- From: Steve Loughran [mailto:steve_l@;iseran.com] Sent: Friday, November 08, 2002 4:17 PM To: [EMAIL PROTECTED] Subject: Re: Service initialization >yes, that would be the easiest bit of the hack; till now I'd thought the big >need was for session cleanup which needs

Re: Service initialization

2002-11-08 Thread Steve Loughran
- Original Message - From: "Vidyanand Murunikkara" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 08, 2002 3:46 PM Subject: RE: Service initialization >I am a little ignorant on the Xdoclets side . So never knew anythign >about the webdoclet part. embrace and celeb

How to trap HTTP refresh in a requestcontroller servlet

2002-11-08 Thread Reynardine
Apologies this is not an axis question but if anyone knows I'd be grateful. I have a requestcontroller servlet and several 'view' jsp's. I want to trap the reload event in order to re-initialise the whole app when the user hits refresh/reload/F5. My servlet has init(), destroy()) methods but

RE: Service initialization

2002-11-08 Thread Vidyanand Murunikkara
I am a little ignorant on the Xdoclets side . So never knew anythign about the webdoclet part. and now i understand why JAX-RPC lifecycle is not implemented. I know this is a hack and somethign that you all would have thought of .. but do you think we could just implement the lifeservicecyle for

Adding/Setting a SOAPAction

2002-11-08 Thread David Orriss Jr
I'm trying the following code to set a SOAPAction: MessageFactory msgFactory = MessageFactory.newInstance(); // Create a message SOAPMessage msg = msgFactory.createMessage(); msg.getSOAPPart().addMimeHeader("SOAPAction","/ftr/xml/submit"); However, the resulting message that gets

Re: java.lang.NoClassDefFoundError is plaguing me

2002-11-08 Thread Reynardine
While its not a permanent or architecurally satisfactory solution ... have you tried copying jdom.jar to the Tomcat/common/lib directory ? I fixed a similar problem this way. -Rey - Original Message - From: [EMAIL PROTECTED] Date: Fri, 8 Nov 2002 11:49:17 -0700 To: [EMAIL PROTECTED] Sub

Re: Service initialization

2002-11-08 Thread Steve Loughran
- Original Message - From: "Vidyanand Murunikkara" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 08, 2002 1:05 PM Subject: RE: Service initialization >Hi Steve >Yes I did notice what you said and I wasnt disagreeing with you. I was >suggesting using JAX-RPC lifecy

RE: Getting class name from deployed services

2002-11-08 Thread Vidyanand Murunikkara
Hi Jimmy I am not sure this works .. but seems logical to me first get an handle to AxisEngine ( i dont know what context you are talking abt) SOAPService service = axisEngine.getService( serviceName ) String className = "" + service.getOption( "className" ); and as to whether there is objec

RE: Service initialization

2002-11-08 Thread Vidyanand Murunikkara
Hi Steve Yes I did notice what you said and I wasnt disagreeing with you. I was suggesting using JAX-RPC lifecycle because this would mean just maintaining the source code and not worry about all the servlet specific stuff - this to mewould mean maintaing a different web.xml and stuff which someti

RE: Local EJB + Axis Web Service

2002-11-08 Thread Vinu Murugesan
Hello all, I did what Cédric told me and it finally works! So I guess even if you only have a local EJB, you still need to set the "remoteInterfaceName" parameter in the WSDD file. Anyway, thanks for your help Cédric. Vinu. --- Cédric_Chabanois <[EMAIL PROTECTED]> wrote: > EJBProvider does prob

Re: Service initialization

2002-11-08 Thread Steve Loughran
Notice how I said servlet lifecycle events, not the JAX-RPC lifecycle - Original Message - From: "Vidyanand Murunikkara" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 08, 2002 11:31 AM Subject: RE: Service initialization Hi scott I am not sure I understand you

RE: Service initialization

2002-11-08 Thread Vidyanand Murunikkara
Hi scott I am not sure I understand your concerns correctly. But from waht i gather I think the ideal way to do this is to make your service implement javax.xml.rpc.server.ServiceLifeCycle and then implement the init( Object) method to get your connections initialized. But I am not sure this featu

java.lang.NoClassDefFoundError is plaguing me

2002-11-08 Thread greyson . smith
I have been struggling w/ this for a few days, and have been to the archives and back, and haven't found a solution. Perhaps someone here has run into this problem and can point out to me where I went wrong. I am using tomcat 4.1.12 as my server, and i have placed axis 1.0 under the webapps folde

checking operation name in my requstor handler before sending it Service Provider

2002-11-08 Thread Bahman Kalali
Hi,   I have a requestor handler that I want to use it for checking if an operation name that is provided by the service requestor is valid. So, what I really want to do is to re-set operation name in my handler if the operation name is not valid.   I can get the operation name of incoming re

Re: Service initialization

2002-11-08 Thread Steve Loughran
- Original Message - From: "Scott Melby" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 08, 2002 4:21 AM Subject: Service initialization I would like (if possible) to have my > service startup when tomcat/axis is started. However, I have not been able > to find any

AW: How to pass a parametre to a webservice on startup

2002-11-08 Thread Akacem Mohammed
hallo tom again, Ok I can access a parameter from a wssd file, but the probleme is that I would have to deploy my service every time I change the value of my parameter. I want a way to read a parameter in my case it's a debug option, so I want to be able to set on or set off debuging without ha

Re: axis and xml-security

2002-11-08 Thread Jason Essington
Hi Stefan My plan is to add email transport to axis/jboss.net (I have a simple test that is capable of receiving, processing and responding to an email). I already am performing soap via https. For my use this seems secure enough. Using digest authentication would perhaps add some mild data i

How I can send a XML file using AXIS

2002-11-08 Thread Amit Khurana
Hi Can anybody tell me how I can send an xml file using AXIS. In my last message by mistake I had written word SOAP instead of AXIS. TIA Amitk

AW: How to pass a parametre to a webservice on startup

2002-11-08 Thread Akacem Mohammed
hello mattia, now it's clear to me thanks Mohammed -Ursprüngliche Nachricht- Von: Mattia dongili [mailto:m.dongili@;hisn.it] Gesendet: Freitag, 8. November 2002 15:04 An: [EMAIL PROTECTED] Betreff: RE: How to pass a parametre to a webservice on startup hi, > I didn't understand when y

RE: How to pass a parametre to a webservice on startup

2002-11-08 Thread Mattia dongili
hi, > I didn't understand when you said that this approach will > lock me into using Axis as your SOAP layer. what does this means? that this is an Axis specific way of passing/retrieving parameters to webservices and if you move to any other SOAP framework you'll have to rewrite that piece of co

AW: How to pass a parametre to a webservice on startup

2002-11-08 Thread Akacem Mohammed
Hello Tom, thanks first of all for your help. now myservice is invoked from a soapclient , do you think I would have a problem when I want that a servlet my service invokes? would I still be able to access any parameter in a wsdd? I didn't understand when you said that this approach will lock

Service initialization

2002-11-08 Thread Scott Melby
Hello - I am implementing a web service that needs to access a database to retrieve information. I would like to connect to the database once at startup, then handle incoming requests using existing connections for better performance. I have accomplished this by deploying with application sc

Getting class name from deployed services

2002-11-08 Thread jimmy coyne
Hi all , I would like to be able to get the full class name from a deployed service using the name of that service .Is this possible? Is there an object that represents the server-config.wsdd file ? Cheers Jim

Initialising parameter constructor

2002-11-08 Thread I.V.Rajesh
Hi, I have a doubt on specifying the parameter argument to initialize my service constructor. Service serv = new Service(new QName("","serviceName")); Here my service has a parameter constructor . To invoke that how to i specify the arugument in this code. Please your help is greatly appreciate

RE: Local EJB + Axis Web Service

2002-11-08 Thread Cédric Chabanois
EJBProvider does probably not work with local ejbs. However, getEJBMetaData() is called only if it does not find "remoteInterfaceName" in the wsdd. Try to set remoteInterfaceName (!) to your local interface name in wsdd. Please tell us if it worked. I think that local EJB support is very impor

SV: axis and xml-security

2002-11-08 Thread Stefan Carlsson
Hi Jason ! I have also been thinking about this issue... I'd be glad if someone could comment on this contribution... I would say it depends on who you should serve with your service. It also depends on what kind of information you are going to send. If you are going to do a b2b solution and nee