thank you for the artical, but I don't think it solves my problem.

let me explain more about my setup to hava a better picture of my problem:

my web application is managed by an in-house container. the container has what 
we call Commands. each Command is nothing but a POJO. those POJO Commands are 
managed by the container. the container provide services to the Commands such 
as security, connection pooling, and so on. 

 what I want to do is two things:

 1) I want a way for the container to automatically publish web services 
interface for its Commands.

 2) I want AXIS to redirect all web services requrest to the container and the 
container will give the reply back to AXIS to send it back to the user.

I thought about writing a provider call that will communcate with the 
container. i don't know if this is the correct approch. 

I really don't know from where to start to implement this. do I have to write a 
provider class? or is there an easier way? is there an API to dynamically load 
web services in AXIS?

thanks in advance,
Adel

[EMAIL PROTECTED] wrote: Following article[1] might help you to achieve 
integration part.

[1] http://wso2.org/library/90

/sumedha


> hi everyone,
>
> I am very interested in Axis. However, I have no idea
> how to integrate it in my current project. Any help in
> this area will be appreciated.
>
> My current project is a web application that has one
> single Servlet. This servlet contain a hash of POJO
> (Plain Old Java Objects) called Commands or Services.
> My code look similar to this:
>
>  HashMap Commands = new HashMap();
>
> Static {
> Commands.put("addUser", Factory.get (("addUser"))
> Commands.put("deleteUser", Factory.get (("deleteUser"))
> Commands.put("UpdateUser",Factory.get(("UpdateUser"))
> }
>
>
> In my service method of my servlet I will do the following:
>
>  String CommandName = request.getParamter("Command");
>
>  Commands.get(CommandName).do(request);
>
>
>  Now my question is how do I integrate Axis with my
> application, I want to expose those Commands as Web
> services.
>
>  Another issue is that some of those Commands require
> that the user login. so how does the user login using
> web services?
>
> Thank you in advance
>
>
>
> ---------------------------------
> Sucker-punch spam with award-winning protection.
>  Try the free Yahoo! Mail Beta.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



 
---------------------------------
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.

Reply via email to