This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Web Services and the fly likes Starting Axis2 1.4 - axis2.xml vs service.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Starting Axis2 1.4 - axis2.xml vs service.xml" Watch "Starting Axis2 1.4 - axis2.xml vs service.xml" New topic

Starting Axis2 1.4 - axis2.xml vs service.xml

Rahul Juneja
Ranch Hand

Joined: Aug 03, 2002
Posts: 425

While going through the axis2 api, i realised that you need axis2.xml for the configuration of the service. where as i was looking at some other links which mentions about service.xml. I am not sure what is the difference between both of them.

Wanted to clarify of what i understood is correct.
axis2.xml - Is only one in the axis2 environment, i mean one in single instance of tomcat(assuming i use tomcat as my application server.
service.xml - Is unique for each service so if i put 2 services i need to have two service.xml

Also if all of this is true then i have another question about why do we need service.xml if we already have all the same stuff in wsdl about the operations and the parameters.

Also, is there any quick way to write axis2 services if i am just interested in writing my business logic and i don;t want to code the while OMElement stuff. I mean is there some plugin which can do all this for me and i only write the business logic in the service impl class.

Any help and pointers are appreciated.


Rahul Juneja
ThoughtClicks -
It is sorta covered in the JavaRanch Style Guide.
subject: Starting Axis2 1.4 - axis2.xml vs service.xml