Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Starting Axis2 1.4 - axis2.xml vs service.xml  RSS feed

Rahul Juneja
Ranch Hand
Posts: 425
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.

Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!