Marco, I think you've misunderstood the relationship between my web
service and my web application.  I believe your assumption is that my
web application is a CLIENT of my web service.  This is incorrect.

Basically, my existing web application has an API of all my
functionality, and I wish to publicize this API.  This is why I'm
investigating SOAP and XML-RPC.  I'm wanting to add a web service
interface to accomplish this.  Once I've created this web service, I
don't want to re-architect my web application to use this service
itself, as it already uses the same API, which is much quicker then
going through the web service.

Does this make sense?  I'm basically wanting to add a service to my
application, not make my application use a service.  I'm wanting to
allow other clients to use my service.

Thanks for trying though.

JDG



> -----Original Message-----
> From: Marco Mistroni [mailto:[EMAIL PROTECTED] 
> Sent: Friday, November 19, 2004 4:24 AM
> To: [EMAIL PROTECTED]
> Subject: RE: how to incorporate axis into my web application
> 
> 
> 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