• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

difference between webservices.xml and sunjaxws.xml

 
onisha jain
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am learning to create SOAP web service in a servlet container. But I see these two types of xml files used in the web projects.

So can any one throw some light on the difference between webservice.xml and sunjaxws.xml.

And when we have everthing defined in our WSDL then why do we need to define port n all again in these xml files.
 
Himai Minh
Ranch Hand
Posts: 1361
7
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
webservice.xml is used to override annotations in the web service. It is optional.
sunjaxws.xml is vendor (application server) specific if you want to configure something that is specific to Glassfish, JBoss and etc .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic