File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Spring in Action this week in the Spring 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
Author

Starting Axis2 1.4 - axis2.xml vs service.xml

Rahul Juneja
Ranch Hand

Joined: Aug 03, 2002
Posts: 425
Folks,

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.

Thanks,
Rahul


Rahul Juneja
ThoughtClicks - http://techlabs.thoughtclicks.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Starting Axis2 1.4 - axis2.xml vs service.xml