Hello there,
        I have done similar stuff in my application..
Let me say, axis comes already with its webapplication if you download
the code..
So, your app and axis will be TWO separate webapplication.
You don't need to do anything in your web.xml, other than declaring YOUR
servlet.
So, assume this scenario..(as a sample, may no tbe the best one..)
You want to implement a webservice that is in charge of interacting with
a
Database.

1)From axis point of view, you need to, ok, generate stubs/wsdl etc and
deploy the service.
Your webservice will be deployed in server-config.wsdd in
<YourApplicationServer>\webapps\<axiswebapp>\WEB-INF   directory.

2)Now, you decide that you want to write an application that uses your
webservice. In theory, this application should reside on another
application server..
So, in your webapplication, what you need to do is:
- write a 'layer' that hides the fact that you are calling a webservice
- get axis jars & jars related to your webservice in your WEB-INF\lib
directory
- run your application .

that's all you need to do ...

hope this helps


regards
        marco



-----Original Message-----
From: Glanville, Jay [mailto:[EMAIL PROTECTED] 
Sent: 18 November 2004 17:38
To: [EMAIL PROTECTED]
Subject: how to incorporate axis into my web application

Hello all.

I'm trying to incorporate a web service (axis's implementation of SOAP)
into an existing web application.  The web application is relatively
well architected using MVC, so an API of functionality, plus a data
structure of beans already exists.

My question is a confirmation: is this all I need to do in order to
integrate axis into my web application?
1.) add all the necessary axis jars to the WEB-INF/lib directory
2.) add the necessary servlet mapping to map HTTP requests to axis to my
web.xml
3.) create a server-config.wsdd file containing a <service> entry
defining my service classes and bean mappings

Is this all that's necessary?


Thanks

JDG



--
Jay Glanville

Reply via email to