Anne,

I'm trying to modify a deployment descriptor through a web application that
includes Axis.

I.e.:

 - Create new webapp,
 - Add Axis integration, alter web.xml, etc.,
 - Create a JSP that allows a user to modify the parameters of a deployed
service.

I am not thinking of developing a management tool (given there's a perfectly
good one out there already). I'm wondering how to alter the deployment
descriptor through API calls?


John

On Tue, Jun 28, 2005 at 04:00:13AM -0700, Anne Thomas Manes wrote:
> John,
> 
> Please clarify. Do you want a client application to modify a service's
> deployment descriptor? (A client endpoint should never be able to
> modify an existing service.)
> 
> Or do you want a client application to be able to dynamically discover
> new services and make use of them?
> 
> Perhaps you are thinking of developing a management tool? Perhaps
> something like WSABI? (see
> http://www.allesta.com/products/wsabi4axis.html)
> 
> Anne
> 
> On 6/27/05, John Baker <[EMAIL PROTECTED]> wrote:
> > Well, I can conclude that I have disclosed everything I nkow, and I have
> > some idea what I'm doing :-)
> > 
> > I guess in broader terms, I'd like to know how to modify deployment
> > descriptors on the fly! Imagine I were creating a Java GUI FrontEnd, and Mr.
> > user wants to add a new Service or Port? Or modify an existing one? That's
> > what I'm trying to achieve.
> > 
> > Perhaps put more simply, that makes the problem easier to comprehend.
> > 
> > On Sun, Jun 26, 2005 at 08:35:08AM -0400, Jeff wrote:
> > > Hi John,
> > >
> > > At least one of us seems to be confused here  :-)
> > >
> > > The Service you are referring to is client-side code. If all you want to 
> > > do
> > > is set an endpoint for you client to connect to then you can do it
> > > straightforwardly using code I mentioned earlier.
> > >
> > > I get the impression that (i) you are trying to do something that you 
> > > don't
> > > really wish to fully disclose so it's not clear what your problem is or 
> > > (ii)
> > > you have no idea what you're doing or (iii) you are doing something that
> > > exceeds my comprehension and you would perhaps fair better with help from
> > > someone with more expertise!
> > >
> > >
> > > Best wishes,
> > >
> > > Jeff
> > >
> > >
> > >
> > >
> > > ----- Original Message -----
> > > From: "John Baker" <[EMAIL PROTECTED]>
> > > To: <[email protected]>
> > > Sent: Sunday, June 26, 2005 4:39 AM
> > > Subject: Re: Dynamic Endpoints
> > >
> > >
> > > > Jeff,
> > > >
> > > > Perhaps this is a question for the dev list, as it really does revolve
> > > > around Axis internals, and not Axis usage?
> > > >
> > > >
> > > > John
> > > >
> > > > On Sat, Jun 25, 2005 at 01:38:50PM -0400, Jeff wrote:
> > > > > Thanks, BarZ, I'm sure we'll bear that in mind  :-)
> > > > >
> > > > >
> > > > > Jeff
> > > > >
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "Barzilai Spinak" <[EMAIL PROTECTED]>
> > > > > To: <[email protected]>
> > > > > Sent: Sunday, June 26, 2005 1:14 AM
> > > > > Subject: Re: Dynamic Endpoints
> > > > >
> > > > >
> > > > > > I haven't following this thread but it seems you guys are talking
> > > about
> > > > > > a million different subjects here.
> > > > > > Now, the question below is very easy! There's something called the
> > > > > > deployment descriptor or something
> > > > > > like that where you define all the services you are going to 
> > > > > > provide.
> > > > > > What their names are, what is the
> > > > > > class that implements it, whether Axis should instantiate an object
> > > per
> > > > > > call or use a single instance and use it for all calls
> > > > > > (which should be a thread-safe object), and you can specify a whole
> > > lot
> > > > > > of parameters. Look it up in the docs, it's one
> > > > > > of the first things you learn about. It's written in XML of course 
> > > > > > :-)
> > > > > > I don't usually like to say RTFM but this one "is on the cover of 
> > > > > > the
> > > > > book".
> > > > > >
> > > > > > BarZ
> > > > > >
> > > > > > John Baker wrote:
> > > > > >
> > > > > > >Well perhaps we should think about this at a different angle.
> > > > > > >
> > > > > > >The client makes a call to an Axis server. How does the Axis server
> > > > > figure
> > > > > > >out which class to instantiate? When it receives a call to the
> > > service
> > > > > > >"MyService", how does it look up that service (the Service object)?
> > > > > > >
> > > > > > >That's what I'm asking, and I'm convinced someone on this list 
> > > > > > >should
> > > > > know
> > > > > > >:-)
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >   Internet Banda Ancha Todo el Dia por $u 490 por mes
> > > > > >     Sin gastos adicionales - Sin ocupar su telefono
> > > > > > Y los primeros 4 meses 50% de descuento!
> > > > > >  ______________________________________________________
> > > > > >  http://www.internet.com.uy - En Uruguay somos internet
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >   Internet Banda Ancha Todo el Dia por $u 490 por mes
> > > > > >     Sin gastos adicionales - Sin ocupar su telefono
> > > > > > Y los primeros 4 meses 50% de descuento!
> > > > > >  ______________________________________________________
> > > > > >  http://www.internet.com.uy - En Uruguay somos internet
> > > > > >
> > > > > >
> >

Reply via email to