Meaningless Drivel is fun!
The moose likes Web Services and the fly likes Axis and JBOSS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis and JBOSS" Watch "Axis and JBOSS" New topic

Axis and JBOSS

Sagar Bilgi
Ranch Hand

Joined: Apr 26, 2001
Posts: 37
Hi All,
I have an application deployed on JBOSS 3.2.5. I wish to make certain classes inside that particular application available as webservices.
I want to use axis for doing this. So I did the following:

a) I copied the axis jars to my WEB-INF/lib directory
b) I modified my web.xml to include the Axis servlet definitions.

I am able to get to the Axis page via my applicaton
i.e http://localhost:8080/myapplication/service
takes me to the axis services page.

So far so good.
Can anyone outline what I need to do to now expose the methods in my classes as web services and how?

I am just looking for high level pointers.


P.S: I do not want to use JBOSS.NET or JBOSSWS.
Rr Kumaran
Ranch Hand

Joined: Sep 17, 2001
Posts: 548
register your web services using a new <service> element in server-config.wsdd $JBOSS-AXIS-WAR-HOME\WEB-INF folder and restart your jboss ... u r PMD (pretty much done) ...

RR Kumaran
SCJP 1.4
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312

Deploy web service

Java Developer, Thailand
I agree. Here's the link:
subject: Axis and JBOSS
It's not a secret anymore!