aspose 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 Java 8 in Action this week in the Java 8 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
 
Don't get me started about those stupid light bulbs.
 
subject: Starting Axis2 1.4 - axis2.xml vs service.xml
 
Similar Threads
Axis2 WebService service.xml
WebServices with JBoss
[Axis2][Tomcat]Thread Pool
Can EJBActions be used for application client
Help Needed in java web services using axis2