Glanville, Jay wrote:
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?

Up to a point. Just remember that you're not dealing with objects any more. If you're model classes rely on inter object relationships significantly (which is a perfectly valid approach) you'll be bitten by the object / message difference. If you understand this then great, but I've seen quite a few people attempt to use Axis and friends as if it were an object based system such as RMI and get burned as a result.


Good luck!

Tom

Reply via email to