• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

Starting Axis2 1.4 - axis2.xml vs service.xml

 
Ranch Hand
Posts: 425
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic